Skip to content

Expose the vehicle heading #305

Closed
Closed

Description

@hamishwillee

This is last value in https://pixhawk.ethz.ch/mavlink/#GLOBAL_POSITION_INT

I think we can infer it from the Vehicle.velocity, but often people just want general direction.

Activity

  1. eliao commented on Sep 3, 2015

    @eliao

    We'd need to make sure no one would confuse it for direction the vehicle is facing. Can we make velocity a Vector3 object and then have a Vector3.direction function?

  2. hamishwillee commented on Sep 4, 2015

    @hamishwillee
    ContributorAuthor

    We'd need to make sure no one would confuse it for direction the vehicle is facing.

    Agreed. I think that is a documentation issue.

    Can we make velocity a Vector3 object and then have a Vector3.direction function?

    I don't know anything about Vector3 and the costs/benefits of changing it from a list. My thought is that this would be useful if we needed to perform vector operations - and I imagine we will?

    @mrpollo When you have time, would be good to have your feedback on this proposed change.

  3. tcr3dr commented on Nov 7, 2015

    @tcr3dr
    Contributor

    We currently expose the VFR_HUD property heading as vehicle.heading. Is this issue resolved?

  4. hamishwillee commented on Nov 7, 2015

    @hamishwillee
    ContributorAuthor

    @tcr3dr Since when? I never saw or documented this! Any other new ones you've added recently? I can see sys_status too, but I don't think anything else?

    Yes this can be closed, but can you add a new issue to document it, and any other new attributes you added recently?

  5. hamishwillee commented on Nov 9, 2015

    @hamishwillee
    ContributorAuthor

    @tcr3dr So the changelist above adds docs for system status and heading. If there are any other new attributes (other than isarmable) let me know :-)

    If not, IMO this can be set resolved.

  6. tcr3dr commented on Nov 9, 2015

    @tcr3dr
    Contributor

    @hamishwillee .heading snuck in during the Solo feature merge I think, heh. It is the only attribute I know of to get that treatment.

  7. hamishwillee commented on Nov 9, 2015

    @hamishwillee
    ContributorAuthor

    Great. We got an early request for this some time ago, so I'm sure our users will be very happy.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions