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

feat: Add simple ROS2 nodes #12

Closed
wants to merge 7 commits into from
Closed
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
9 changes: 7 additions & 2 deletions .devcontainer/entrypoint
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/bash

# Build the voraus-ros-interfaces
echo "Building voraus_ros_interfaces with colcon"
. /opt/ros/humble/setup.sh && . ~/ros_deps/install/setup.sh && cd ~/workspace/voraus_ros_interfaces && colcon build
echo "source ~/workspace/voraus_ros_interfaces/install/setup.bash" >> ~/.bashrc

# Build the package mounted in the container
echo "Building workspace with colcon"
. /opt/ros/humble/setup.sh && . ~/ros_deps/install/setup.sh && colcon build
echo "source ~/workspace/install/setup.sh" >> ~/.bashrc
. /opt/ros/humble/setup.sh && . ~/ros_deps/install/setup.sh && . ~/workspace/voraus_ros_interfaces/install/setup.sh && cd ~/workspace && colcon build
echo "source ~/workspace/install/setup.bash" >> ~/.bashrc

# Run the CMD (either the default from the Dockerfile or the one provided as docker run argument)
exec "$@"
2 changes: 1 addition & 1 deletion .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
uses: devcontainers/[email protected]
with:
cacheFrom: ghcr.io/vorausrobotik/voraus-ros-bridge-dev
runCmd: cargo build --verbose
runCmd: cargo ament-build --install-base install/voraus_ros_bridge -- --release --verbose
push: never
Loading
Loading