Skip to content

How to send trajectory points and create a buffer #569

Answered by ted-miller
emielkemmm asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @emielkemmm
When a point is received, it is broken down into 4ms increments. These increments get stored in an internal queue. That queue holds up to 200 increments.

When a subsequent point is received, the code will return BUSY until all of the increments from the first point have been populated into the queue. Once the first point has been increment-ized, then the code will accept another incoming point and start breaking it into increments.

So as long as your second point comes in before the queue is empty, then you should get smooth continuous motion. Since there are 200 four-millisecond increments in the queue, you've got a window of 800 ms to submit the followup point before the …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@emielkemmm
Comment options

@ted-miller
Comment options

Answer selected by emielkemmm
Comment options

You must be logged in to vote
1 reply
@emielkemmm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants