第四次学习记录(ROS)

学习目标:

ROS

学习内容:

熟悉ROS

学习时间:

周一晚上7:00-8:00 周二晚上8:00-9:00 周三晚上8:00-9:00 周四晚上8:00-9:00

学习产出:

Test roscore

$ roscore

在这里插入图片描述

Start turnlesim

Start a turnlesim node and control its movement through the keyboard.
PS:To stop the cursor at this terminal.

$ rosrun turtlesim turtlesim_node
$ rosrun turtlesim turtle_teleop_key

在这里插入图片描述

Start RViz

  • Rviz is a 3D visualization tool for ROS
  • Subscribes to topics and visualizes the message contents
  • DIfferent camera views.For example,orthographic,top-down.
  • Interactive tools to publish user information
  • Save and load setup as RViz configuration
  • Extensible with plugins
$ rviz

在这里插入图片描述

Start Gazebo

  • Simulate 3D rigid-body dynamics
  • Simulate a variety of sensors including noise
  • 3D visualization and uesr interaction
  • Includes a database of many robots and environments
  • Provides a ROS interface
  • Extensible with plugins
$ gazebo

在这里插入图片描述

Draw pentagon by turtlesim
Open at different terminals

$ roscore
$ rosrun turtlesim turtlesim_node
$ rosrun turtle_actionlib shape_server
$ rosrun turtle_actionlib shape_client

在这里插入图片描述

TF2

$ roslaunch turtle_tf2 turtle_tf2_demo.launch
$ rviz

PS:Rviz needs to be configured correctly
在这里插入图片描述

URDF

$ roslaunch urdf_tutorial display.launch 

在这里插入图片描述

Rviz visualization

$ roscore
$ rosrun visualization_marker_tutorials points_and_lines
$ rviz
$ roscore
$ rosrun interactive_marker_tutorials pong
$ rviz

在这里插入图片描述

结语

微星启动ROS2GO真麻烦。

  • 9
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 11
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值