ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Try running rosrun teleop_twist_keyboard teleop_twist_keyboard.py
(To install : sudo apt-get install ros-$YOURDISTRO$-teleop-twist-keyboard)
It should work now. It will give additional yaw control. Or else, You can create a separate node which publishes /cmd_vel topic so that the quad can use to navigate. If you can't create a node, publish the velocity using "rostopic pub" utility
rostopic pub -1 /cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.3]' '[0.0, 0.0, 0.0]'
This will give linear vertical velocity. To check: Use rqt_plot. Make sure that your initiated node publishes the /cmd_Vel topic to Gazebo model.
2 | No.2 Revision |
Try running
running
rosrun teleop_twist_keyboard teleop_twist_keyboard.pyteleop_twist_keyboard.py
(To install : sudo apt-get install
ros-$YOURDISTRO$-teleop-twist-keyboard)ros-$YOURDISTRO$-teleop-twist-keyboard)
It should work now. It will give additional yaw control. Or else, You can create a separate node which publishes /cmd_vel /cmd_vel
topic so that the quad can use to navigate.
If you can't create a node, publish the velocity using "rostopic pub" "rostopic pub
" utility
rostopic pub -1 /cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.3]' '[0.0, 0.0, This will give linear vertical velocity.
To check: Use rqt_plot. rqt_plot
. Make sure that your initiated node publishes the /cmd_Vel /cmd_Vel
topic to Gazebo model.