ros-industrial / ros_canopen

CANopen driver framework for ROS (http://wiki.ros.org/ros_canopen)
GNU Lesser General Public License v3.0
336 stars 271 forks source link

Log output of /init and /recover services #343

Closed jschleicher closed 4 years ago

jschleicher commented 5 years ago

Duplicate the reason that is put into the service response string onto the terminal in case of failures. Implements #319

jschleicher commented 4 years ago

@ipa-mdl How about outputting the content of res.message at the end of the function (see my second commit)?

mathias-luedtke commented 4 years ago

It still does not print the warning in all case. (Mostly, because I like my code to jump out as soon as possible..)

I wil try to come up with a proposal.

Hopefully next week..