genpy icon indicating copy to clipboard operation
genpy copied to clipboard

genpy

Results 17 genpy issues
Sort by recently updated
recently updated
newest added

The deprecated unittest aliases were removed in python/cpython#28268 . The following replacements can be made for Python 3.11 compatibility. assertEquals -> assertEqual failIf -> assertFalse ``` test/test_genpy_rostime.py: self.assertEquals(0, v.secs) test/test_genpy_rostime.py:...

Results: https://github.com/cclauss/genpy/actions https://flake8.pycqa.org/en/latest/user/error-codes.html On the flake8 test selection, this PR does _not_ focus on "_style violations_" (the majority of flake8 error codes that [__psf/black__](https://github.com/psf/black) can autocorrect). Instead, these tests focus...

Given you have some message definition like the following (`SomeMessage.msg`): ``` # \brief Some description # \note Something I really want to stress float64 x ``` ... genpy will not...

I'm creating an application that reads in ros messages from a ros bag. During the process of reading messages, `generate_dynamic(core_type, msg_cat)` is being called to get the message type definition....

enhancement

I think [this genmsg issue](https://github.com/ros/genmsg/issues/85) is more appropriate here. > In cases where constants in messages are set to special floats, for example: > > ```python > float32 a =...

enhancement

Before testing, I rather get feedback if this is a sane / valid solution... (i.e. first trying with an exception handler), also it might fail on non trivial layouts (not...

enhancement

Let's say I have a large numpy array that represents an std_msgs/Image.data Today if I try to publish such a message it will fail in this part of the serialize...

enhancement

Passing an offset into numpy.array instead of slicing should prevent an additional copy of the data being created by the slice operation. This is important for really big message types...