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

mavros/local_position/odom and pose giving random wrong values #19230

Open
bhaskar-glitch opened this issue Feb 20, 2022 · 5 comments
Open

mavros/local_position/odom and pose giving random wrong values #19230

bhaskar-glitch opened this issue Feb 20, 2022 · 5 comments

Comments

@bhaskar-glitch
Copy link

Hi, I'm facing a problem while using odometry for the position of the drone..I'm using realsense d435i, jetson xavier nx, and pixhawk 2.4.8 with px4 firmware....I'm using a bridge VIO to provide odometry data to px4..how the issue I'm facing right now is that bridge is sending data to /mavros/odometry/out and then odometry out is sending those data to mavros and further those data get into /mavros/local_position/odom and pose...but the position data (X,y,z) from the VINS(odometry)is correct till /mavros/odometry/out(topic) for after that when I'm doing rostopic echo of /mavros/local_positon/odom and pose it is giving some random wrong values...I don't know why because at /odometry/out topic values are very fine but after going to mavros node it gets wrong!! also, I changed all the parameters which is required for vision pose estimate like(EKF2_AID_MASK=24, EKF2_HGT_MODE=VISION and turned off the barometer)!!
Please help regarding the issue that why I'm getting that random wrong values.

ROSGRAPH

154811264-e37cf8a7-1058-420c-b21c-345eaa236134.png

@bresch
Copy link
Member

bresch commented Feb 21, 2022

Do you maybe have a log file from the flight controller (.ulg)?

@bhaskar-glitch
Copy link
Author

Do you maybe have a log file from the flight controller (.ulg)?

Actually we haven't taken any flight..How can i get log file??...I have just checked the data in the topics by ros...mavros/local_position/odom and pose are wrong and behaving abnormally...but the topic mavros/odometry/out have right values..I don't know why the values are becoming wrong after going to mavros node...

@farhangnaderi
Copy link
Contributor

@bhaskar-glitch you can upload your log files here:
https://review.px4.io/

This is also the link to acquire the logs:
https://docs.px4.io/master/en/getting_started/flight_reporting.html

@bhaskar-glitch
Copy link
Author

@bhaskar-glitch you can upload your log files here: https://review.px4.io/

This is also the link to acquire the logs: https://docs.px4.io/master/en/getting_started/flight_reporting.html

i have uploaded the log file on the link also
https://drive.google.com/file/d/14Jhdzz517YFApU6XJiRoiILGIwc3TOWz/view?usp=sharing
this is the log file link

@SMRazaRizvi96
Copy link

Hi, were you able to solve this? I'm having a similar problem where the /mavros/local_position/pose topic shows bad pose. It follows a trend but eventually goes to zero after a while.

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

4 participants