【资料图】
博客地址:https://www.cnblogs.com/zylyehuo/
gazebo小车模型创建详见另一篇博客
博客地址:gazebo小车模型(附带仿真环境) - zylyehuo - 博客园参考链接
Autolabor-ROS机器人入门课程《ROS理论与实践》
ROS源码安装teleop_twist_keyboard
transmission_interface/SimpleTransmission hardware_interface/VelocityJointInterface hardware_interface/VelocityJointInterface 1 Debug true / 1 true true 100.0 true left_wheel2base_link right_wheel2base_link ${base_radius * 2} ${wheel_radius * 2} 1 30 1.8 cmd_vel odom odom base_footprint
roscore
source ./devel/setup.bashroslaunch mycar environment.launch
rosrun teleop_twist_keyboard teleop_twist_keyboard.py _speed:=0.3 _turn:=0.5
解决方法
参考地址:ROS源码安装teleop_twist_keyboard
解决方法
(1)检查 src/mycar/urdf/xacro/car.urdf.xacro 中路径是否正确
(2)检查 src/mycar/urdf/gazebo/move.xacro 中 joint_name 等结点名称是否与之前定义的一致
标签: