mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 12:00:34 +08:00
Bebop rangefinder: update for new orientation convention
This commit is contained in:
committed by
ChristophTobler
parent
07e6738586
commit
de0c196b2b
+1
-1
@@ -159,7 +159,7 @@ int DfBebopRangeFinderWrapper::_publish(struct bebop_range &data)
|
||||
|
||||
distance_data.id = 0; // TODO set proper ID
|
||||
|
||||
distance_data.orientation = 25; // MAV_SENSOR_ROTATION_PITCH_270
|
||||
distance_data.orientation = distance_sensor_s::ROTATION_DOWNWARD_FACING;
|
||||
|
||||
distance_data.covariance = 1.0f; // TODO set correct value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user