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

can´t fly #1

Open
yiyongrobotics opened this issue Jul 12, 2019 · 7 comments
Open

can´t fly #1

yiyongrobotics opened this issue Jul 12, 2019 · 7 comments

Comments

@yiyongrobotics
Copy link

yiyongrobotics commented Jul 12, 2019

HI,

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

@harishanand95
Copy link
Member

Is the drone model visible in Gazebo?

@yiyongrobotics
Copy link
Author

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.

@harishanand95
Copy link
Member

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"

@yiyongrobotics
Copy link
Author

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

@harishanand95
Copy link
Member

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?

@yiyongrobotics
Copy link
Author

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

@darknight-007
Copy link

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

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

3 participants