-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Takagi, Isamu <[email protected]>
- Loading branch information
1 parent
7e595df
commit d0d2601
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
src/autoware_practice_course/src/velocity_planning/scripts/run_02_02.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#! /usr/bin/env bash | ||
# Autoware_practice 第2章の02-02を一括実行するためのスクリプト | ||
source install/setup.bash | ||
source install/setup.bash | ||
gnome-terminal -- ros2 launch autoware_practice_launch practice.launch.xml | ||
sleep 1s # ノード同時起動防止 | ||
gnome-terminal -- ros2 topic echo /localization/kinematic_state | ||
gnome-terminal -- ros2 run autoware_practice_course p_controller --ros-args -p kp:=5.0 -p target_velocity:=1.0 | ||
gnome-terminal -- ros2 bag record -o velocity.bag /localization/kinematic_state | ||
gnome-terminal -- ros2 run plotjuggler plotjuggler | ||
gnome-terminal -- ros2 run autoware_practice_course p_controller --ros-args -p kp:=5.0 -p target_velocity:=1.0 | ||
gnome-terminal -- ros2 bag record -o velocity.bag /localization/kinematic_state | ||
gnome-terminal -- ros2 run plotjuggler plotjuggler |
4 changes: 2 additions & 2 deletions
4
src/autoware_practice_course/src/velocity_planning/scripts/run_02_03.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#! /usr/bin/env bash | ||
# Autoware_practice 第2章の02-03(速度計画)を一括実行するためのスクリプト | ||
source install/setup.bash | ||
source install/setup.bash | ||
gnome-terminal -- ros2 launch autoware_practice_launch practice.launch.xml | ||
sleep 1s # ノード同時起動防止 | ||
gnome-terminal -- ros2 run plotjuggler plotjuggler | ||
sleep 60s # plotjugglerの設定するための待機時間 | ||
gnome-terminal -- ros2 run autoware_practice_course trajectory_loader --ros-args -p path_file:=src/autoware_practice_course/config/trajectory.csv | ||
sleep 1s # ノード同時起動防止 | ||
gnome-terminal -- ros2 run autoware_practice_course longitudinal_controller --ros-args -p kp:=5.0 | ||
gnome-terminal -- ros2 run autoware_practice_course longitudinal_controller --ros-args -p kp:=5.0 |
4 changes: 2 additions & 2 deletions
4
src/autoware_practice_course/src/velocity_planning/scripts/run_02_04.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#! /usr/bin/env bash | ||
# Autoware_practice 第2章の02-04(横制御)を一括実行するためのスクリプト | ||
source install/setup.bash | ||
source install/setup.bash | ||
gnome-terminal -- ros2 launch autoware_practice_launch practice.launch.xml | ||
sleep 1s # ノード同時起動防止 | ||
gnome-terminal -- ros2 run plotjuggler plotjuggler | ||
sleep 60s # plotjugglerの設定するための待機時間 | ||
gnome-terminal -- ros2 run autoware_practice_course trajectory_loader --ros-args -p path_file:=src/autoware_practice_course/config/trajectory_zigzag.csv | ||
sleep 1s # ノード同時起動防止 | ||
gnome-terminal -- ros2 run autoware_practice_course trajectory_follower --ros-args -p kp:=5.0 -p lookahead_distance:=5.0 | ||
gnome-terminal -- ros2 run autoware_practice_course trajectory_follower --ros-args -p kp:=5.0 -p lookahead_distance:=5.0 |