Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception calling subscribe callback: 'bytearray' object has no attribute 'get' #775

Open
an99990 opened this issue Aug 11, 2022 · 2 comments
Labels

Comments

@an99990
Copy link

an99990 commented Aug 11, 2022

Description
Sending PointCloud2 message and trying to visualize it in FoxeGlove but keep getting rosbridge error message

[rosbridge_websocket-1] [ERROR] [1660225884.363841657] [rosbridge_websocket]: Exception calling subscribe callback: 'bytearray' object has no attribute 'get

ROS Version (echo $ROS_DISTRO): Ros2 Galactic
OS Version (grep DISTRIB_CODENAME /etc/lsb-release): Focal

Steps To Reproduce
Publish Pointcloud2 msg
launch rosbridge
connect with foxglove

Expected Behavior
see pointcloud

Actual Behavior
nothing to see

@an99990 an99990 added the bug label Aug 11, 2022
@ben-congram
Copy link

I was receiving a similar error message when trying to subscribe to a large PointCloud2 msg: [rosbridge_websocket]: Exception calling subscribe callback: 'bytes' object has no attribute 'get'. Increasing the value of the max_message_size parameter solved the issue for me.

@simon-eis
Copy link

I had a similar error message when trying to subscribe to a video stream.
[rosbridge_websocket]: Exception calling subscribe callback: 'bytes' object has no attribute 'get'
For me the solution was to downscale the videostream now everything works fine and i can visualize the videostream in foxglove studio. I did not test the fix with increasing max_message_size. The datarate of the original stream was 24.8 MB per image with 20 FPS this computes to 496 MB/s, which was obviously too much for the rosbridge.

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

No branches or pull requests

3 participants