Browse Source

SITL: add accessor for rangefinder range

zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
990273a778
  1. 1
      libraries/SITL/SIM_Aircraft.h

1
libraries/SITL/SIM_Aircraft.h

@ -114,6 +114,7 @@ public: @@ -114,6 +114,7 @@ public:
const Location &get_location() const { return location; }
const Vector3f &get_position() const { return position; }
const float &get_range() const { return range; }
void get_attitude(Quaternion &attitude) const {
attitude.from_rotation_matrix(dcm);

Loading…
Cancel
Save