Is thee a way to do a buffered velocity/speed command?
Posted: Wed Apr 27, 2022 5:19 pm
hi--
I'm attempting to use a RC 2x7a to control the position of a telescope. What I'm trying to do is a position move on both motors and I don't really care with motor finishes first. One of the axis need begin a velocity move at a low speed for the telescope to track the object in the sky.
I can use cmd 122 - Buffered Drive M1 with Speed and Position to start the move and what would be perfect was to add another buffered command to start the velocity command. I have it working by reading the command buffer and once it returns 0x80. I know I can read the buffer with a cmd 35, but that requires constant polling, not very efficient.
So is there any sequence of commands that allow a move to a position and then keep a constant speed afterwards? I was trying to see if there was a way to have the decel stop above zero, which would allow it exit the position with a speed, but no luck.
Thanks,
Ron
I'm attempting to use a RC 2x7a to control the position of a telescope. What I'm trying to do is a position move on both motors and I don't really care with motor finishes first. One of the axis need begin a velocity move at a low speed for the telescope to track the object in the sky.
I can use cmd 122 - Buffered Drive M1 with Speed and Position to start the move and what would be perfect was to add another buffered command to start the velocity command. I have it working by reading the command buffer and once it returns 0x80. I know I can read the buffer with a cmd 35, but that requires constant polling, not very efficient.
So is there any sequence of commands that allow a move to a position and then keep a constant speed afterwards? I was trying to see if there was a way to have the decel stop above zero, which would allow it exit the position with a speed, but no luck.
Thanks,
Ron