robin-shaun / XTDrone

UAV Simulation Platform based on PX4, ROS and Gazebo
MIT License
1.17k stars 211 forks source link

There is no message when echo local_position/pose #120

Open XXLiu-HNU opened 3 hours ago

XXLiu-HNU commented 3 hours ago

Test 1 :

terminal 1: roslaunch px4 mavros_posix_sitl.launch

First, I check the mavros/state

header:  
  seq: 27
  stamp: 
    secs: 27
    nsecs: 336000000
  frame_id: ''
connected: True
armed: False
guided: False
manual_input: True
mode: "ALTCTL"
system_status: 3

terminal 2: rostopic echo /mavros/local_position/pose

and the output is WARNING: no messages received and simulated time is active. Is /clock being published?

Test 2 :

I try use the multirotor_communication.py file, however i meet the same problem in this issues

20246688 commented 2 hours ago

期待有人能够解决一下根本原因。。。