Add heading() getter to OdometryLocalPosition class.
Use these interfaces in examples.
Note
OdometryAttitude::yaw() and OdometryLocalPosition::heading() return the same value (up to PX4 timing), but I think it still makes sense to add a OdometryLocalPosition::heading() method for cases where the local position is already subscribed to e.g. in our local goto example.
Changes
OdometryAttitude
class.heading()
getter toOdometryLocalPosition
class.Note
OdometryAttitude::yaw()
andOdometryLocalPosition::heading()
return the same value (up to PX4 timing), but I think it still makes sense to add aOdometryLocalPosition::heading()
method for cases where the local position is already subscribed to e.g. in our local goto example.JIRA: APX4-3816