You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm using rosbridge_server to publish some rostopics data in bson_only mode. The messages are of type sensor_msgs/Imu and sensor_msgs/Image.
I can send the subscribe message to the server in bson format, in case of the imu topic the client gets the data correctly but in case of Image topic the server gives me
Exception calling subscribe callback: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
Library Version: newest version (0.11.17-1focal.20240913.194148)
Update
I have reached that the line 208 is causing the error where the uint8[] in ros is dealt as string which is not the case so, I see no use of encoding then decoding just returning the "inst" is enough, I'm working on it and will check its efficiency
Description
I'm using rosbridge_server to publish some rostopics data in bson_only mode. The messages are of type sensor_msgs/Imu and sensor_msgs/Image.
I can send the subscribe message to the server in bson format, in case of the imu topic the client gets the data correctly but in case of Image topic the server gives me
Exception calling subscribe callback: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
Steps To Reproduce
In Python:
on the client side:
on the server side, in a launch file:
Expected Behavior
the client gets the image message binary-encoded
Actual Behavior
no Image msg received
The text was updated successfully, but these errors were encountered: