nsf_cps_challenge
nsf_cps_challenge copied to clipboard
can´t fly
HI,
Thanks for your cool work, during trying the demo I found some issues below and the drone can´t fly.
bset,
Yiyong
Is the drone model visible in Gazebo?
Is the drone model visible in Gazebo?
yes, it is visible in gazebo, but it cant be set up . when l launch all commands, no any action.
Could you try the following commands and check if there are any erros/ drone is flying?
In terminal 1,
roslaunch nsf_cps_challenge openuav.launch
In terminal 2,
cd ~/catkin_ws/src/nsf_cps_challenge/scripts
python vs_without_yolo.py
Do the following command after drone is visible in gazebo. In terminal 3,
rosservice call /mavros/set_mode "base_mode: 0 custom_mode: 'OFFBOARD'"
rosservice call /mavros/cmd/arming "value: true"
Could you try the following commands and check if there are any erros/ drone is flying?
In terminal 1,
roslaunch nsf_cps_challenge openuav.launchIn terminal 2,
cd ~/catkin_ws/src/nsf_cps_challenge/scripts python vs_without_yolo.pyDo the following command after drone is visible in gazebo. In terminal 3,
rosservice call /mavros/set_mode "base_mode: 0 custom_mode: 'OFFBOARD'" rosservice call /mavros/cmd/arming "value: true"
thanks for your reply, I did like you said before, it is exactly issue.

These errors are fine. You should still be able to get it flying. Could you show me the errors from terminal 2 and terminal 3?
These errors are fine. You should still be able to get it flying. Could you show me the errors from terminal 2 and terminal 3?
thanks, terminal 2 and terminal 3


Are you trying to run this on the OpenUAV testbed or standard PX4 SITL? Sorry, I am just tuning into the conversation.