Thumbnail

Roll Pitch Yaw

by Avatarptp

Plugin to visualize the Euler Angles (Roll, Pitch, Yaw).

Requires ARC v2 (Updated 4/26/2020)

How to add the Roll Pitch Yaw robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Misc category tab.
  5. Press the Roll Pitch Yaw icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the Roll Pitch Yaw robot skill.

How to use the Roll Pitch Yaw robot skill

Two instances different camera angles:

User-inserted image

Top Menus: Configuration - configuration form

Scroll Bars: Rotate Camera - When selected the top, bottom, right scroll bars controls the camera rotation (roll, pitch, yaw)

Position Camera - When selected the top, bottom, right scroll bars controls the camera distance from the object (x,y,z)

Rotate Object - When selected the top, bottom, right scroll bars controls the object (cube) rotation (roll, pitch, yaw)

Reset - sets 0,0,0 for the selected scroll bars

Show Camera Settings - Displays the camera position & rotation values

The Camera settings (excluding the object rotation) are saved to the project .

Configurations:

User-inserted image

User-inserted image

Controlling Variable - If specified an EZ-Script 3 position array variable is created to store the roll, pitch, yaw angles. The value is updated when the scroll bars are controlling the object and the user changes the values.

Monitoring Variable - If specified the plugin instance will monitor a 3 position array variable (roll, pitch, yaw) and use the values to rotate the cube.

Simple Test: Start a new Project Add the RollPitchYaw plugin Specify a monitoring variable: $rotation1 add the following script:


DefineArray($rotation1,3)

Repeat( $ax, 0, 2, 1) 
   $rotation1[0] = 0
   $rotation1[1] = 0
   $rotation1[2] = 0

   $angle = 0
   REPEATWHILE ($angle<=360)
     $rotation1[$ax] = $angle
     $angle = $angle + 1
     Sleep(50)
   EndRepeatWhile 

EndRepeat 

Hit Script Run!

Visualize the 360 degrees rotation over the 3 axis (Roll, Pitch, Yaw)


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
USA
#1  

Nice to see you againĀ ptp

thanks

Unknown Country
#2  

unable to load project error occurs.