Closed juhannc closed 1 year ago
@juhannc not implemented at this point. But if you know which system variable holds the acceleration and velocity value, you can write a wrapper.
@torayeff thank you for the info! I'll try and see if I can read the data and extend the package. Closing this for now
Access to dynamics and related state information is just not something that's really readily available on Fanucs. Additionally, the low rate at which the Karel VM is running would lead to rather noisy data in any case. Especially the higher derivatives -- and that's without the overhead of network communication, which would make things even less deterministic (jittery).
Other robot brands might be easier to work with.
Edit: to clarify, I'm not saying it's impossible to get this information. Just that it's not easy.
@gavanderhoorn thanks for the heads-up, appreciate it! Sadly though, using the fanuc wasn't my choice but I'm stuck with it for now :/
using the fanuc wasn't my choice but I'm stuck with it for now :/
yes, that's typically how it happens.
If you have the option, try looking into J519
(or: Stream Motion) or R891
(or: High Speed Position Output).
If you do find some system variables that contain (the) information you're interested in, at least one of those options should allow you to retrieve their values at much higher rates and with much less jitter than any Karel program would ever be able to.
Awesome, thank you! Will look into it!
Is it possible, to get the current joint velocities and accelerations similar to
robot.get_curjpos
? Is there maybe a custom command one can send or a routine one can define?Thank you