-
-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up for VTOL transition additions #163
Conversation
@@ -106,6 +106,7 @@ int main(int /*argc*/, char ** /*argv*/) | |||
std::this_thread::sleep_for(std::chrono::seconds(10)); | |||
|
|||
// Change to VTOL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove - incorrect and not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx will do.
This adds checks if the transitions for a VTOL/hybrid are actually supprted by the vehicle.
56c733e
to
0dbc777
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BY INSPECTION (not testing)
- minor change to docs in example. I may have others when I actually get round to running this, but I think it looks really solid.
- What will happen on PX4 prior to version with ACK added? I assume that this will still timeout. Should there be a test for version?
- Comments on methods not quite correct - below for the transition to fixed wing:
Currently
"The associated action will only be executed for VTOL vehicles in multicopter mode. On other vehicles/modes the command will fail with a Result.".
Should be (AFAIK):
"The associated action will only be executed for VTOL vehicles (on other vehicle types the command will fail with a Result). The command will succeed if called when the vehicle is already in fixed-wing mode."
It will timeout but still work, so not really a problem in my opinion.
Thanks, fixed. |
I somewhat disagree, because you're getting a fail error even though the action will actually be executed (if the action was not being executed I'd feel differently). The caller has to "magically" know that this fail is OK. Your call though. Otherwise all good. |
DroneCore does not "officially" support any kind of release yet but is only tested against master. Therefore, we don't need to worry about earlier releases/versions at this point. |
Thanks! |
Add terminate for devsummit demo
This follows up on #150 (comment).