Skip to content

Conversation

@ChrisTimperley
Copy link
Collaborator

No description provided.

@ChrisTimperley ChrisTimperley changed the title Fix dynamic properties Fixed bad construction of class attributes in meta-class (fixes #138) Oct 22, 2018
Idle: if the conditions above cannot be met, the robot will ignore the
command.
"""
uid = 'ardu:common:arm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better idea to add this property for all commands in the same PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely. I was expecting the CI to spot any commands with missing properties, but maybe it's missed some?

@afsafzal
Copy link
Member

@ChrisTimperley And this one 😉

@ChrisTimperley
Copy link
Collaborator Author

It looks like there might be a bug or two in this. You might want to take a look at the Travis build output.

@ChrisTimperley
Copy link
Collaborator Author

Oh, wait, I wrote this, haha. I think Travis/GH was down when I created this PR. I'll look into it.

@ChrisTimperley
Copy link
Collaborator Author

ChrisTimperley commented Oct 25, 2018

@afsafzal the problem seems to be that the commands that are dynamically created by the Ardu command factory don't provide a uid property. I notice that houston/ardu/command_factory.py:26 reads an id. Is this supposed to be the UID for the command, or is it something else?

@afsafzal
Copy link
Member

@ChrisTimperley No that's the id specified by MAVLink. We need to dynamically generate the uid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants