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 #2 from CaptnLarson/ardent
Ardent
- Loading branch information
Showing
22 changed files
with
84 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ python/*.pyc | |
python/__pycache__ | ||
.*.swp | ||
comm/CMakeLists.txt.* | ||
.vscode |
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,4 +1,4 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
cmake_minimum_required(VERSION 3.5.1) | ||
|
||
project(ros2eval_msgs) | ||
|
||
|
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,4 +1,4 @@ | ||
FROM ros:jade | ||
FROM ros:kinetic | ||
|
||
RUN cd /etc && rm localtime && ln -s /usr/share/zoneinfo/Poland localtime | ||
RUN apt-get update && apt-get install -y terminator vim build-essential perl python git wget tcpdump qt5-default qtcreator |
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,9 +1,10 @@ | ||
FROM ros2:base | ||
|
||
ADD comm $comm | ||
ADD docker/ros2_fastrtps/*.patch /ros2_ws/src/ | ||
#ADD docker/ros2_fastrtps/*.patch /ros2_ws/src/ | ||
RUN mkdir $comm/build | ||
RUN rm /ros2_ws/src/eProsima/AMENT_IGNORE | ||
RUN cd /ros2_ws/src/ && cat *.patch | patch -p0 && mv *.patch applied | ||
RUN cd /ros2_ws && ./src/ament/ament_tools/scripts/ament.py build --force-ament-cmake-configure $AMENT_ARGS | ||
#RUN cd /ros2_ws/src/ && cat *.patch | patch -p0 && mv *.patch applied | ||
#RUN cd /ros2_ws && ./src/ament/ament_tools/scripts/ament.py build --force-ament-cmake-configure $AMENT_ARGS | ||
RUN cd $comm/build && /bin/bash -c "source $ROS2_SETUP && cmake -DCOMM_ROS2_FASTRTPS=true .. && make" | ||
|
||
ENV RMW_IMPLEMENTATION=rmw_fastrtps_cpp |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && ./ros2runner rosconsole.ini >/logs/console.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && ./ros2runner rosconsole.ini >/logs/console.txt 2>&1" | ||
docker run -d -h console --pid=host --net ros2fastrtps --ip $net_ros2fastrtps_console --add-host robot:$net_ros2fastrtps_robot -v $PWD/logs:/logs ros2:fastrtps bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
docker run -d -h robot --pid=host --net ros2fastrtps --ip $net_ros2fastrtps_robot --add-host console:$net_ros2fastrtps_console -v $PWD/logs:/logs ros2:fastrtps bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && ./ros2runner rosrobot.ini >/logs/robot-${1}.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && ./ros2runner rosrobot.ini >/logs/robot-${1}.txt 2>&1" | ||
docker run -d -h robot --net ros2fastrtps --ip ${net_ros2fastrtps_prefix}.$1 --add-host console:$net_ros2fastrtps_console -v $PWD/logs:/logs ros2:fastrtps bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosconsole.ini >/logs/console.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosconsole.ini >/logs/console.txt 2>&1" | ||
docker run -d -h console --net ros2opensplice --ip $net_ros2opensplice_console --add-host robot:$net_ros2opensplice_robot -v $PWD/logs:/logs ros2:opensplice bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
docker run -d -h robot --net ros2opensplice --ip $net_ros2opensplice_robot --add-host console:$net_ros2opensplice_console -v $PWD/logs:/logs ros2:opensplice bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot.txt 2>&1" | ||
docker run -d -h robot --net ros1 --ip $net_ros1_ros2_robot --add-host console:$net_ros1_console -v $PWD/logs:/logs ros2:opensplice bash -c "$cmd" |
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,5 +1,5 @@ | ||
#/bin/bash | ||
|
||
. ./scripts/networks.sh | ||
cmd="cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot-${1}.txt 2>&1" | ||
cmd="source /ros2_ws/install/setup.sh && cd \$comm/build/scenarios && OSPL_ERRORFILE='<stderr>' OSPL_INFOFILE='<stderr>' OSPL_VERBOSITY=WARNING ./ros2runner rosrobot.ini >/logs/robot-${1}.txt 2>&1" | ||
docker run -d -h robot --net ros2opensplice --ip ${net_ros2opensplice_prefix}.$1 --add-host console:$net_ros2opensplice_console -v $PWD/logs:/logs ros2:opensplice bash -c "$cmd" |