Xan:
Hi Mike,
I’m happy to hear you found the issue!
I’m in for option #1 as well. I’m always making my code move to the start position as close as possible so full speed would be fine. Making a controlled move to the start position is also possible with the command you posted. Great!
Just an idea: Is it also possible to make a optional time argument in the player start command?
PL0 SQ6 IX0 T1000
The reason I’m asking this is because the BAP need to send 2 commands and have to time/wait between sending the 2 commands. Having this in one command should be easier on the BAP side. I’ve no idea how hard it is on the SSC side but I’m sure you know. Your option #1 will perfectly, this is just nice to have.
Thanks!
Xan
OK, it’s unanimous. I’ll implement option #1 .
Let me make sure I understand. If there were a T command when starting the player, you would like this to explicitly specify the time to move into the starting position before playing the sequence, right? It’s a very good solution that I would have put in up front if I had thought of it, but I’ll have to study the code to see how much difficulty (and risk of adding new bugs) it would cause to add it now.
Thanks for the feedback.
Mike
xan
July 10, 2009, 5:29pm
22
Hi Mike,
miked:
Let me make sure I understand. If there were a T command when starting the player, you would like this to explicitly specify the time to move into the starting position before playing the sequence, right?
You totally got it
I’ll understand! Whatever solution suits you the most.
Thanks! Xan
We’ve got a new GP firmware beta (2.04GP_BETA2) available now:
lynxmotion.com/Product.aspx? … #downloads
zenta
July 15, 2009, 7:48am
25
Xan:
And it works perfect!
I’ve not tried it yet, but that sounds great!
Thanks Mike!
Xan:
And it works perfect!
Thanks Mike!
You’re welcome.
I was able to implement the T option when starting a player. If no time is specified, e.g.
PL0 SQ6
then it will move to the first position ASAP, respecting the max speeds for the sequence. If a time is specified, e.g.
PL0 SQ6 T1000
then it will take that amount of time to move to the start position (or more time if needed to respect the max servo speeds).
Thanks for your patience and assistance during debug.
Mike