-
Notifications
You must be signed in to change notification settings - Fork 92
Description
HI,
I am trying out the roboclaw with ros and i have sucessfully made it work with teleop_twist_keyboard and joy_teleop. The problem is that the Roboclaw_node dies after a while when i have the button "pressed in" or the joystick pressed in.
I get the following error:
process[rosout-1]: started with pid [14545]
started core service [/rosout]
process[roboclaw_node-2]: started with pid [14562]
process[diagnostic_aggregator-3]: started with pid [14563]
Traceback (most recent call last):
File "/home/nvidia/rfbot/src/roboclaw_ros/roboclaw_node/nodes/roboclaw_node.py", line 305, in
node.run()
File "/home/nvidia/rfbot/src/roboclaw_ros/roboclaw_node/nodes/roboclaw_node.py", line 232, in run
rospy.logdebug(" Encoders %d %d" % (enc1, enc2))
TypeError: %d format: a number is required, not NoneType
[roboclaw_node-2] process has died [pid 14562, exit code 1, cmd /home/nvidia/rfbot/src/roboclaw_ros/roboclaw_node/nodes/roboclaw_node.py __name:=roboclaw_node __log:=/home/nvidia/.ros/log/ae2a0626-c880-11e7-8a40-00044b8cfad9/roboclaw_node-2.log].
log file: /home/nvidia/.ros/log/ae2a0626-c880-11e7-8a40-00044b8cfad9/roboclaw_node-2*.log
any suggestions how to fix this?