1. Home
  2. /
  3. Kuka-sunrise-extensions
  4. /
  5. Basic PTP Motion (KUKA Sunrise Java)

Basic PTP Motion (KUKA Sunrise Java) - Kuka-sunrise-extensions Typing CST Test

Loading…

Basic PTP Motion (KUKA Sunrise Java) — Kuka-sunrise-extensions Code

A Sunrise Application moving the robot to a predefined position using a PTP motion command.

import com.kuka.roboticsAPI.applicationModel.RoboticsAPIApplication;
import com.kuka.roboticsAPI.deviceModel.LBR;

public class MoveToPosition extends RoboticsAPIApplication {
	private LBR robot;

	@Override
	public void initialize() {
		robot = (LBR) getContext().getDeviceFromType(LBR.class);
	}

	@Override
	public void run() {
		robot.move(ptp(0, 0, 0, -90, 0, 90, 0));
	}
}

Kuka-sunrise-extensions Language Guide

KUKA Sunrise Extensions are add-on libraries and tools for KUKA industrial robots running the Sunrise OS. They enhance the core Sunrise Workbench programming environment (Java-based) by providing additional APIs, utilities, and modules for robot motion control, safety, simulation, and application integration.

Primary Use Cases

  • ▸Advanced robotic motion sequences and path planning
  • ▸Integration with PLCs, sensors, and vision systems
  • ▸Safety-compliant motion and force monitoring
  • ▸Simulation and testing of robotic tasks before deployment
  • ▸Custom application development with reusable modules

Notable Features

  • ▸Extended Java API for Sunrise Workbench
  • ▸Pre-built motion and safety modules
  • ▸Integration with external devices and networks
  • ▸Simulation and testing support
  • ▸Modular and reusable programming components

Origin & Creator

Developed by KUKA Robotics as part of the Sunrise OS ecosystem to provide enhanced robot functionality beyond the base Java API.

Industrial Note

Essential for roboticists, automation engineers, and integrators working on KUKA Sunrise robots in industrial, automotive, and high-precision manufacturing environments.

More Kuka-sunrise-extensions Typing Exercises

SmartServo Real-Time Control

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher