Hi! I have a problem with the ros2 interface of CoppeliaSim, and i don't know if it is a Ros2 related problem, of the interface or mine.
If i launch the subscriber, and then start the simulation, the ros node exits, and i need to relaunch it. If i follow the opposite order, everything is ok.
This is not generally a problem, but in my case (two wheels balancing robot), it is since the robot starts immediately to fall.
Thank you!
Ros2 subscriber problem when simulation starts
Re: Ros2 subscriber problem when simulation starts
I simply fix just ignoring the first callback in the subscriber. Maybe there is some problem in the first message, and some NULL pointer going on.