Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Add ROS 2 Jazzy Types #21

Closed
wants to merge 7 commits into from
Closed

Conversation

maxwellmlin
Copy link

Changelog

Add message definitions for ROS2 jazzy

Description

Adds ROS2 jazzy messages. See details below for changes wrt. ROS2 iron.

diff -r msgdefs/ros2iron/ msgdefs/ros2jazzy
Only in msgdefs/ros2jazzy/geometry_msgs/msg: PolygonInstance.msg
Only in msgdefs/ros2jazzy/geometry_msgs/msg: PolygonInstanceStamped.msg
diff -r msgdefs/ros2iron/geometry_msgs/msg/TransformStamped.msg msgdefs/ros2jazzy/geometry_msgs/msg/TransformStamped.msg
5c5
< # tf2 package.
---
> # tf2 package.
Only in msgdefs/ros2jazzy/geometry_msgs/msg: VelocityStamped.msg
diff -r msgdefs/ros2iron/rcl_interfaces/msg/Log.msg msgdefs/ros2jazzy/rcl_interfaces/msg/Log.msg
15c15
< byte DEBUG=10
---
> uint8 DEBUG=10
19c19
< byte INFO=20
---
> uint8 INFO=20
23c23
< byte WARN=30
---
> uint8 WARN=30
26c26
< byte ERROR=40
---
> uint8 ERROR=40
29c29
< byte FATAL=50
---
> uint8 FATAL=50
diff -r msgdefs/ros2iron/rcl_interfaces/msg/SetParametersResult.msg msgdefs/ros2jazzy/rcl_interfaces/msg/SetParametersResult.msg
5,6c5,6
< # Reason why the setting was either successful or a failure. This should only be
< # used for logging and user interfaces.
---
> # Reason why the setting was a failure. On success, the contents of this field
> # are undefined.  This should only be used for logging and user interfaces.
diff -r msgdefs/ros2iron/sensor_msgs/msg/CompressedImage.msg msgdefs/ros2jazzy/sensor_msgs/msg/CompressedImage.msg
11,12c11,39
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/sensor_msgs/msg/NavSatFix.msg msgdefs/ros2jazzy/sensor_msgs/msg/NavSatFix.msg
66a67
> int8 STATUS_UNKNOWN = -2        # status is not yet set
72c73
< int8 status
---
> int8 status -2 # STATUS_UNKNOWN
76a78
> uint16 SERVICE_UNKNOWN = 0  # Remember service is a bitfield, so checking (service & SERVICE_UNKNOWN) will not work. Use == instead.
diff -r msgdefs/ros2iron/sensor_msgs/msg/NavSatStatus.msg msgdefs/ros2jazzy/sensor_msgs/msg/NavSatStatus.msg
6a7
> int8 STATUS_UNKNOWN = -2        # status is not yet set
12c13
< int8 status
---
> int8 status -2 # STATUS_UNKNOWN
16a18
> uint16 SERVICE_UNKNOWN = 0  # Remember service is a bitfield, so checking (service & SERVICE_UNKNOWN) will not work. Use == instead.
Only in msgdefs/ros2jazzy: service_msgs
Only in msgdefs/ros2iron: tf2_msgs
Only in msgdefs/ros2jazzy: type_description_interfaces
diff -r msgdefs/ros2iron/visualization_msgs/msg/InteractiveMarker.msg msgdefs/ros2jazzy/visualization_msgs/msg/InteractiveMarker.msg
219a220
> int32 ARROW_STRIP=12
253c254
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
261c262
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
333,334c334,362
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/visualization_msgs/msg/InteractiveMarkerControl.msg msgdefs/ros2jazzy/visualization_msgs/msg/InteractiveMarkerControl.msg
107a108
> int32 ARROW_STRIP=12
141c142
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
149c150
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
228,229c229,257
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/visualization_msgs/msg/InteractiveMarkerInit.msg msgdefs/ros2jazzy/visualization_msgs/msg/InteractiveMarkerInit.msg
236a237
> int32 ARROW_STRIP=12
270c271
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
278c279
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
331,332c332,360
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/visualization_msgs/msg/InteractiveMarkerUpdate.msg msgdefs/ros2jazzy/visualization_msgs/msg/InteractiveMarkerUpdate.msg
267a268
> int32 ARROW_STRIP=12
301c302
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
309c310
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
362,363c363,391
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/visualization_msgs/msg/Marker.msg msgdefs/ros2jazzy/visualization_msgs/msg/Marker.msg
18a19
> int32 ARROW_STRIP=12
52c53
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
60c61
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
139,140c140,168
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.
diff -r msgdefs/ros2iron/visualization_msgs/msg/MarkerArray.msg msgdefs/ros2jazzy/visualization_msgs/msg/MarkerArray.msg
22a23
> int32 ARROW_STRIP=12
56c57
< # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)
---
> # Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ARROW_STRIP, etc.)
64c65
< # a format acceptable to (resource retriever)[https://index.ros.org/p/resource_retriever/]
---
> # a format acceptable to (resource retriever)[https://docs.ros.org/en/rolling/p/resource_retriever/]
143,144c144,172
<                              #   Acceptable values:
<                              #     jpeg, png, tiff
---
>                              # Acceptable values differ by the image transport used:
>                              # - compressed_image_transport:
>                              #     ORIG_PIXFMT; CODEC compressed [COMPRESSED_PIXFMT]
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #   - CODEC is one of [jpeg, png, tiff]
>                              #   - COMPRESSED_PIXFMT is only appended for color images
>                              #     and is the pixel format used by the compression
>                              #     algorithm. Valid values for jpeg encoding are:
>                              #     [bgr8, rgb8]. Valid values for png encoding are:
>                              #     [bgr8, rgb8, bgr16, rgb16].
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as bgr8 or mono8
>                              #   jpeg image (depending on the number of channels).
>                              # - compressed_depth_image_transport:
>                              #     ORIG_PIXFMT; compressedDepth CODEC
>                              #   where:
>                              #   - ORIG_PIXFMT is pixel format of the raw image, i.e.
>                              #     the content of sensor_msgs/Image/encoding with
>                              #     values from include/sensor_msgs/image_encodings.h
>                              #     It is usually one of [16UC1, 32FC1].
>                              #   - CODEC is one of [png, rvl]
>                              #   If the field is empty or does not correspond to the
>                              #   above pattern, the image is treated as png image.
>                              # - Other image transports can store whatever values they
>                              #   need for successful decoding of the image. Refer to
>                              #   documentation of the other transports for details.

Fixes: foxglove/ros-typescript#3

@jtbandes
Copy link
Member

jtbandes commented Jan 8, 2025

Thanks for the PR. We are in the process of combining this repo with https://github.com/foxglove/ros-typescript so we will recreate the PR there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add ROS 2 Jazzy Types
2 participants