差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
ros:study:07 [2017/01/11 05:00] – 作成 tsukuchalle | ros:study:07 [2019/08/25 05:39] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 2: | 行 2: | ||
# 2015-07-08 AND \\ | # 2015-07-08 AND \\ | ||
- | # 2016-05-24 waypoint_publisherの更新 | + | # 2016-05-24 waypoint_publisherの更新 |
+ | # 2019-08-25 HND | ||
===== ウェイポイントの設定 ===== | ===== ウェイポイントの設定 ===== | ||
行 11: | 行 12: | ||
2014年度卒のNSDとHARが作成したプログラム。 | 2014年度卒のNSDとHARが作成したプログラム。 | ||
- | {{:study:ros:2015: | + | {{ :ros:study: |
~/ | ~/ | ||
+ | ---- | ||
+ | |||
+ | 2019.08.25 HND:姿勢差分が[-180deg, | ||
+ | |||
+ | {{ : | ||
$ cd ~/catkin_ws | $ cd ~/catkin_ws | ||
行 24: | 行 30: | ||
ターミナル2 | ターミナル2 | ||
$ rosparam set use_sim_time true | $ rosparam set use_sim_time true | ||
- | $ cd ~/ros_study2015/ | + | $ cd ~/ros_study |
$ rosrun map_server map_server map_name.yaml | $ rosrun map_server map_server map_name.yaml | ||
| | ||
行 31: | 行 37: | ||
| | ||
ターミナル4 | ターミナル4 | ||
- | $ mkdir ~/ros_study2015/ | + | $ mkdir ~/ros_study |
- | $ cd ~/ros_study2015/ | + | $ cd ~/ros_study |
$ rosrun auto_wp_setter auto_wp_setter | $ rosrun auto_wp_setter auto_wp_setter | ||
行 38: | 行 44: | ||
ターミナル5 | ターミナル5 | ||
- | $ cd ~/ros_study2015/ | + | $ cd ~/ros_study |
- | $ rosbag play --clock -r 0.3 log_name_timestamp.bag | + | $ rosbag play log_name_timestamp.bag |
再生が終わったらauto_wp_setterをCtrl + C で止める | 再生が終わったらauto_wp_setterをCtrl + C で止める | ||
- | すると、~/ | + | すると、~/ |
===== ウェイポイントへの追従 ===== | ===== ウェイポイントへの追従 ===== | ||
==== インストール方法 ==== | ==== インストール方法 ==== | ||
- | + | {{ :ros:study: | |
- | {{:study:ros:2015: | + | |
~/ | ~/ | ||
行 79: | 行 84: | ||
| | ||
ターミナル6 | ターミナル6 | ||
- | $ cd ~/ros_study2015/ | + | $ cd ~/ros_study |
$ rosrun map_server map_server map_name.yaml | $ rosrun map_server map_server map_name.yaml | ||
| | ||
ターミナル7 | ターミナル7 | ||
- | $ rosrun amcl amcl または、 $ roslaunch | + | $ rosrun amcl amcl または、 $ roslaunch |
| | ||
ターミナル8 | ターミナル8 | ||
- | $ roslaunch | + | $ roslaunch |
<color red> | <color red> | ||
ターミナル9 | ターミナル9 | ||
- | $ cd ~/ros_study2015/ | + | $ cd ~/ros_study |
$ rosrun waypoint_publisher waypoint_publisher wp.txt | $ rosrun waypoint_publisher waypoint_publisher wp.txt | ||
行 103: | 行 108: | ||
追記: "/ | 追記: "/ | ||
- | {{:study:ros:2015: | + | {{:ros:study:fig7-1.png|}} |
- | {{:study:ros:2015: | + | {{:ros:study:fig7-2.png|}} |