Home | Tutorials | Wiki | Issues
Ask Your Question
1

DRC Control issue: Bad joint_states when in Nominal mode [closed]

asked 2013-02-13 17:26:49 -0600

pbeeson gravatar image

updated 2013-02-13 17:58:48 -0600

nkoenig gravatar image

We have found a bug where if we keep the Atlas robot pinned, that joint_states reported are correct. however, when switched to Nominal mode (the default when launching Atlas in an empty world after 10 seconds or so), that joint_states starts sending incorrect values but it seems like the internal joint controller sees the correct values, so any kind of closed loop control cannot be performed correctly.

To Reproduce:

Make a node that can sends a position to the neck joint through /atlas/joint_commands.

Launch atlas and watch /atlas/joint_states/positions[3] (the neck) start at 0, then after the robot becomes unpinned, it goes to -0.05 (or similar). Send the joint_command to ask the neck to return to 0. It doesn't, because we think the controller internally believes that it is already at zero.

Now, send the service message to repin Atlas, and watch the joint value go back to 0.

While pinned, you can send the neck joint a new position goal, let's say 0.3. It will go there using the PID in the Gazebo plugin. Unpin the robot, and watch the value go to 0.25. So, because the joint_states for the neck joint are off by -0.05 radians, any closed loop control gets confused because it's always chasing this offset.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by nkoenig
close date 2013-09-19 10:00:51.309235

Comments

This may not be a "bug", but it is an unfortunate situation where Nominal mode (which is difficult to use for control tuning because the robot easily falls/collapses) has steady state offset that requires constant, non-zero force to remain stable, whereas "pinned mode" (which is easy to use for control tuning) does not. More documentation on this at the bitbucket issue above.

pbeeson gravatar imagepbeeson ( 2013-02-13 20:45:55 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-13 17:39:06 -0600

ThomasK gravatar image

bugs can be reported in the bitbucket drcsim repo, i created an issue for you: https://bitbucket.org/osrf/drcsim/issue/127/bad-joint_states-when-in-nominal-mode

thanks for letting the other teams know!

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-13 17:26:49 -0600

Seen: 556 times

Last updated: Feb 13 '13