ROS(indigo)swarm_robot 群机器人示例Gazebo
【摘要】 ROS(indigo)swarm_robot 群机器人示例Gazebo
参考网址:https://github.com/yangliu28/swarm_robot_ros_sim
安装提示:catkin_make。
~/catkin_ws$ catkin_make可能需要下载一些文件,比如catkin_simple。
示例:
1. 两轮机器人分散仿真:
~$ rosl...
ROS(indigo)swarm_robot 群机器人示例Gazebo
参考网址:https://github.com/yangliu28/swarm_robot_ros_sim
安装提示:catkin_make。
~/catkin_ws$ catkin_make
示例:
1. 两轮机器人分散仿真:
~$ roslaunch swarm_robot_description two_wheel_robot.launch robot_quantity:=20 half_range:=0.5
~$ rosrun swarm_robot_simulation two_wheel_robot_dispersion _spring_length:=0.7 _sensing_range:=2.0

2. 两轮机器人聚集仿真:
rosrun swarm_robot_simulation two_wheel_robot_aggregation _sensing_range:=1.5
3. 一字队形
rosrun swarm_robot_simulation two_wheel_robot_line_formation _spring_length:=0.7 _sensing_range:=2.0
4. 增加或减少机器人
rosrun swarm_robot_description two_wheel_robot_batch_add _robot_quantity:=10 _half_range:=1.0

文章来源: zhangrelay.blog.csdn.net,作者:zhangrelay,版权归原作者所有,如需转载,请联系作者。
原文链接:zhangrelay.blog.csdn.net/article/details/51992726
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)