Closed bootsch closed 5 years ago
Reason for me to add it was in dev of so called live robot reader. Using kukaproxy var I read eather the axis or position and set accordingly in FK or IK. I didn't find any other way to determine the state in Mimic.
A somewhat related comment... but I'd recommend only grabbing axis values out of Maya instead of cartesian postions. If you set an E6POS on your kuka, you will need Status and Turn variables to ensure the joint positions on the robot match the Maya position, and I don't believe those are currently implemented in Mimic. You're better off sticking to axis values and matching poses with E6AXIS values.
That's true, we've only implemented poses for ABB. There's a transform we have to do to get from Maya coordinate space to KUKA coordinate space, then map status and turn to configs in Maya, which we haven't had a chance to do yet
@hsouders Thanks for the heads up 👍 The intention is indeed to add code to drive the bot. @evanatherton Thanks for adding the code.
The method returns wether the Mimic animation tab is in IK or FK mode. If there is no Mimic window it return None.