You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 - the "check_home()" code that just confirms "home has been initialised", and
2 - the fact that in randy's code there is 4 different places where he has to "download the vehicle waypoints if we don't have them already" , presumably, "just to be sure"...?
3 - the send_nav_velocity() and condition_yaw() functions which would be convenient helper function/s in the drone.api directly. ... and probably the advance_current_cmd() function too... none of them are specific to the balloon thing in any way, and are clearly good-looking helper-apps to simplify the api or wrapper-up some common messages into something more human. :-)
4 - the move_to_balloon() , which should really be called move_to_position(), as that's what it does ( it contrains speed, and determines vector/s, and then calls send_nav_velocity() for the mavlink itself....
none of this is "balloon" code, it's really just convenience wrappers around the api....
Thoughts?
[5:49:46 PM] Kevin Hester: @buzz - I totally agree about 1, 3 & 4 (and will copy-paste this into a github so I don't forget)
[5:50:20 PM] Kevin Hester: 2 is probably just due to this being a 'rough'
One and two were - The helper functions/syntactic sugar in 3 were not. #4 was a change for the red balloon app itself. I'll go ahead and close. Thanks for noticing ;-)
Actually 4 is another helper function that is useful in most circumstances where the code writer want to send the copter to a given calculated coordinate. I believe 3 and 4 are still valuable additions to the api as they make it simpler.
Activity
davidbuzz commentedon Jun 18, 2014
this comment is in reference to this code here: https://github.com/rmackay9/ardupilot-balloon-finder/blob/master/scripts/find_balloon.py
djnugent commentedon Nov 27, 2014
Were these changes ever implemented? I see this issue is still "open"
geeksville commentedon Nov 27, 2014
One and two were - The helper functions/syntactic sugar in 3 were not. #4 was a change for the red balloon app itself. I'll go ahead and close. Thanks for noticing ;-)
davidbuzz commentedon Nov 27, 2014
Actually 4 is another helper function that is useful in most circumstances where the code writer want to send the copter to a given calculated coordinate. I believe 3 and 4 are still valuable additions to the api as they make it simpler.
djnugent commentedon Nov 27, 2014
Thanks for the update! I agree with buzz. 3 and 4 would be valuable but are nothing more than a convenience.