Hi all,
For my program I want to have a station point for every station and then offsets of that point. I made a screen where the users select a station and set it’s position, then they select a station and an offset position, then move the robot with the tp. Then they click a button which subtracts the offset from the station point and saves the point in a karel position in a struct object.
Then in the program I connect the station point with the offset and move to it. This makes it so that if the station moves I only have to set one station point and all the offsets will be in place already.
Problem is that my offset point is not always in the same configuration. That causes the robot to move to a wrong position when I connect them back...
How should I handle this?
Saving offsets
-
dangalg -
July 23, 2019 at 9:51 PM -
Thread is marked as Resolved.
-
-
It sounds to me like you are re-inventing the User Frame.
The station should be defined by a user frame and the offsets should just be regular points taught in that user frame.