Skip to content

good ideas from buzz #2

Closed
Closed

Description

@geeksville

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'

Activity

  1. davidbuzz commented on Jun 18, 2014

    @davidbuzz
  2. djnugent commented on Nov 27, 2014

    @djnugent

    Were these changes ever implemented? I see this issue is still "open"

  3. geeksville commented on Nov 27, 2014

    @geeksville
    CollaboratorAuthor

    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 ;-)

  4. davidbuzz commented on Nov 27, 2014

    @davidbuzz

    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.

  5. djnugent commented on Nov 27, 2014

    @djnugent

    Thanks for the update! I agree with buzz. 3 and 4 would be valuable but are nothing more than a convenience.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions