Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version jazzy
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
kilted

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version kilted
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
rolling

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version rolling
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
galactic

Package Summary

Tags No category tags.
Version 2.0.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/uos/rospy_message_converter.git
VCS Type git
VCS Version galactic
Last Updated 2022-11-14
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41) Fixes #39.
  • perf: Remove remaining regexes This is only a small speedup of about 1.03x.
  • perf: Avoid regex in _is_field_type_a_primitive_array This makes the function almost 3x faster.
  • perf: Reorder type checks Perform the cheaper checks first. This results in a speedup of about 1.2x.

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
foxy

Package Summary

Tags No category tags.
Version 2.0.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version foxy
Last Updated 2022-11-14
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41) Fixes #39.
  • perf: Remove remaining regexes This is only a small speedup of about 1.03x.
  • perf: Avoid regex in _is_field_type_a_primitive_array This makes the function almost 3x faster.
  • perf: Reorder type checks Perform the cheaper checks first. This results in a speedup of about 1.2x.

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
iron

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version iron
Last Updated 2024-04-26
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

rclpy_message_converter package from rospy_message_converter repo

rclpy_message_converter rclpy_message_converter_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 2.0.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/DFKI-NI/rospy_message_converter.git
VCS Type git
VCS Version humble
Last Updated 2025-05-07
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Converts between Python dictionaries and JSON to rclpy messages.

Additional Links

Maintainers

  • Martin Günther

Authors

  • Brandon Alexander
  • Martin Günther
README
No README found. See repository README.
CHANGELOG

Change Log

2.0.2 (2024-04-26)

  • tests: Adapt to renamed exception message
  • Move repo to DFKI-NI
  • Modifies the use of slots for get_fields_and_field_types method (#64)
  • Contributors: Eloy Briceno, Martin Günther

2.0.1 (2022-11-14)

  • Allow message_type as class in convert_dictionary_to_ros_message
  • Tests: Switch assertEqual order of arguments in test_json
  • Tests: Add tests for tf2_msgs.msg.TFMessage
  • Contributors: Martin Günther

2.0.0 (2022-09-12)

  • Initial release into ROS2
  • Convert repo to ROS2
  • Rename binary_array_as_bytes to base64_encoding
  • Switch to Apache 2.0 license This is necessary because the new ROS2 code contains code that was copied and modified from rosidl_runtime_py, which is licensed under Apache 2.0. Switching from BSD to Apache 2.0 should be okay, because Apache 2.0 is the more restrictive license.
  • Remove support for checking types In ROS2, it is no longer possible to set the data field of ROS numeric types (Float32, Float64, int, ...) to numpy types, because the setter checks that it's a python primitive type.
  • Remove support for time 'now' Implementing this properly requires a node handle and is out of scope for this library.
  • Remove python2 support
  • Tests: Change Uint8Array3TestMessage from bytes to list Creating from a bytes type is not supported in ROS2.
  • Tests: Switch assertEqual order of arguments Expected is first, actual second (this way, the log output on failing tests is correct).
  • Tests: Remove test_dictionary_with_invalid_message_fields This is the same as test_dictionary_with_empty_additional_args_strict_mode, so it can be safely removed.
  • Tests: Add workaround for typename The field _type does not exist in ROS2 any more.
  • Tests: Add test_dictionary_with_implicit_conversion The new version (based on set_message_fields) implicitly converts strings to bool.
  • Tests: Change expected exceptions This makes the exceptions thrown by rclpy_message_converter the same as rosidl_runtime_py.set_message.set_message_fields(). Also change test_dictionary_with_wrong_type to use floats, because bool('should_be_a_bool') == True (doesn't throw an error).
  • Contributors: Martin Günther, relffok

0.5.6 (2021-03-01)

  • Propagate strict_mode, check_missing_fields in _convert_to_ros_type Previously, _convert_to_ros_type dropped strict_mode and check_missing_fields in nested messages.
  • Add NestedUint8ArrayTestService tests
  • propagate check_types in _convert_to_ros_type (#51) Co-authored-by: Martin Günther <<martin.guenther@dfki.de>>
  • Fix base64_encoding=False with nested msgs
  • Add param base64_encoding Closes #45.
  • Contributors: Marc Bosch-Jorge, Martin Günther, Otacon5555

0.5.5 (2020-11-09)

  • Decode strings from ROS messages as UTF8 This makes the python2 behavior equal to python3.

  • python3 only: Validate base64 strings

  • Add bytes to python3 string types This means that [bytes]{.title-ref} will now also be base64-decoded, which fixes the following tests on python3:

    • test_dictionary_with_uint8_array_bytes
    • test_dictionary_with_uint8_array_bytes_unencoded

    * test_dictionary_with_3uint8_array_bytes On python2, [bytes]{.title-ref} is just an alias for [str]{.title-ref}, which is why it worked without this.

  • Fix and add tests

  • Contributors: Martin Günther

0.5.4 (2020-10-13)

  • Avoid numpy dependency
  • Contributors: Martin Günther, betaboon

0.5.3 (2020-08-20)

  • Add check_types parameter to convert_dictionary_to_ros_message (#42)
  • Allow numpy numeric types in numeric fields (#41)

File truncated at 100 lines see the full file

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.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rclpy_message_converter at Robotics Stack Exchange