forked from AutomotiveAIChallenge/aichallenge-2024
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from booars/sync-upstream
chore: sync upstream
- Loading branch information
Showing
22 changed files
with
3,068 additions
and
2,297 deletions.
There are no files selected for viewing
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
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
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,6 +1,26 @@ | ||
#!/bin/bash | ||
|
||
mode=${1} | ||
|
||
case "${mode}" in | ||
"awsim") | ||
opts="simulation:=true use_sim_time:=true run_rviz:=true" | ||
;; | ||
"vehicle") | ||
opts="simulation:=false use_sim_time:=false run_rviz:=false" | ||
;; | ||
"rosbag") | ||
opts="simulation:=false use_sim_time:=true run_rviz:=true" | ||
;; | ||
*) | ||
echo "invalid argument (use 'awsim' or 'vehicle' or 'rosbag')" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# shellcheck disable=SC1091 | ||
source /aichallenge/workspace/install/setup.bash | ||
sudo ip link set multicast on lo | ||
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml | ||
|
||
# shellcheck disable=SC2086 | ||
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml ${opts} |
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
5 changes: 0 additions & 5 deletions
5
aichallenge/workspace/run_aichallenge_launch_replay_rosbag.sh
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.