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

ROS Hector Quadrotor cmd_vel problem - Quadrotor not responding #85

Open
sakpancar opened this issue Feb 20, 2018 · 5 comments
Open

ROS Hector Quadrotor cmd_vel problem - Quadrotor not responding #85

sakpancar opened this issue Feb 20, 2018 · 5 comments

Comments

@sakpancar
Copy link

sakpancar commented Feb 20, 2018

packetlist

I have installed the packages src folder in the image above. And I compiled packages with "freem100@m100:/seyit_ws$ catkin_make" freem100@m100:/seyit_ws$ source devel/setup.bash

I am launching gazebo with "freem100@m100:~/seyit_ws$ roslaunch hector_quadrotor_demo indoor_slam_gazebo.launch"
ekran goruntusu - 2018-02-20 23-03-29

freem100@m100:~/seyit_ws$ rostopic pub /cmd_vel geometry_msgs/Twist "linear:
x: 0.0
y: 0.0
z: 0.5
angular:
x: 0.0
y: 0.0
z: 0.0"

I publish it with a cmd_vel above in a different terminal. But the quadrotor gives no response. Please, what can I do. Please help me...

@ppianpak
Copy link

I think you will need to enable the drone first by calling the service /enable_motors

@rohit-s-murthy
Copy link

When I use rosservice list I don't get this service listed. Do I need to do something different?

@ppianpak
Copy link

@rohit-s-murthy That's weird. I don't need to do anything. Have you spawned a drone into your world? Maybe there is a difference in version? I'm using Kinetic by the way.

@rohit-s-murthy
Copy link

@ppianpak Thanks for the reply. Ya I'm using Indigo so maybe that's why it isn't showing. Going through some of the other issues, I guess this service is only in Kinetic.

@RyanDirgantara
Copy link

RyanDirgantara commented May 15, 2018

Did you do the "source devel/setup.bash" on your new terminal?

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

4 participants