Skip to content

CPU usage 4x higher in ROS 2 than ROS 1 #2031

Description

@Ryanf55

Description

Hello,

When testing the same MAVROS set of plugins and stream rates, we observe MAVROS on ROS 2 using 4x the CPU usage of ROS1.
Is this expected, or are there any mitigations?

Enabled Plugins:

/mavros/cmd
/mavros/debug_value
/mavros/distance_sensor
/mavros/geofence
/mavros/global_position
/mavros/gps_input
/mavros/gpsstatus
/mavros/guided_target
/mavros/imu
/mavros/local_position
/mavros/mavros
/mavros/mavros_node
/mavros/mavros_router
/mavros/mission
/mavros/nav_controller_output
/mavros/rangefinder
/mavros/rc
/mavros/setpoint_raw
/mavros/sys
/mavros/terrain
/mavros/time
/mavros/transform_listener_impl_aaab0c310108
/mavros/vfr_hud
/mavros/wind

ROS DIstro: Jazzy
Middlware: FastDDS

Best,
Ryan

ROS 1

TBD

ROS 2 top

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions