Lynxmotion Tech Support

www.lynxmotion.com
Join the Accelerator Program
It is currently Thu Apr 24, 2014 4:24 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Nov 30, 2009 4:43 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 9:21 pm
Posts: 4049
Location: Central Coast, CA, USA
I'm thinking of adding some direct "servo" commands to a 'quad version of the Phoenix code set up for serial.

I have the serial working, similar to the old PowerPod version of the code. But instead of just stuffing DualShock with simulated PS2 joystick data, I wish to parse SSC-32 servo commands, like "#3 P1500". This seems like a good way to be able to accept commands from the SEQ program, or LynxTerm. I basically know how to do all that.

What I'm looking for is the "mode" byte DualShock(0) that may be sent by the Serial_CP_H3 program. I'm guessing that SCP sends something. I'm hoping that it's different from the PS2! Maybe not. But if it is, it's a good way to detect a servo command instead of a PS2 command (and buffer would be longer). Or perhaps I can look for a '#' sent as the first byte. That might work too.

So what this starts to look like is another "pass through", but I'll do some processing on the servo commands first, and maybe save some of the data (offsets).

What would be really great is if SCP could generate servo commands its self! And then a little extra parsing like I've mentioned above would decode at the 'bot end.

Thoughts?

Alan KM6VV

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© 2014 RobotShop Distribution inc. All rights reserved.
Powered by phpBB® Forum Software © phpBB Group