ros-industrial / ros2_canopen

CANopen driver framework for ROS2
https://ros-industrial.github.io/ros2_canopen/manual/rolling/
143 stars 63 forks source link

Add boot timeout and retry #205

Open hellantos opened 11 months ago

hellantos commented 11 months ago

This PR will add a boot timout and retry the configuration upload. Thi should help with the boot issues some users are reporting.

The master will now report that the boot configuration has timed out if it takes longer than 1s. If the configuration process fails, the master shall retry the configuration once.

jclinton830 commented 11 months ago

@ipa-cmh have you tested this? I don't see a function declaration for the onConfig function. Also, you have not added the TimedOut to the enum class LelyBridgeErrc.

hellantos commented 11 months ago

Not yet done.