课后作业

1、运行海龟仿真器,并使用命令行工具新产生2只海龟
运行roscore和turtlesim节点后,调用spawn服务创建新海龟turtle2:rosservice call /spawn “x: 5.0 y: 3.0 theta: 0.0 name: ‘turtle2’” (x和y的值代表海龟的位置)

之后再调用spawn服务创建另一只新海龟turtle3:rosservice call /spawn “x: 6.0 y: 6.0 theta: 0.0 name: ‘turtle3’”

2、查看3只海龟的计算图结构
利用rqt_graph
3、使用命令行工具控制一只海龟做圆周运动,并显示位置曲线
控制turtle2圆周运动

显示位置曲线:rqt_plot

相关文章:
-
2021-04-11
-
2021-10-26
-
2022-12-23
-
2021-12-16
-
2022-12-23
-
2021-05-31
-
2021-04-19
猜你喜欢
-
2021-12-05
-
2021-10-18
-
2022-03-10
-
2021-04-11
-
2021-03-31
-
2021-11-25
相关资源
-
下载
2022-12-25
-
下载
2023-02-02
-
下载
2021-06-24