Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4Java)  1.26.2
GroupMovement.java
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // MLPI - <GroupMovement.java>
3 // -----------------------------------------------------------------------
4 // Copyright (c) 2012 Bosch Rexroth. All rights reserved.
5 // Redistribution and use in source and binary forms of this MLPI software
6 // (SW) provided to you, with or without modification, are permitted
7 // without prior approval provided that the following conditions are met:
8 //
9 // 1. Redistributions of source code of SW must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 //
12 // 2. Redistributions in binary form of SW must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 //
16 // 3. User recognizes and acknowledges that it acquires no right,
17 // title or interest in or to any of the names or trademarks used in
18 // connection with the SW ("names") by virtue of this License and waives
19 // any right to or interest in the names. User recognizes and acknowledges
20 // that names of companies or names or products of companies displayed
21 // in the documentation of SW to indicate the interoperability of products
22 // with the SW are the names of their respective owners. The use of such
23 // names in the documentation of SW does not imply any sponsorship,
24 // approval, or endorsement by such companies of this product.
25 //
26 // 4. Modified code versions, i.e. any addition to or deletion from
27 // the substance or structure of the original code of the SW running
28 // the MLPI must be plainly marked as such and must not be misrepresented
29 // as being original SW.
30 //
31 // 5. The SW may only be used in connection with a Bosch Rexroth product.
32 //
33 // THIS INFORMATION IS PROVIDED BY BOSCH REXROTH CORPORATION "AS IS"
34 // AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING
35 // (BUT NOTLIMITED TO) ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
36 // FITNESS FOR ANY PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WHILE THE
37 // INFORMATION PROVIDED IS BELIEVED TO BE ACCURATE, IT MAY INCLUDE
38 // ERRORS OR INACCURACIES.
39 // SUBJECT TO COMPULSORY STATUTORY PROVISIONS OF THE GERMAN LAW AS
40 // THE APPLICABLE LAW FOR THIS LICENSE BOSCH REXROTH CORPORATION WILL
41 // NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF
42 // THE SOFTWARE DISTRIBUTED HEREUNDER, INCLUDING BUT NOT LIMITED TO
43 // DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES.
44 // -----------------------------------------------------------------------
45 //
55 //
56 // -----------------------------------------------------------------------
57 package com.boschrexroth.mlpi;
58 
75 public class GroupMovement extends MlpiComponent{
76 
77  /*
78  * Fields
79  */
80  private final Robot.GroupRef _groupRef;
81  private long _motionHandle;
82 
83 
84  /*
85  * Methods
86  */
87 
92  GroupMovement(MlpiHandle connection, Robot.GroupRef groupRef) {
93  super(connection);
94  _groupRef = groupRef;
95  _motionHandle = 0;
96  }
97 
111  public native void MoveLinearAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
112 
126  public native void MoveLinearRelative(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
127 
141  public native void MoveDirectAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
142 
163  public native void MoveDirectRelative(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
164 
179  public native void MoveCircularAbsolute(RobotPoint midPoint, RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
180 
204  public native void MoveCircularRelative(RobotPoint midPoint, RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType);
205 
229  public native void MoveJumpAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType, double startHeight, double maxHeight, double endHeight);
230 
239  public native void SyncOnWithLimits(Motion.AxisRef beltAxis, double acceleration, double jerk);
240 
251  public native void SyncOffWithLimits(Motion.AxisRef beltAxis, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode);
252 
268  public native void OpenCyclicChannel(double deceleration, double jerk, double radius, Robot.RobotSetMode setMode);
269 
284  public native void WriteCyclicChannel(RobotPoint point, Robot.RobotCyclicMode cyclicMode);
285 
292  public native void WaitForDone(long timeout);
293 
300  public native void WaitForActive(long timeout);
301 
308  public native void WaitForInBuffer(long timeout);
309 
320  public native void Stop(double deceleration, double jerk, boolean stop);
321 
329  public native void Interrupt(double deceleration, double jerk);
330 
336  public native void Continue ();
337 
348  public native void JogStep(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk);
349 
360  public native void JogCont(RobotPoint direction, double velocity, double acceleration, double deceleration, double jerk);
361 
378  public native void StopCmd(Robot.RobotMotionHandle motionHandle);
379 
394  public native Robot.RobotMotionHandle GetMotionHandle();
395 }
native void WaitForDone(long timeout)
native void MoveLinearAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
native void WriteCyclicChannel(RobotPoint point, Robot.RobotCyclicMode cyclicMode)
This class defines the axis through the definition of control and axis number.
Definition: Motion.java:417
native void MoveDirectAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
This class defines the command ID of a motion command (motionhandle). You may want to use this class ...
Definition: Robot.java:852
This enumeration must be used when defining the slope for blending.
Definition: Robot.java:237
native void SyncOnWithLimits(Motion.AxisRef beltAxis, double acceleration, double jerk)
native void Interrupt(double deceleration, double jerk)
Class definition of the mlpiRobotLib.
Definition: Robot.java:84
native void OpenCyclicChannel(double deceleration, double jerk, double radius, Robot.RobotSetMode setMode)
native Robot.RobotMotionHandle GetMotionHandle()
native void WaitForActive(long timeout)
This class defines the reference in order to reference to the connected control and the robot that wi...
Definition: Robot.java:557
native void JogStep(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk)
native void MoveJumpAbsolute(RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType, double startHeight, double maxHeight, double endHeight)
native void MoveLinearRelative(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
This enum defines the type of a cyclic position command.
Definition: Robot.java:354
native void SyncOffWithLimits(Motion.AxisRef beltAxis, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode)
native void MoveCircularAbsolute(RobotPoint midPoint, RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
native void Stop(double deceleration, double jerk, boolean stop)
Class definition of the MotionLib.
Definition: Motion.java:66
native void MoveDirectRelative(RobotPoint distance, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
native void MoveCircularRelative(RobotPoint midPoint, RobotPoint endPoint, double velocity, double acceleration, double deceleration, double jerk, double radius, Robot.RobotSetMode setMode, Robot.RobotSlopeType slopeType)
native void WaitForInBuffer(long timeout)
native void StopCmd(Robot.RobotMotionHandle motionHandle)
This enumeration must be used when defining the blending.
Definition: Robot.java:149
native void JogCont(RobotPoint direction, double velocity, double acceleration, double deceleration, double jerk)