| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
- 인지신경과학
- turtlesim
- 뇌인지과학
- c++내용정리
- c++복습
- 인지신경과학입문
- 터틀심원
- 인지신경
- virtualbox
- 클론코딩
- 터틀봇
- ytmusic
- 유튜브뮤직
- cpp로시작하는객체지향
- 유튜브뮤직클론
- 객체지향c++
- 씨쁠쁠내용정리
- 우분투20.04
- ROS2
- 뇌과학
- 터틀심
- 터틀심별
- 뇌인지
- 우분투
- numpy
- ytmusicclone
- pandas
- c++로시작하는객체지향프로그래밍
- cpp로시작하는객체지향프로그래밍
- 실습문제
- Today
- Total
목록ROS2 (10)
one님의 블로그
■ linear.x= 2.0, angular.z= 2.0일 때 ⇒ 90도ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 2.0}}" ■ linear.x= 4.0, angular.z= 4.0일 때 ⇒ 약 230도ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 4.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 4.0}}" ■ linear.x= 5.0 , angular.z= 3.13 ⇒ 반원 ro..
■ linear.x= 2.0, angular.z= 6.28일 때ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 6.28}}" ■ linear.x= 4.0, angular.z= 6.28일 때 ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 4.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 6.28}}" ■ linear.x= 5.0, angular.z= 6.28 ros2 topic pub --onc..
1. 반원 관련? ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: 3.1415}"sleep 1ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 4.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}"sleep 1ros2 service call /clear std_srvs/srv/Emptysleep 1ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: 0.0}"s..
1. 8각형ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: 1.5708}"sleep 1ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 3.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}"sleep 1ros2 service call /clear std_srvs/srv/Emptysleep 1ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: -0.3915}"s..
1. 타원sleep 1ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: -1.57}"sleep 1ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}"sleep 1ros2 service call /clear std_srvs/srv/Emptysleep 1ros2 action send_goal /turtle1/rotate_absolute turtlesim/action/RotateAbsolute "{theta: 0.0}"..
■ runros2 run turtlesim turtlesim_noderos2 run turtlesim turtle_teleop_key ■ 토픽ros2 topic pub --once /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}" ros2 topic pub --rate 1 /turtle1/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}" ■ bag 기록 , 플레이 ⇒ bag은 topic만 기록 가능ros2 bag r..