Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rangefinder issues #1979

Open
Ron-yadin5 opened this issue Aug 22, 2024 · 0 comments
Open

rangefinder issues #1979

Ron-yadin5 opened this issue Aug 22, 2024 · 0 comments

Comments

@Ron-yadin5
Copy link

how i run mavros

ros2 run mavros mavros_node --ros-args -p fcu_url:=/dev/ttyTHS0:115200 -p gcs_url:=udp://@127.0.0.1

Issue details

i get the error:

my fcu parameters are set to make the rangefinder my pos_z source (ek3_src_pos_z = 2)
before i start the mavros node i can see good reading of the rangefinder in mission planner

after i run the node i get: "[mavros.distance_sensor]: DS: no mapping for sensor id: 0, type: 4, orientation: 25"
the rangefinder value in mission planner also stops changing
"ros2 topic echo /mavros/rangefinder/rangefinder" shows the correct values
"ros2 topic echo /mavros/local_position/pose" shows incorrect and inconsistent z values

MAVROS version and platform

Mavros: 2.4.0
ROS: foxy
Ubuntu: 20.04

Autopilot type and version

ArduPilot 4.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant