Skip to content

Commit

Permalink
Move files in better dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Jun 17, 2024
1 parent 1accbc3 commit 1c93b06
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ RUN apt-get update && apt-get install -y \
rm -rf src build && \
rm -rf /var/lib/apt/lists/*

COPY husarion_utils /husarion_utils
COPY demo/config/ /config
COPY demo/nmea_navsat.launch.py /
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ You should be able to see data on `/panther/gps/fix` topic (`ros2 topic echo /pa

### Launch Parameters

Contained within the image is a custom `/husarion_utils/nmea_navsat.launch.py`, which is not included in the ROS 2 package for the `nmea_navsat_driver`. This was specifically added to facilitate seamless integration with Husarion robots. The following parameters are included in this launch file:
Contained within the image is a custom `/nmea_navsat.launch.py`, which is not included in the ROS 2 package for the `nmea_navsat_driver`. This was specifically added to facilitate seamless integration with Husarion robots. The following parameters are included in this launch file:

| **Parameter** | **Description** | **Default Value** |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| `params_file` | Path to the parameter file for the nmea_socket_driver node. | `/husarion_utils/nmea_navsat_params.yaml` |
| `params_file` | Path to the parameter file for the nmea_socket_driver node. | `/config/nmea_navsat_params.yaml` |
| `robot_namespace` | Namespace to all launched nodes and use namespace as tf_prefix. This aids in differentiating between multiple robots with the same devices. | `env("ROBOT_NAMESPACE")` (`""` if not specified) |
| `device_namespace` | Namespace for the device, utilized in TF frames and preceding device topics. This aids in differentiating between multiple cameras on the same robot. | `gps` |
2 changes: 1 addition & 1 deletion demo/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ services:
network_mode: host
restart: always
command: >
ros2 launch /husarion_utils/nmea_navsat.launch.py
ros2 launch /nmea_navsat.launch.py
robot_namespace:=panther
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def generate_launch_description():
params_file = LaunchConfiguration("params_file")
declare_params_file_arg = DeclareLaunchArgument(
"params_file",
default_value="/husarion_utils/nmea_navsat_params.yaml",
default_value="/config/nmea_navsat_params.yaml",
description="Path to the parameter file for the nmea_socket_driver node.",
)

Expand Down

0 comments on commit 1c93b06

Please sign in to comment.