iron-ox / fadecandy_ros

ROS Driver for the fandecandy LED driver board
6 stars 6 forks source link

Fadecandy does not reconnect if the first try failed on startup #18

Closed wongkaiweng closed 3 years ago

wongkaiweng commented 3 years ago

On the startup of the node, there are times when fadecandy failed to connect and you see a warning:

Failed to connect to Fadecandy device: Found Fadecandy device but could not connect; will retry every second

However, the fadecandy never connects. The only solution is to restart the node. This is different from #17 that it reconnects when you unplug and replug the fadecandy.

reinzor commented 3 years ago

I will look into this

reinzor commented 3 years ago

@wongkaiweng , tested this here but I cannot reproduce your issue.

ROS Noetic, 20.04

fc

wongkaiweng commented 3 years ago

Thanks for trying it out @reinzor. On our end, we are on Melodic 18.04. Let me see if I can get a single strip to run an isolated test.

reinzor commented 3 years ago

Resolved by #20