JAKA Example Program

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

This topic introduces the example programs that perform an actual pick-and-place task.

Example Programs

Please make sure that you have loaded the example programs.

The example programs are as follows.

Obtain Vision Result from Mech-Vision

In the Programming control window, drag the instructions in sequence as shown below, or open the loaded mm_vis_sample program.

jaka example program1

Program Description

  • The program name is mm_vis_sample.

  • Connect the robot with the IPC. You should set the IP address and port number of the IPC. Please refer to MM_Connect for details.

  • Start Mech-Vision project. You should set the project ID, number of poses you expect to receive, and the type of the pose that robot sends to Mech-Vision. Please refer to Start_Vision for details.

  • Wait for one second to prevent the robot from shaking and therefore the image-capturing process will not be affected.

  • Receive the vision result from the Mech-Vision project. You should set the project ID. Please refer to Get_Vision for details.

  • Move the robot to the vision point received from Mech-Vision. You can set a waypoint to which the robot should move, the velocity, acceleration during moving, and the tolerance of the waypoint. Please refer to Move_Vis_Target for details.

Obtain Planned Path from Mech-Viz

In the Programming control window, drag the instructions in sequence as shown below, or open the loaded mm_viz_sample program.

jaka example program2

Program Description

  • The program name is mm_viz_sample.

  • Connect the robot with the IPC. You should set the IP address and port number of the IPC. Please refer to MM_Connect for details.

  • Start the Mech-Viz project. You should set the type of pose that the robot sends to Mech-Viz. Please refer to Start_Viz for details.

  • Select the branch along which the project should proceed. You should set the Step ID of the Branch by Msg Step and the exit port number. Please refer to Set_Branch for details.

  • Receive the data from Mech-Viz. You should set the type of the returned waypoint pose. Please refer to Get_Viz for details.

  • Move the robot to the waypoint in the path planned by Mech-Viz. You can set a waypoint to which the robot should move, the velocity, acceleration during moving, and the tolerance of the waypoint. Please refer to Move_Viz_Target for details.

Obtain Planned Path from Mech-Vision

In the Programming control window, drag the instructions in sequence as shown below, or open the loaded mm_vispath_sample.

jaka example program3

Program Description

  • The program name is mm_vispath_sample.

  • Connect the robot with the IPC. You should set the IP address and port number of the IPC. Please refer to MM_Connect for details.

  • Start Mech-Vision project. You should set the project ID, number of poses you expect to receive, and the type of the pose that robot sends to Mech-Vision. Please refer to Start_Vision for details.

  • Wait for one second to prevent the robot from shaking and therefore the image-capturing process will not be affected.

  • Receive the path planned by the “Path Planning” Step from the Mech-Vision project. You should set the project ID and the type of the returned waypoint pose. Please refer to Get_Vis_Path for details.

  • Move the robot to the waypoint in the path planned by the project. You can set a waypoint to which the robot should move, the velocity, acceleration during moving, and the tolerance of the waypoint. Please refer to Move_Viz_Target for details.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.