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

Increase publishing rate of camera raw images onboard #17

Open
lukicdarkoo opened this issue Mar 27, 2020 · 0 comments
Open

Increase publishing rate of camera raw images onboard #17

lukicdarkoo opened this issue Mar 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lukicdarkoo
Copy link
Member

lukicdarkoo commented Mar 27, 2020

Camera ROS2 driver publishes raw RGB images at 3-4Hz locally even after transferring compression process on GPU. This can impact users who want to put computer vision algorithms onboard. One of the possible solutions may be to change the middleware, but it has to be investigated.

More information on this is available at:
#16 (comment)
and there is an issue on Fast RTPS:
eProsima/Fast-DDS#1107


https://www.theconstructsim.com/ros2-dds-fast-rtps-with-jaime-martin-losa/
Jaime Martin Losa mentioned two modes of Fast RTPS at 0:20, synchronous and asynchronous. Faster one, synchronous, is not default. We can try changing this.

Also, we can change the default QoS profile.


With synchronous mode and Fast RTPS I am getting the following error:

2020-04-17 13:35:09.475 [PUBLISHER Error] Data cannot be sent. It's serialized size is 921664' which exceeds the maximum payload size of '65416' and therefore ASYNCHRONOUS_PUBLISH_MODE must be used. -> Function create_new_change_with_params

for command:

FASTRTPS_DEFAULT_PROFILES_FILE=fastrtps.xml RMW_FASTRTPS_USE_QOS_FROM_XML=1 RMW_IMPLEMENTATION=rmw_fastrtps_cpp ros2 run epuck_ros2_camera camera

and Fast RTPS configuration from here

@lukicdarkoo lukicdarkoo added the enhancement New feature or request label Mar 27, 2020
@lukicdarkoo lukicdarkoo self-assigned this Mar 27, 2020
@lukicdarkoo lukicdarkoo changed the title Increase publishing rate of camera raw images locally Increase publishing rate of camera raw images onboard Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant