Skip to content

Commit

Permalink
Feature/use fork vrx (#333)
Browse files Browse the repository at this point in the history
* Update vrx_instruction.md

fix vrx command

* fix python version

Signed-off-by: Masaya Kataoka <[email protected]>

* remove vnc container

Signed-off-by: Masaya Kataoka <[email protected]>

* update dockerfile

Signed-off-by: Masaya Kataoka <[email protected]>

* add GA_SIM_RESOURCE_PATH

Signed-off-by: Masaya Kataoka <[email protected]>

* specify laser_retro

Signed-off-by: Masaya Kataoka <[email protected]>

---------

Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 authored Apr 4, 2024
1 parent ee075e9 commit e0a37fe
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/docker/vrx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@ ARG ROS_DISTRO=humble
# Create workspace
RUN mkdir -p ~/vrx_ws/src

# RUN apt-get update && \
# apt-get upgrade -y && \
# apt-get install -y libgz-rendering7-ogre2-dev && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/*

# TODO: restore version tag
RUN git clone --depth 1 -b 2.3.3 https://github.com/osrf/vrx.git \
ADD https://api.github.com/repos/OUXT-Polaris/vrx/git/refs/heads/feature/laser_refrection version.json
RUN git clone --depth 1 -b feature/laser_refrection https://github.com/OUXT-Polaris/vrx.git \
&& mv ./vrx ~/vrx_ws/src

# Compile the VRX project.
Expand Down Expand Up @@ -51,4 +58,6 @@ RUN source /opt/ros/${ROS_DISTRO}/setup.bash && \
ADD entrypoint.sh /
RUN chmod +x entrypoint.sh

ENV GZ_SIM_RESOURCE_PATH=${GZ_SIM_RESOURCE_PATH}:/root/vrx_ws/install/wamv_description/share:/root/vrx_ws/install/wamv_gazebo/share

ENTRYPOINT ["/entrypoint.sh"]
1 change: 0 additions & 1 deletion .github/workflows/docker/vrx/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set -e
source "/opt/ros/humble/setup.bash"
# setup vrx environment
source ~/vrx_ws/install/setup.sh
echo "vrx entrypoint executed"

# TODO: optionally disable this so a gzclient can be run on the host for development.
# export GAZEBO_IP=127.0.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<static>true</static>
<link name="base_link">
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/antenna.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<static>true</static>
<link name="base_link">
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<scale>0.1 0.1 0.1</scale>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<static>true</static>
<link name="base_link">
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>mesh/foldable_table.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<pose>0 0 0 1.57079 0 0</pose>
<geometry>
<mesh>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<pose>0 0 0 1.57079 0 0</pose>
<geometry>
<mesh>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<pose>0 0 0 1.57079 0 0</pose>
<geometry>
<mesh>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<pose>0 0 0 1.57079 0 0</pose>
<geometry>
<mesh>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>https://fuel.gazebosim.org/1.0/openrobotics/models/mb_round_buoy_orange/tip/files/meshes/mb_round_buoy.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</geometry>
</collision>
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/mb_round_buoy.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<pose>0 0 0 0 0 0</pose>
<link name="base_link">
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/post.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<static>true</static>
<link name="link">
<visual name="visual_terrain">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -15,6 +16,7 @@
</geometry>
</visual>
<visual name="visual_dock_dark">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -25,6 +27,7 @@
</geometry>
</visual>
<visual name="visual_metal_galvanized">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -35,6 +38,7 @@
</geometry>
</visual>
<visual name="visual_dock">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -45,6 +49,7 @@
</geometry>
</visual>
<visual name="visual_windows_dark">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -55,6 +60,7 @@
</geometry>
</visual>
<visual name="visual_roof">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -65,6 +71,7 @@
</geometry>
</visual>
<visual name="visual_wall">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand All @@ -75,6 +82,7 @@
</geometry>
</visual>
<visual name="visual_branches">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>meshes/sydney_regatta.dae</uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<static>true</static>
<link name="base_link">
<visual name="visual">
<laser_retro>1000.0</laser_retro>
<geometry>
<mesh>
<uri>mesh/tent.dae</uri>
Expand Down

0 comments on commit e0a37fe

Please sign in to comment.