Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Novatel Driver included in Sensor Interfacing. #166

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ RUN apt-get -qq update && rosdep update && \
################################# Dependencies ################################
FROM ${BASE_IMAGE} as dependencies

RUN sudo apt update -y
RUN sudo apt upgrade -y
RUN sudo apt-get install ros-humble-novatel-oem7-driver -y

# Install Rosdep requirements
COPY --from=source /tmp/colcon_install_list /tmp/colcon_install_list
RUN apt-fast install -qq -y --no-install-recommends $(cat /tmp/colcon_install_list)
RUN apt-get -qq update && apt-fast install -qq -y --no-install-recommends $(cat /tmp/colcon_install_list)

# Copy in source code from source stage
WORKDIR ${AMENT_WS}
Expand All @@ -31,7 +35,6 @@ COPY --from=source ${AMENT_WS}/src src
WORKDIR /
RUN apt-get -qq autoremove -y && apt-get -qq autoclean && apt-get -qq clean && \
rm -rf /root/* /root/.ros /tmp/* /var/lib/apt/lists/* /usr/share/doc/*

################################ Build ################################
FROM dependencies as build

Expand Down
2 changes: 1 addition & 1 deletion modules/docker-compose.interfacing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- "${INTERFACING_SENSOR_IMAGE}:build_main"
target: deploy
image: "${INTERFACING_SENSOR_IMAGE}:${TAG}"
command: /bin/bash -c "ros2 launch sensor_interfacing sensor_interfacing.launch.py"
command: /bin/bash -c "ros2 launch sensor_interfacing sensor_interfacing.launch.py && ros2 launch novatel_oem7_driver oem7_net.launch.py oem7_ip_addr:=169.254.0.10"

can_interfacing:
build:
Expand Down
1 change: 1 addition & 0 deletions src/interfacing/sensor_interfacing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ endif()

# find dependencies
find_package(ament_cmake REQUIRED)

# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
Expand Down
1 change: 1 addition & 0 deletions src/interfacing/sensor_interfacing/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<license>TODO: License declaration</license>

<buildtool_depend>ament_cmake</buildtool_depend>



<export>
Expand Down
Loading