-
 

zed_msgs package from zed-ros2-interfaces repo

zed_msgs

Package Summary

Tags No category tags.
Version 4.2.1
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/stereolabs/zed-ros2-interfaces.git
VCS Type git
VCS Version humble
Last Updated 2024-11-12
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Contains message and service definitions used by the ZED ROS2 nodes.

Additional Links

Maintainers

  • STEREOLABS

Authors

No additional authors.

Stereolabs<br \> ROS 2 Interfaces

The zed-ros2-interfaces repository install the zed_msgs ROS2 package which defines the custom topics, services and actions used by the ZED ROS2 Wrapper to interface with ROS2.

If you already installed the ZED ROS2 Wrapper or you plan to install it on this machine, this package is not required because it is automatically integrated by zed-ros2-wrapper as a git submodule to satisfy all the required dependencies.

You must instead install this package on a remote system that must retrieve the topics sent by the ZED Wrapper (e.g. the list of detected objects obtained with the Object Detection module) or call services and actions to control the status of the ZED Wrapper.

Note: this package does not require CUDA, hence it can be used to receive the ZED data also on machines not equipped with an Nvidia GPU.

Prerequisites

Build the repository

The zed_msgs is a colcon package. It depends on the following ROS packages:

  • ament_cmake
  • builtin_interfaces
  • std_msgs
  • geometry_msgs
  • rosidl_default_generators
  • rosidl_default_runtime
  • rosidl_interface_packages

Open a terminal, clone the repository, update the dependencies and build the packages:

cd ~/catkin_ws/src
git clone https://github.com/stereolabs/zed-ros2-interfaces.git
cd ../
sudo apt update
rosdep update
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release
echo source $(pwd)/install/local_setup.bash >> ~/.bashrc
source ~/.bashrc

Note: If rosdep is missing you can install it with:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-vcstool python-rosinstall build-essential

‘Note’: The option --symlink-install is important, it allows using symlinks instead of copying files to the ROS2 folders during the installation, where possible. Each package in ROS2 must be installed and all the files used by the nodes must be copied into the installation folders. Using symlinks allows you to modify them in your workspace, reflecting the modification during the next executions without the needing to issue a new colcon build command. This is true only for all the files that don’t need to be compiled (Python scripts, configurations, etc.).

Note: If you are using a different console interface like zsh, you have to change the source command as follows: echo source $(pwd)/install/local_setup.zsh >> ~/.zshrc and source ~/.zshrc.

Custom Topics

  • BoundingBox2Df
  • BoundingBox2Di
  • BoundingBox3D
  • Keypoint2Df
  • Keypoint2Di
  • Keypoint3D
  • Object
  • ObjectsStamped
  • Skeleton2D
  • Skeleton3D

You can get more information by reading the Stereolabs online documentation

Custom Services

  • SetPose
  • StartSvoRec

You can get more information by reading the Stereolabs online documentation

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Recent questions tagged zed_msgs at Robotics Stack Exchange

No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.