nsf_cps_challenge icon indicating copy to clipboard operation
nsf_cps_challenge copied to clipboard

can´t fly

Open yiyongrobotics opened this issue 6 years ago • 7 comments

HI,

Thanks for your cool work, during trying the demo I found some issues below and the drone can´t fly. image bset, Yiyong

yiyongrobotics avatar Jul 12 '19 10:07 yiyongrobotics

Is the drone model visible in Gazebo?

harishanand95 avatar Jul 12 '19 20:07 harishanand95

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.

yiyongrobotics avatar Jul 15 '19 08:07 yiyongrobotics

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"

harishanand95 avatar Jul 15 '19 22:07 harishanand95

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"

thanks for your reply, I did like you said before, it is exactly issue. image

yiyongrobotics avatar Jul 17 '19 12:07 yiyongrobotics

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?

harishanand95 avatar Jul 17 '19 17:07 harishanand95

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 image

image

yiyongrobotics avatar Jul 18 '19 08:07 yiyongrobotics

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

darknight-007 avatar Aug 16 '19 03:08 darknight-007