SITL: add accessor for rangefinder range

This commit is contained in:
Peter Barker 2019-11-07 16:10:48 +11:00 committed by Peter Barker
parent 9da0e480f2
commit 990273a778

View File

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