ros下如何单独操作kuka-youbot机械臂
2016-07-07 14:39
330 查看
如果之前没有装过youbot驱动,请先到 http://www.youbot-store.com/wiki/index.php/ROS_Wrapper 下载并安装youbot驱动。
1、首先,修改配置文件
sudo gedit /opt/ros/indigo/share/youbot_driver/config/youbot-manipulator.cfg
将
ManipulatorJoint1 = 5
ManipulatorJoint2 = 6
ManipulatorJoint3 = 7
ManipulatorJoint4 = 8
ManipulatorJoint5 = 9
改为
ManipulatorJoint1 = 1
ManipulatorJoint2 = 2
ManipulatorJoint3 = 3
ManipulatorJoint4 = 4
ManipulatorJoint5 = 5
2、关闭kuka-youbot 底座驱动
sudo gedit /opt/ros/indigo/share/youbot_driver_ros_interface/launch/youbot_driver.launch
找到
<param name="youBotHasBase" type="bool" value="true"/>
讲“true”改为“false”
3、打开youbot机械臂开关,并用网线与电脑连接,打开一个新的命令终端,输入
ifconfig
来查看端口名称,配置文件中默认端口名为eth0,打开配置文件查看
sudo gedit /opt/ros/indigo/share/youbot_driver/config/youbot-ethercat.cfg
如与当前端口不匹配,则修改。
4、打开新的命令终端,输入一下命令驱动机械臂。
roslaunch youbot_driver_ros_interface youbot_driver.launch
参考:
http://blog.csdn.net/yaked/article/details/45022047 用ROS控制KUKA youbot 的5自由度机械臂和夹子
1、首先,修改配置文件
sudo gedit /opt/ros/indigo/share/youbot_driver/config/youbot-manipulator.cfg
将
ManipulatorJoint1 = 5
ManipulatorJoint2 = 6
ManipulatorJoint3 = 7
ManipulatorJoint4 = 8
ManipulatorJoint5 = 9
改为
ManipulatorJoint1 = 1
ManipulatorJoint2 = 2
ManipulatorJoint3 = 3
ManipulatorJoint4 = 4
ManipulatorJoint5 = 5
2、关闭kuka-youbot 底座驱动
sudo gedit /opt/ros/indigo/share/youbot_driver_ros_interface/launch/youbot_driver.launch
找到
<param name="youBotHasBase" type="bool" value="true"/>
讲“true”改为“false”
3、打开youbot机械臂开关,并用网线与电脑连接,打开一个新的命令终端,输入
ifconfig
来查看端口名称,配置文件中默认端口名为eth0,打开配置文件查看
sudo gedit /opt/ros/indigo/share/youbot_driver/config/youbot-ethercat.cfg
如与当前端口不匹配,则修改。
4、打开新的命令终端,输入一下命令驱动机械臂。
roslaunch youbot_driver_ros_interface youbot_driver.launch
参考:
http://blog.csdn.net/yaked/article/details/45022047 用ROS控制KUKA youbot 的5自由度机械臂和夹子
相关文章推荐
- 收集的ROS防火墙脚本
- ROS限速脚本 动态限速 固定限速
- ROS超智能的脚本
- ROS 采用NAT方式提高双线转发效率的方法
- ROS最正确的限速--------小包优先+带宽均分+简单队列限制上传速度
- ROS用流量监控动态控制限速点(新方法)----预留带宽
- ROS與二層交換機3COM(4200)做24個多出口ADSL(固定IP)拔號
- ROS莫明掉线断流的解决方法
- 如何使用ROS 限制BT下载
- ros防火墙脚本(经典推荐)
- ROS加强精通过程--禁止 未授权用户上网
- ROS最正确的限速--------小包优先+带宽均分+简单队列限制上传速度
- Ros强开指定首页,类似电信的ADSL强开指定首页,即push功能
- ROS做PCQ集体限速图
- ROS软路由 IPSec配置
- ROS的***设置—PPTP借线操作
- 关于类似于电信弹出广告(push业务),使用ROS与简单web服务器实现
- 在routeros中只允许用户dhcp上网
- Ros固定IP共享上网设置
- ROS 封QQ脚本