Closed ahendrix closed 11 years ago
[hsu] yes... these were artifacts of trying to match motor rotation to joint rotation. Back in March we talked about changing these back to positive joint axis, but it wasn't deemed a top priority.
[vpradeep] '''Pros:'''
'''Cons:'''
[watts] I'd have to change some scripts, but the sooner we make this the better. I'd be a supporter of anything that makes it easier to use the PR2. Now is the time to make the change, before we release Betas and while the Alpha's aren't in use. Dec 1 is the best time for me, I'll be back from IREX.
One possibility is to fix the Beta defs but not Alpha. That would make it much harder to port manipulation code from Alpha to Beta. That code will need to be ported if we make this switch anyway.
[berger] Before making this change, we neeed to make a list of all places that will be affected, including
[hsu] added patch for pr2_common
stack related to this update
[rphilippsen] TAO translation would be easier after the switch. That said, my current code treats -1 and +1 the same in the above cases... so no worries.
[hsu] flipper in:
[vpradeep] Note that negating these joints also messes up the robot calibration procedure. I think the calibration search velocity and ref positions will both have to be negated as well.
[vpradeep] Ok... so I think this is what needs to change to get the robot to boot up correctly:
Any thoughts are welcome.
[vpradeep] PRF, PRG, and PRE now are running with the flipped joints.
r27270
[watts] This isn't working on a Beta wrist. Looking at r27270, it looks like the Beta wrists (in pr2_description) have the opposite flex side as the pr2_defs. I'm changing it, will let you guys know if it works.
This should have been tested on both pr2_defs/pr2_descriptions wrists before closing.
[hsu] Kevin, can you point out the offending file? Thanks, John
[watts] I just fixed this and tested it on Beta HW using pr2_description. Changed pr2_description, pr2_default_controllers.
Changes in r27323.
[vpradeep] Can this ticket now be closed?
Refer to: stacks/pr2_common/pr2_defs/defs/arm/arm_defs.urdf.xacro
''forearm roll joint'' {{{
}}}
''wrist flex joint'' {{{
}}}
Both of these axes are along '''negative''' axes. I was fairly certain that a long time ago (~1 year ago?) we decided that all of these should be along the positive axes.
Do we want to change these? It's definitely a very breaking change.
trac data: