Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def jnt_state_cb(self, msg):
cmd = JointCommand()
cmd.name = self.name
cmd.effort = 190.0 * (self.pos_desi - pos) - 4.0 * self.vel
print 'Joint at %f, going to %f, commanding joint %f'%(pos,self.pos_desi, cmd.effort)
print('Joint at %f, going to %f, commanding joint %f'%(pos,self.pos_desi, cmd.effort))
self.pub.publish(cmd)


Expand Down
2 changes: 1 addition & 1 deletion nxt_ros/src/nxt_ros/nxt_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def main():

# Define exit handler
def cleanup_node():
print "Shutting down node"
print("Shutting down node")
for c in config:
if c['type'] == 'color':
# If there's a color sensor, turn off the LED light
Expand Down