calcuale midpoint of arc

in RobotStudio
Does anyone have a routine or function that will calculate midpoint of an arc, given the 2 end points? One of my paths contain an arc. I want to break the arc into 2 segments. The midpoint of the original arc will now be the end of the 1st arc and start of the 2nd arc. However, I only want to teach the 3 points of the original arc and calculate the additional midpoints. Instead of having one MoveC, I will now have 2 MoveC's consecutively. The 3 points from the original arc is enough information to calculate everything else, I was hoping someone has already done the code, or something similar.
0
Comments
-
I have one but it's only good when the orientation of the points are on the same plane (same Z direction).
Not quite sure how to interpolate quaternion orientations.0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings