Skip to content

Failed to run peer-to-peer with dashing #66

@LanderU

Description

@LanderU

Hello!

We're facing some issues after the update of the code for dashing. We're not able to run the code using the instructions of the README.md:

ros2 run performance_test perf_test -c ROS2 -t Array1k --roundtrip_mode Main #One machine
ros2 run performance_test perf_test -c ROS2 -t Array1k --roundtrip_mode Relay #Second machine

Error log:

>>> [rcutils|error_handling.c:106] rcutils_set_error_state()
This error state is being overwritten:

  'Unknown QoS Liveliness policy, at /home/erle/ros2_ws_dashing/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/qos.cpp:127'

with this new error message:

  'failed to get datawriter qos, at /home/erle/ros2_ws_dashing/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_publisher.cpp:163'

rcutils_reset_error() should be called after error handling to avoid this.
<<<
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
  what():  could not create publisher: failed to get datawriter qos, at /home/erle/ros2_ws_dashing/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_publisher.cpp:163, at /home/erle/ros2_ws_dashing/src/ros2/rcl/rcl/src/rcl/publisher.c:171

We think the error is here:

Looking as example of demos:

Let me know if this make sense for you, or we're doing something wrong.

Thanks in advance!

Metadata

Metadata

Assignees

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