So, I finally got time to try the procedure, the robot was not accessible beforehand.
I booted up, powered the arm, jogged a bit, powered off arm, logged via SSH and rm’d the .last_see_joint_positions.conf, powered up arm and the recovery mode came up, but the axis 3 is still offset by 360deg, indicating -355deg when it should be 5deg.
I then tried the same procedure but deleting the .last_see_joint_positions.conf file before rebooting the controller, also after rebooting the controller, to see if the file was maybe already loaded in RAM, no change.
I then looked at the content of the .conf file and the revolutions
line indicate the axis 3 as -1 revolutions. So i tried changing it to 0, but it seems to be ignored, powering up the arm shows again -355° on axis 3 when it’s straight up. also changing the angles
value of axis 3 does not trigger a recovery mode error, so I’m not sure how to proceed next, I would have thought that a simple update of the revolutions
value would have fixed it since that’s the actual issue, but it seems like the controller overwrites it when powering down, and loads it in RAM on boot as if I change the value over SSH, powering off-on the arm does not seem to take into account whatever I write in this file for axis 3 position. So on this assumption I manually overwrote the revolutions
line for axis 3 but triggered a hard shutdown to prevent the file from being overwritten with whatever was in RAM, but on boot and power up the file was overwritten and back to -1 revolutions…
I then proceeded to power off the robot, take out axis 3 cover and manually move the arm past the -360deg point by unclutching the brake, powered up, it said there was a large movement while off, went into recovery but indicates -400deg. I powered off, removed the .last_seen_joint_positions.conf and powered up but it is still thinking it’s at -400deg.
Basically something remembers the revolution count, as I’d assume it would be starting at 0 otherwise when reset? Is there some other file that keep track of that?