-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hello,
I am currently running a tx90xl and send trajectory messages to the arm by creating a publisher to generate custom trajectories to send to industrial robot client. The publish rate varies and is sometimes dependent on subscribed topic and other processes.
The progress of the arm falls far behind the trajectory and motion buffer and the arm inevitable executes stale commands as it tries to clear the buffer.
I would like to be able to send commands at any rate and have the arm execute the latest it receives and not store all of them to execute.
I am not familiar with val3 and have tried to edit the pgx files to clear the buffers or to change the size but have not been successful.
I add the following lines to after the movej command in motionControl
call libQueueFuncs:clear(qTrajPtBuffer)
call libQueueFuncs:clear(qMoveBuffer)
The buffer still does not clear to only execute new trajectories it receives.
Any help/suggestions would be much appreciated!