Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .devcontainer/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if $ENABLE_IMU; then
git clone https://github.com/analogdevicesinc/imu_ros2.git
fi

if [ ! -d "libiio" && "$IMU_ENABLED" ]; then
if [ ! -d "libiio" ]; then
git clone https://github.com/analogdevicesinc/libiio.git --branch v0.26
fi

Expand Down
17 changes: 13 additions & 4 deletions src/igvc_hardware/launch/hardware.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@ def generate_launch_description():
)
# Check here for published topics: https://www.stereolabs.com/docs/ros2/zed-node

launch_rplidar_node = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
[FindPackageShare("rplidar_ros"),
'/launch',
'rplidar_s2e_launch.py']
),
launch_arguments={
# TODO if we want to change anything
}
)

declared_arguments = [
launch_zed_node
launch_zed_node,
launch_rplidar_node
]

# Get nodes
Expand All @@ -31,9 +43,6 @@ def generate_launch_description():
executable="adi_imu_node",
ros_arguments=["-p", f"imu_device_name:=${IMU_NAME}"]
)

# TODO In the examples, the controller manager is not spawned until the joint state broadcaster is finished spawning. Implement if we have problems regarding that.

nodes = [
imu_node
]
Expand Down
1 change: 1 addition & 0 deletions src/igvc_hardware/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<exec_depend>rviz2</exec_depend>
<exec_depend>xacro</exec_depend>

<exec_depend>rplidar_ros</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
Expand Down