机器人操作系统ROS笔记--Gazebo的使用
来源:互联网 发布:java模式 编辑:程序博客网 时间:2024/05/19 16:20
Gazebo的是ROS使用的一个重要的仿真工具,环境配置与“机器人操作系统ROS笔记–从仿真开始”相同,只是采用Gazebo而不是Arbotix(Rviz)做仿真;如果需要模拟物理现象和传感器反馈,需要使用Gazebo。
roslaunch mybot_gazebo mybot_world.launch
roslaunch mybot_description mybot_rviz.launch
分别打开Gazebo和Rviz,
仿真窗口出现小车
执行以下命令:
rostopic pub /cmd_vel geometry_msgs/Twist “linear:
x: 0.2
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.1”
可以观察到机器人在Gazebo和Rviz窗口中同时运动。
Simulating a robot’s controllers in Gazebo can be accomplished using ros_control and a simple Gazebo plugin adapter. An overview of the relationship between simulation, hardware, controllers and transmissions is shown below:
机器人在实际环境中运行至少需要以下模块:
- sensors to reveal the surrounding environment
- planning to figure out what to do
- actuators that make the robot move
仿真摄像头
在myrobot包的基础上增加两个模块:
- mybot_description/urdf/mybot.xacro - Add the camera model
- mybot_description/urdf/mybot.gazebo - Add the camera plugin
> roslaunch mybot_gazebo mybot_world.launch> rosrun image_view image_view image:=/mybot/camera1/image_raw> roslaunch mybot_description mybot_rviz.launch
仿真激光器
增加两个模块:
1. mybot_description/urdf/mybot.xacro - Add the laser model
2. mybot_description/urdf/mybot.gazebo - Add the laser plugin
3. mybot_description/meshes/hokuyo.dae (optional) - Fancy hokuyo laser model
在 Gazebo 和 rviz 中仿真实验。
- 机器人操作系统ROS笔记--Gazebo的使用
- ROS(indigo)机器人操作系统学习有趣丰富的Gazebo仿真示例evarobot
- 在ROS Kinetic中使用Gazebo 8进行机器人仿真
- 【ROS Gazebo专题】二、Gazebo的使用上
- 【ROS Gazebo专题】三、Gazebo的使用下
- ROS中gazebo工具学习(使用gazebo加载机器人模型)
- 机器人操作系统ROS笔记--从仿真开始
- ROS(indigo)swarm_robot 群机器人示例Gazebo
- ROS机器人操作系统介绍
- ROS 机器人操作系统
- 机器人操作系统ROS总结
- ROS 机器人操作系统
- 初识ROS机器人操作系统
- ROS机器人操作系统
- ros机器人操作系统简介
- ros机器人操作系统
- ROS机器人操作系统基础
- ros 机器人操作系统 安装
- 一个用户表中有一个积分字段,假如数据库中有100多万个用户,若要在每年第一天凌晨将积分清零,你将考虑什么,你将想什么办法解决?
- 昨晚陪我堂姐去第二次相亲
- SQL分类
- spring学习笔记(二)
- 检查网络是否连接
- 机器人操作系统ROS笔记--Gazebo的使用
- 稀疏矩阵的表示和运算
- 设计模式之——工厂模式
- 解决WiFi固件编译错误:STATION_INFO_ASSOC_REQ_IES
- kafka数据可靠性深度解读
- 比较PHP和JSP这两个Web开发
- UVA
- golang中实现每次产生的随机数都不同
- 170511 逆向-OD的其他功能