Skip to content

Commit

Permalink
Install relevant libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpolzin committed Feb 14, 2024
1 parent 9e01b61 commit 2d62767
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FROM ros:${ROS_DISTRO}-ros-core
RUN apt update && apt install -y --no-install-recommends \
build-essential \
python3-pip \
pigpio python3-pigpio \
python3-colcon-common-extensions \
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ services:
environment:
- UID=${HOST_UID}
- ROS_DOMAIN_ID
volumes:
- /tmp:/tmp
command: su - ros --whitelist-environment=ROS_DOMAIN_ID /run.sh
6 changes: 3 additions & 3 deletions ros_encoder/launch/ros_encoder.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ def generate_launch_description():

ld = LaunchDescription()

python_node = Node(
multiturn_encoder_node = Node(
package='ros_encoder',
executable='python_node.py',
executable='multiturn_encoder_node.py',
)

ld.add_action(python_node)
ld.add_action(multiturn_encoder_node)

return ld

0 comments on commit 2d62767

Please sign in to comment.