March 20, 2019, 01:37:33 AM
Robotforum | Industrial Robots Community

 getLastExecutedMotion() method - problem

Author Topic:  getLastExecutedMotion() method - problem  (Read 486 times)

0 Members and 1 Guest are viewing this topic.

March 28, 2018, 06:52:46 PM
Read 486 times
Offline

Marhy


Hi guys,

i have a problem with method getLastExecutedMotion(); (code bellow)
This method should return a joint angles of next commanded position from my motion container (myTrajectory).
In motion container (myTrajectory) i have a sequence of motions - ptp(angles in radians).
The obtained values from this method (getLastExecutedMotion()) are not exactly the same (like in spMotions field). There are a little differences, in the range of decimal places.

where could be a problem?

Code: [Select]

IMotionContainer myTrajectory;
                    .
                    .
SplineJP sp = new SplineJP(spMotions);
                    .
                    .
myTrajectory= lbr.move(sp);
                    .
                    .
if (myTrajectory.hasFired(forceTCP)){   
IMotion nextPosition = myTrajectory.getLastExecutedMotion();
}

Thank you

Marhy

edit: solved!
« Last Edit: April 05, 2018, 05:35:22 AM by Marhy »

Today at 01:37:33 AM
Reply #1

Advertisement

Guest


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
Problem with simple circles, is there direct input method for programming them

Started by hodapp on Fanuc Robot Forum

3 Replies
2306 Views
Last post June 14, 2018, 12:43:12 AM
by macru
xx
Fanuc toolframe setting 6 point method vs 3 point method

Started by unsaint43 on Fanuc Robot Forum

2 Replies
2567 Views
Last post October 24, 2016, 01:07:10 PM
by robotero
xx
tcp 4 point method help

Started by lunknowl on ABB Robot Forum

1 Replies
930 Views
Last post March 27, 2017, 07:19:14 PM
by Iowan
question
does the krl can do rucorsive method?

Started by zeev on KUKA Robot Forum

19 Replies
9113 Views
Last post February 22, 2015, 08:13:01 AM
by zeev