Skip to content

Distinguish between origin and home #281

@jlecoeur

Description

@jlecoeur

The origin of the NED frame is now the same as home ie. home is always at location (0,0,0). The issue is that whenever we change the location of the home waypoint, we also move the origin of the NED frame, and any position given in NED frame may not be relevant anymore.

We should clearly separate origin from home.

  • the origin should be fixed. It can come from a config, and/or initialized at first GPS fix. However if it is initialized at first GPS fix, we should take care of all the locations already stored in NED frame.
  • the home location may be changed via mavlink commands. See Mavlink_waypoint_handler::set_home

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