-
Notifications
You must be signed in to change notification settings - Fork 8
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 #6 from yellak/ros-integration-docker-improvement
Improving the usage of Docker
- Loading branch information
Showing
5 changed files
with
130 additions
and
124 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
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,18 +1,13 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# setup poetry shell | ||
# echo "poetry shell" >> /root/.bashrc | ||
# echo "poetry shell" >> /root/.profile | ||
|
||
# setup ros2 environment | ||
echo "source \"/opt/ros/$ROS_DISTRO/setup.bash\"" >> /root/.bashrc | ||
echo "source \"/opt/ros/$ROS_DISTRO/setup.bash\"" >> /root/.profile | ||
|
||
source /root/.bashrc | ||
source /root/.profile | ||
|
||
# run rosbridge server | ||
ros2 launch rosbridge_server rosbridge_websocket_launch.xml | ||
ros2 launch rosbridge_server rosbridge_websocket_launch.xml & poetry run python run.py simulation.json | ||
|
||
exec "$@" |
Oops, something went wrong.