PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.48k stars 13.5k forks source link

It seems PX4 can't get the visual positioning information through mavros #20943

Open ADgai234 opened 1 year ago

ADgai234 commented 1 year ago

Ubuntu18.04 Melodic Hello,I am a sophomore.I am trying to use ORB SLAM2.This is the document I use https://www.yuque.com/xtdrone/manual_en/vslam Chinese version: https://www.yuque.com/xtdrone/manual_cn/vslam I have ran the commands below. cd PX4_Firmware roslaunch px4 indoor1.launch cd ~/catkin_ws/scripts/ sh xtdrone_run_stereo.sh There should be information like below to show that Vision is functioning well, but it didn't appear: INFO [ecl/EKF] 23860000: reset position to ev position INFO [ecl/EKF] 23860000: commencing external vision position fusion INFO [ecl/EKF] 23860000: commencing external vision yaw fusion I have ran the command rostopic echo /iris_0/mavros/state and it showed "connected:True" This is the information shown on my screen: indoor1.launch.txt

There is a warning in the file above: XML Attribute[version] in element[sdf] not defined in SDF, ignoring. However,I have checked the SDF.And I have defined the XML version. Here is the SDF iris_stereo_camera.sdf.txt

There are some other warnings too but I don't know how to solve them. I am new at this.Could you please help me?Thank you very much!

Ultramarine1939-syujie commented 1 year ago

I've met the same trouble,Could u tell me how to fix that?