You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This enumerates to INFRARED according to Mavlink distance sensor specification and causes errors when using MAVROS to publish distance_sensor messages.
I think the enumerator should be 1 for ULTRASOUND enumeration. Setting sensor_type = 1 allows MAVROS to convert the distance_sensor message correctly.
The text was updated successfully, but these errors were encountered:
Line 103 of tools/ping1d_mavlink_driver.py:
sensor_type = 2
This enumerates to INFRARED according to Mavlink distance sensor specification and causes errors when using MAVROS to publish distance_sensor messages.
I think the enumerator should be 1 for ULTRASOUND enumeration. Setting
sensor_type = 1
allows MAVROS to convert the distance_sensor message correctly.The text was updated successfully, but these errors were encountered: