Open janandries opened 3 years ago
is there any update on this? this is preventing the tmrlib from reconnecting properly when the ListenNode comes back online
Hi there ! Same error here but starts immediatly after first connect. Did you manage to solve it ? I'lll try to on my own and keep you updated if I succeed. Bye
I solved my issue, for those that are interested:
Data_Table_Setting_TM_ROS_Default
The driver in
tmrlib
keeps reconnecting, even after the connection is reported to be ok.To reproduce:
Below the output of starting the listennode after the tmr_driver is started, which will produce the same behavior. I added printing of the return code from the
sct_func
function https://github.com/TechmanRobotInc/tmr_ros2/blob/d4841bb0fa3bf2aba1d55feb735949867ac2feea/tmr_driver/src/tmr_ros2_sct.cpp#L129Output:
... here I start the ListenNode in the TMFlow ...
etc. etc.
As you can see the TM_COM prints out
Connection is ok
and thatTM robot is conneted. sockfd:=33
, but it returns a feedback code 3 (CommRC::NOTCONNECT
) however, causing the tmr_sct driver to keep trying to reconnect.