Caculate robtarget.
Simotion
✭
in RobotStudio
I want to calculate a robtarget, with the property that the rotation of the tool is halfway between the rotations of the points before and after my newly calculated robtarget.
So I have a robtarget to start the movement, this robtarget is known, I have an endpoint of the movement, also a known robtarget, and finally I want to create a point between both, where the rotations are halfway between start and end, to create a fluent transition from start to end, and where the rotation of the tool is done over the whole distance between start and end.
Start- and endpoint have the usual notation with quaternions to define the rotoation of the tool.
So I have a robtarget to start the movement, this robtarget is known, I have an endpoint of the movement, also a known robtarget, and finally I want to create a point between both, where the rotations are halfway between start and end, to create a fluent transition from start to end, and where the rotation of the tool is done over the whole distance between start and end.
Start- and endpoint have the usual notation with quaternions to define the rotoation of the tool.
0
Comments
-
Question: Are you trying to do this from the RobotStudio UI, an add-in or from RAPID?Anyway, the nice thing with quaternions is how easy it is to interpolate orientations with them. Search for slerp or quaternion interpolation if you interested in more details.For a RobotStudio add-in, look at the Quaternion class, and its Interpolate() method.You will also have to do a linear interpolation (lerp) of the target positions. For add-ins, look at the LinearInterpolate() method on the Vector3 class./AndersAnders Ekelund
Architect, RobotStudio
ABB0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings