No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Package Summary
Tags | No category tags. |
Version | 0.6.16 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2023-03-15 |
Dev Status | MAINTAINED |
CI status |
|
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Geoffrey Biggs
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
- Dirk Thomas
- Mabel Zhang
- Shane Loretz
genpy
The Python ROS message and service generator.
Examples for generating messages with dependencies
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.6.16 (2021-05-01)
- Fix runtime incompatibility with messages generated with 0.6.14 (#139)
- Contributors: Shane Loretz
0.6.15 (2021-04-12)
- Update maintainers (#135)
- Check for Python 3 before looking up codec (#134)
- Add check for float32 and float64 to check_type (#131)
- Contributors: Dirk Thomas, Martin Günther, Shane Loretz
0.6.14 (2020-08-10)
- create Struct objects to save memory (#129)
0.6.13 (2020-07-20)
- don't raise exceptions on unicode decode error (#127)
0.6.12 (2020-05-28)
- fix check_type for uint8[] to accept bytes (#123)
0.6.11 (2020-05-12)
- support non-int integral time parameters (#121)
0.6.10 (2020-01-24)
- various code cleanup (#117)
- update logic for newer PyYAML output for dump() (#116)
- small optimization in dynamic.py (#109)
- use setuptools instead of distutils (#115)
- bump CMake version to avoid CMP0048 warning (#114)
- serialization: always set _x var for correct exception msg (#113)
- sort generated imports to make them reproducible (#111)
- make the generated "struct" constructs reproducible (#110)
0.6.9 (2019-10-03)
- fix Python 3 buffer handling (#106)
- Python 3 compatibility (#104)
- fix usage of undefined variables in exception (#105)
- convert map iterator to list (#103)
- fix negative limit check for signed ints (#102)
- failing test case for UTF-8 encoded characters in comments (#95)
0.6.8 (2019-03-04)
- check size of fixed sized arrays when serializing (#92)
- allow returning derived types in overloaded operators (#100)
- reload() was move into importlib in Python 3 (#98)
- fix _convert_getattr for handling uint8[] message fields in Python 3 (#96)
0.6.7 (2017-10-26)
0.6.6 (2017-07-27)
0.6.5 (2017-03-06)
- expose spec for dynamically generated messages (#75)
0.6.4 (2017-02-27)
- fix default value for non-primitive fixed-size arrays, regression of 0.6.1 ([#74 <https://github.com/ros/genpy/issues/74>]{.title-ref})
0.6.3 (2016-10-24)
0.6.2 (2016-09-03)
- fix regression regarding lazy init introduced in 0.6.1 (#67)
0.6.1 (2016-09-02)
- lazy init struct (#65)
- fix default value of lists to not expand to N items in the generated code (#64)
- simpler and more canonical hash (#55)
- various improvements to the time and duration classes (#63)
0.6.0 (2016-04-21)
- change semantic of integer division for duration (#59)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Package Dependencies
System Dependencies
Dependant Packages
Launch files
No launch files found
Messages
- test/files/array/ObjectArray.msg
- test/files/array/Object.msg
- test/msg/TestStringFloat.msg
- test/msg/TestPythonSafe.msg
- test/msg/TestString.msg
- test/msg/TestPrimitiveArray.msg
- test/msg/TestManyFields.msg
- test/msg/TestMsgArray.msg
- test/msg/TestPythonSafeSubfields.msg
- test/msg/TestFillEmbedTime.msg
- test/msg/TestFillSimple.msg
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
Package Summary
Tags | No category tags. |
Version | 0.6.15 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | kinetic-devel |
Last Updated | 2021-04-13 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Mabel Zhang
- Shane Loretz
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
- Dirk Thomas
genpy
The Python ROS message and service generator.
Examples for generating messages with dependencies
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.6.15 (2021-04-12)
- Update maintainers (#135)
- Check for Python 3 before looking up codec (#134)
- Add check for float32 and float64 to check_type (#131)
- Contributors: Dirk Thomas, Martin Günther, Shane Loretz
0.6.14 (2020-08-10)
- create Struct objects to save memory (#129)
0.6.13 (2020-07-20)
- don't raise exceptions on unicode decode error (#127)
0.6.12 (2020-05-28)
- fix check_type for uint8[] to accept bytes (#123)
0.6.11 (2020-05-12)
- support non-int integral time parameters (#121)
0.6.10 (2020-01-24)
- various code cleanup (#117)
- update logic for newer PyYAML output for dump() (#116)
- small optimization in dynamic.py (#109)
- use setuptools instead of distutils (#115)
- bump CMake version to avoid CMP0048 warning (#114)
- serialization: always set _x var for correct exception msg (#113)
- sort generated imports to make them reproducible (#111)
- make the generated "struct" constructs reproducible (#110)
0.6.9 (2019-10-03)
- fix Python 3 buffer handling (#106)
- Python 3 compatibility (#104)
- fix usage of undefined variables in exception (#105)
- convert map iterator to list (#103)
- fix negative limit check for signed ints (#102)
- failing test case for UTF-8 encoded characters in comments (#95)
0.6.8 (2019-03-04)
- check size of fixed sized arrays when serializing (#92)
- allow returning derived types in overloaded operators (#100)
- reload() was move into importlib in Python 3 (#98)
- fix _convert_getattr for handling uint8[] message fields in Python 3 (#96)
0.6.7 (2017-10-26)
0.6.6 (2017-07-27)
0.6.5 (2017-03-06)
- expose spec for dynamically generated messages (#75)
0.6.4 (2017-02-27)
- fix default value for non-primitive fixed-size arrays, regression of 0.6.1 ([#74 <https://github.com/ros/genpy/issues/74>]{.title-ref})
0.6.3 (2016-10-24)
0.6.2 (2016-09-03)
- fix regression regarding lazy init introduced in 0.6.1 (#67)
0.6.1 (2016-09-02)
- lazy init struct (#65)
- fix default value of lists to not expand to N items in the generated code (#64)
- simpler and more canonical hash (#55)
- various improvements to the time and duration classes (#63)
0.6.0 (2016-04-21)
- change semantic of integer division for duration (#59)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Package Dependencies
System Dependencies
Dependant Packages
Launch files
No launch files found
Messages
- test/files/array/ObjectArray.msg
- test/files/array/Object.msg
- test/msg/TestStringFloat.msg
- test/msg/TestPythonSafe.msg
- test/msg/TestString.msg
- test/msg/TestPrimitiveArray.msg
- test/msg/TestManyFields.msg
- test/msg/TestMsgArray.msg
- test/msg/TestPythonSafeSubfields.msg
- test/msg/TestFillEmbedTime.msg
- test/msg/TestFillSimple.msg
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.5.10 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | indigo-devel |
Last Updated | 2016-06-27 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Dirk Thomas
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.5.10 (2016-06-27)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Dependant Packages
Launch files
No launch files found
Messages
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.5.10 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | indigo-devel |
Last Updated | 2016-06-27 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Dirk Thomas
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.5.10 (2016-06-27)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Dependant Packages
Launch files
No launch files found
Messages
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.4.17 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | groovy-devel |
Last Updated | 2014-06-03 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Dirk Thomas
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.4.17 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
- resolve message classes from dry packages (ros/ros_comm#293, #28)
0.4.16 (2014-02-25)
- revert "python 3 compatibility" (introduced in 0.4.15)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Dependant Packages
Launch files
No launch files found
Messages
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.6.15 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | kinetic-devel |
Last Updated | 2021-04-13 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Mabel Zhang
- Shane Loretz
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
- Dirk Thomas
genpy
The Python ROS message and service generator.
Examples for generating messages with dependencies
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.6.15 (2021-04-12)
- Update maintainers (#135)
- Check for Python 3 before looking up codec (#134)
- Add check for float32 and float64 to check_type (#131)
- Contributors: Dirk Thomas, Martin Günther, Shane Loretz
0.6.14 (2020-08-10)
- create Struct objects to save memory (#129)
0.6.13 (2020-07-20)
- don't raise exceptions on unicode decode error (#127)
0.6.12 (2020-05-28)
- fix check_type for uint8[] to accept bytes (#123)
0.6.11 (2020-05-12)
- support non-int integral time parameters (#121)
0.6.10 (2020-01-24)
- various code cleanup (#117)
- update logic for newer PyYAML output for dump() (#116)
- small optimization in dynamic.py (#109)
- use setuptools instead of distutils (#115)
- bump CMake version to avoid CMP0048 warning (#114)
- serialization: always set _x var for correct exception msg (#113)
- sort generated imports to make them reproducible (#111)
- make the generated "struct" constructs reproducible (#110)
0.6.9 (2019-10-03)
- fix Python 3 buffer handling (#106)
- Python 3 compatibility (#104)
- fix usage of undefined variables in exception (#105)
- convert map iterator to list (#103)
- fix negative limit check for signed ints (#102)
- failing test case for UTF-8 encoded characters in comments (#95)
0.6.8 (2019-03-04)
- check size of fixed sized arrays when serializing (#92)
- allow returning derived types in overloaded operators (#100)
- reload() was move into importlib in Python 3 (#98)
- fix _convert_getattr for handling uint8[] message fields in Python 3 (#96)
0.6.7 (2017-10-26)
0.6.6 (2017-07-27)
0.6.5 (2017-03-06)
- expose spec for dynamically generated messages (#75)
0.6.4 (2017-02-27)
- fix default value for non-primitive fixed-size arrays, regression of 0.6.1 ([#74 <https://github.com/ros/genpy/issues/74>]{.title-ref})
0.6.3 (2016-10-24)
0.6.2 (2016-09-03)
- fix regression regarding lazy init introduced in 0.6.1 (#67)
0.6.1 (2016-09-02)
- lazy init struct (#65)
- fix default value of lists to not expand to N items in the generated code (#64)
- simpler and more canonical hash (#55)
- various improvements to the time and duration classes (#63)
0.6.0 (2016-04-21)
- change semantic of integer division for duration (#59)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Package Dependencies
System Dependencies
Launch files
No launch files found
Messages
- test/files/array/ObjectArray.msg
- test/files/array/Object.msg
- test/msg/TestStringFloat.msg
- test/msg/TestPythonSafe.msg
- test/msg/TestString.msg
- test/msg/TestPrimitiveArray.msg
- test/msg/TestManyFields.msg
- test/msg/TestMsgArray.msg
- test/msg/TestPythonSafeSubfields.msg
- test/msg/TestFillEmbedTime.msg
- test/msg/TestFillSimple.msg
Services
No service files found
Plugins
No plugins found.
Recent questions tagged genpy at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.6.16 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros/genpy.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2023-03-15 |
Dev Status | MAINTAINED |
CI status |
|
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Python ROS message and service generators.
Additional Links
Maintainers
- Geoffrey Biggs
Authors
- Ken Conley
- Troy Straszheim
- Morten Kjaergaard
- Dirk Thomas
- Mabel Zhang
- Shane Loretz
genpy
The Python ROS message and service generator.
Examples for generating messages with dependencies
./scripts/genmsg_py.py -p std_msgs -Istd_msgs:`rospack find std_msgs`/msg -o gen `rospack find std_msgs`/msg/String.msg
./scripts/genmsg_py.py -p geometry_msgs -Istd_msgs:`rospack find std_msgs`/msg -Igeometry_msgs:`rospack find geometry_msgs`/msg -o gen `rospack find geometry_msgs`/msg/PoseStamped.msg
CHANGELOG
Changelog for package genpy
0.6.16 (2021-05-01)
- Fix runtime incompatibility with messages generated with 0.6.14 (#139)
- Contributors: Shane Loretz
0.6.15 (2021-04-12)
- Update maintainers (#135)
- Check for Python 3 before looking up codec (#134)
- Add check for float32 and float64 to check_type (#131)
- Contributors: Dirk Thomas, Martin Günther, Shane Loretz
0.6.14 (2020-08-10)
- create Struct objects to save memory (#129)
0.6.13 (2020-07-20)
- don't raise exceptions on unicode decode error (#127)
0.6.12 (2020-05-28)
- fix check_type for uint8[] to accept bytes (#123)
0.6.11 (2020-05-12)
- support non-int integral time parameters (#121)
0.6.10 (2020-01-24)
- various code cleanup (#117)
- update logic for newer PyYAML output for dump() (#116)
- small optimization in dynamic.py (#109)
- use setuptools instead of distutils (#115)
- bump CMake version to avoid CMP0048 warning (#114)
- serialization: always set _x var for correct exception msg (#113)
- sort generated imports to make them reproducible (#111)
- make the generated "struct" constructs reproducible (#110)
0.6.9 (2019-10-03)
- fix Python 3 buffer handling (#106)
- Python 3 compatibility (#104)
- fix usage of undefined variables in exception (#105)
- convert map iterator to list (#103)
- fix negative limit check for signed ints (#102)
- failing test case for UTF-8 encoded characters in comments (#95)
0.6.8 (2019-03-04)
- check size of fixed sized arrays when serializing (#92)
- allow returning derived types in overloaded operators (#100)
- reload() was move into importlib in Python 3 (#98)
- fix _convert_getattr for handling uint8[] message fields in Python 3 (#96)
0.6.7 (2017-10-26)
0.6.6 (2017-07-27)
0.6.5 (2017-03-06)
- expose spec for dynamically generated messages (#75)
0.6.4 (2017-02-27)
- fix default value for non-primitive fixed-size arrays, regression of 0.6.1 ([#74 <https://github.com/ros/genpy/issues/74>]{.title-ref})
0.6.3 (2016-10-24)
0.6.2 (2016-09-03)
- fix regression regarding lazy init introduced in 0.6.1 (#67)
0.6.1 (2016-09-02)
- lazy init struct (#65)
- fix default value of lists to not expand to N items in the generated code (#64)
- simpler and more canonical hash (#55)
- various improvements to the time and duration classes (#63)
0.6.0 (2016-04-21)
- change semantic of integer division for duration (#59)
0.5.9 (2016-04-19)
- warn about using floor division of durations (#58)
- allow durations to be divided by other durations (#48)
- avoid adding newline in msg_generator (#47, #51)
0.5.8 (2016-03-09)
- right align nsec fields of timestamps (#45)
- fix order of imports in generated init files deterministic (#44)
- fix exception handling code using undefined variable (#42)
- add test for expected exception when serializing wrong type
0.5.7 (2015-11-09)
- add line about encoding to generated Python files (#41)
0.5.6 (2015-10-12)
- fix handling of dynamic message classes with names containing other message classes as substrings (#40)
0.5.5 (2015-09-19)
- fix handling of dynamic message classes with the same name (#37)
- fix Duration.abs() when sec is zero (#35)
0.5.4 (2014-12-22)
- add support for fixed-width floating-point and integer array values (ros/ros_comm#400)
- add missing test dependency on yaml
0.5.3 (2014-06-02)
- make TVal more similar to generated messages for introspection (ros/std_msgs#6)
0.5.2 (2014-05-08)
- fix usage of load_manifest() introduced in 0.5.1 (#28)
0.5.1 (2014-05-07)
- resolve message classes from dry packages (ros/ros_comm#293)
- add architecture_independent flag in package.xml (#27)
0.5.0 (2014-02-25)
- use catkin_install_python() to install Python scripts (#25)
0.4.15 (2014-01-07)
- python 3 compatibility (#22)
- use PYTHON_EXECUTABLE when invoking scripts for better Windows support (#23)
- improve exception message when message type does not match (#21)
0.4.14 (2013-08-21)
- make genpy relocatable (ros/catkin#490)
- enable int/long values for list of time/duration (#13)
- fix issue with time/duration message fields (without std_msgs prefix) when used as array (ros/ros_comm#252)
- fix Time() for seconds being of type long on 32-bit systems (fix #15)
- fix passing keys to _fill_message_args (#20)
0.4.13 (2013-07-03)
- check for CATKIN_ENABLE_TESTING to enable configure without tests
0.4.12 (2013-06-18)
- fix deserialize bytes in Python3 (#10)
0.4.11 (2013-03-08)
- fix handling spaces in folder names (ros/catkin#375)
0.4.10 (2012-12-21)
- first public release for Groovy
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.
Package Dependencies
System Dependencies
Launch files
No launch files found
Messages
- test/files/array/ObjectArray.msg
- test/files/array/Object.msg
- test/msg/TestStringFloat.msg
- test/msg/TestPythonSafe.msg
- test/msg/TestString.msg
- test/msg/TestPrimitiveArray.msg
- test/msg/TestManyFields.msg
- test/msg/TestMsgArray.msg
- test/msg/TestPythonSafeSubfields.msg
- test/msg/TestFillEmbedTime.msg
- test/msg/TestFillSimple.msg
Services
No service files found
Plugins
No plugins found.