Lynxmotion Tech Support

www.lynxmotion.com
It is currently Wed May 22, 2013 12:54 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Beta Phoenix 2.1 code
PostPosted: Tue Sep 27, 2011 12:39 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
As most of you probably already know, Xan has been readying a new version of the Phoenix code that has some new features, with some help from Zenta and a little from me. After playing around with it for quite awhile, we think it is good enough to allow others to try it out. :D

Warning: This version uses binary commands to communicate with the SSC-32. This implies that you will need to update your SSC-32 to a version that supports binary commands, such as: http://www.lynxmotion.com/images/files/ ... GP_A1A.abl Also by default we communicate with an SSC-32 at 115200, which requires a recent copy of Basic Micro IDE. Also you will need to set the appropriate baud rate jumpers on the SSC-32.

Some other features of V2.1 include:

New Gait Triple Tripod (Zenta) DONE, and it ROCKS!

More accurate PWM constant - If I remember correctly this has to do with how the conversion is done from angle to PWM...

Something about SSC/BAP sync timing. - Updated code to make the timings of the different sequences more accurate.

Configure leg lengths for each leg DONE - You now have the ability to have legs with different lengths of segments...

Optional 3DOF/4DOF using optional compiling - This part is still being tested. The code has the ability to be configured for 3DOF or 4DOF and may also allow you to mix and match. That is for example: you will be able to have a T-Hex with maybe the front legs be 4DOF and the rest be 3DOF. Again this part is still being tested. I should have some parts soon to convert my CHR-3 to a CHR-4...

LiPo Safety, useful for all LiPo owners - You can enable or disable and configure for what voltages will shut down the hex...

Movable Center Point of Rotation DONE

Change SSC/BAP/ARC specific functions to a separate driver file DONE - We have tried to minimize how many #ifdefs are in the main part of the code. To help with this, we moved all of the SSC-32 specific code into a separate file. We also have an ARC32 specific version that replaces those functions.

Update GP player for speed control (Zenta) - This is a lot of fun. Once you start up a sequence, if for example with the PS2 version, you move the right stick up and down while the sequence is playing you can control the speed and direction of the sequence. I believe by default we allow you to go up to double speed, but there are limits to this. That is the SSC-32 will only allow a step to speed up to the point that does not try to move the servo to the new location faster than some pre-defined max speed.

There are probably many other enhancements that I forgot to mention here.

Currently I have configurations built for a 3 DOF T-Hex running on a Bap28 with SSC-32 and a PS2 controller. I also have a similar configuration with the Serial control (works with the Powerpod serial test program). I also have a configuration for a Phoenix running with an Arc32 with PS2 control. Soon I will also upload some DIY XBee remote control versions, but these use my changes to the XBEE code.

Over the next week or so, I also hope to build a CHR-3 version as well, but currently my CHR-3 is being used to test the Arduino versions.

I hope you enjoy

Kurt


Attachments:
Phoenix Beta 2_1 T-Hex SSC-32 Serial.zip [21.13 KiB]
Downloaded 135 times
Phoenix Beta 2_1 T-Hex SSC-32 PS2.zip [21.19 KiB]
Downloaded 150 times
Phoenix Beta 2_1 Phoenix Arc32 Ps2.zip [31.17 KiB]
Downloaded 166 times
Top
 Profile  
 
PostPosted: Wed Sep 28, 2011 7:28 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Here is a version for the Phoenix that runs with Arc32 with the DIY XBee remote control. Note: this XBee version is using an updated version of the DIY transmitter code that has when only a few things change in the packet, it sends a different packet with delta information... The code is also setup to work with the old transmitter and the new transmitter code can work with the old clients... Also have updated Arduino DIY remote code updated for this as well... These updated programs will be updated in their threads...

The same control file also works with T-Hex running on Bap28 with SSC-32 as well. I have not generated the zip file for it yet as I reconfigured my T-Hex to use PS2 on the standard pins, so I need to reconfigure back to build this configuration...


Attachments:
Phoenix Beta 2_1 Phoenix Arc32 DIY Xbee with delts msgs.zip [44.91 KiB]
Downloaded 98 times
Top
 Profile  
 
PostPosted: Sun Oct 09, 2011 8:21 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
OK, I believe that the 4 DOF code is working reasonably now. Likewise the mix of 3 and 4 DOF is functional as well. More details of what I tested is in the thread: viewtopic.php?f=8&t=7687. I decided to split off the stuff about my THR-4 hex robot to a different thread.

As part of making the T-Hex 4DOF legs work with the new code base, I needed to add the concept of a ServoHornOffset for some of the servos. This was originally done by Zenta as part of the T-Hex4 code base. The offsets were converted to a per leg values as to again allow mixed types of legs. These changes required changes to the configuration files (..._cfg_.bas ). I rebuilt all of the zip files with the updated files. Hopefully I did not miss anything. I did not retest all of the configurations.

Kurt


Attachments:
File comment: New - THR-4 - Round Hex body with THex 4dof legs - Bap 28 - PS2
Phoenix Beta 2_1 THR-4 SSC-32 PS2.zip [21.6 KiB]
Downloaded 101 times
File comment: T-Hex 3DOF - Bap 28 - SSC-32 - Serial interface
Phoenix Beta 2_1 T-Hex SSC-32 Serial.zip [21.44 KiB]
Downloaded 88 times
File comment: T-Hex 3DOF - Bap28 - SSC-32 - PS2
Phoenix Beta 2_1 T-Hex SSC-32 PS2.zip [21.5 KiB]
Downloaded 97 times
File comment: Phoenix - Arc32 - PS2
Phoenix Beta 2_1 Phoenix Arc32 Ps2.zip [31.97 KiB]
Downloaded 117 times
File comment: Phoenix - Arc32 - DIY XBee remote control
Phoenix Beta 2_1 Phoenix Arc32 DIY Xbee with delts msgs.zip [45.72 KiB]
Downloaded 96 times
Top
 Profile  
 
PostPosted: Mon Oct 10, 2011 2:24 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3868
Location: Central Coast, CA, USA
Nice job Kurt!

Alan KM6VV

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


Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 11:32 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Thanks Alan,

Been having some fun...

As I mentioned in my TH4-R thread, I might make up a T-HEX 4DOF config file/project so someone could try it out on a configuration actually sold :D...

While doing it, I found the 3DOF T-Hex configuration file, had a couple of minor problems, in the initial positions. Most of the legs were changed from 105->102 or 75->72, except for one leg... So I fixed it. I did it by setting the actual desired offsets and then setup Sin/Cos of 45degrees and did a multiply. So it makes it easy to change 1 value and have it update all of the legs...

Kurt


Attachments:
File comment: T-Hex 3 DOF legs with SSC-32 and PS2
Phoenix Beta 2_1 T-Hex SSC-32 PS2.zip [21.56 KiB]
Downloaded 101 times
File comment: T-Hex 3 DOF legs with SSC-32 and Serial
Phoenix Beta 2_1 T-Hex SSC-32 Serial.zip [21.5 KiB]
Downloaded 97 times
File comment: T-Hex 4 DOF legs!!! with SSC-32 and PS2
Phoenix Beta 2_1 4DOF T-Hex SSC-32 PS2.zip [21.54 KiB]
Downloaded 82 times
Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 5:30 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3868
Location: Central Coast, CA, USA
I'd offer, but my hex is not exactly "factory" either!

One of these days I'll buy a "standard chassis" so that I'll have something to compare to...

Thanks for the updates!

Alan KM6VV

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


Top
 Profile  
 
PostPosted: Tue Nov 01, 2011 9:08 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
I was asked about DIY XBee version of T-Hex. I see I have not uploaded this. Warning I have not tested this version in awhile as I removed the XBee from my T-Hex such that the PS2 could have a standard configuration.


Attachments:
File comment: T-Hex DIY XBee version with Bap28 and SSC-32
Phoenix Beta 2_1 T-Hex SSC-32 DIY XBee.zip [33.59 KiB]
Downloaded 72 times
Top
 Profile  
 
PostPosted: Wed Nov 02, 2011 5:59 am 
Offline
Superguru of Robotics!!!
User avatar

Joined: Wed Nov 28, 2007 7:48 am
Posts: 1141
Location: Netherlands
Thanks :)

_________________
[b]Share, Use and Improve![/b]
Digging trough: [i]Theory of Applied Robotics: Kinematics, Dynamics, and Control[/i]
Xan's YouTube Channel
http://www.youtube.com/xanore


Top
 Profile  
 
PostPosted: Wed Nov 23, 2011 7:05 pm 
Offline
Roboteer
User avatar

Joined: Tue Dec 16, 2008 9:39 am
Posts: 42
Location: Germany
THANK YOU!!!!!
:)

_________________
http://www.youtube.com/mirage1207


Top
 Profile  
 
PostPosted: Sun Mar 11, 2012 10:58 am 
Offline
Roboteer
User avatar

Joined: Wed Jan 19, 2011 5:05 pm
Posts: 2
Great work!
Looking at code . . and was trying to get this version but I think I may need help.

Phoenix SSC-32 ps2
and eventually
Phoenix SSC-32 xbee

If you can, and when you can get to it, could you add the "Phoenix SSC-32 ps2" to the beta so I can speed up looking at it?
Thanks.


Top
 Profile  
 
PostPosted: Sun Mar 11, 2012 1:34 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
I thought the 2.1 phoenix code was released? Need to see what the state of this is????

Kurt


Top
 Profile  
 
PostPosted: Mon Mar 12, 2012 9:27 am 
Offline
Roboteer
User avatar

Joined: Wed Jan 19, 2011 5:05 pm
Posts: 2
:oops: Really? Well I am clueless sorry about that. I had a few threads I was following and should have looked around more.

Could you point me to it, haveing problems finding it.
Thanks


Top
 Profile  
 
PostPosted: Sat May 05, 2012 7:33 pm 
Offline
Roboteer

Joined: Tue Apr 10, 2012 9:41 pm
Posts: 11
Hi,
I hope this is the right thread to ask.
Totally new to all this and have just ordered an ARC32 board. Would I be correct in assuming I won't need the SCC 32 board as well?
Many thanks for help provided and my appology if I'm in the wrong thread.
Manfred


Top
 Profile  
 
PostPosted: Sat May 05, 2012 7:47 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
No problem. Yes we have versions that can run on the Arc32 without an SSC-32. Also have versions that you can use it with an SSC-32, but I mostly just use the Arc32 by itself.

Kurt


Top
 Profile  
 
PostPosted: Thu May 31, 2012 7:08 am 
Offline
Roboteer

Joined: Mon Jun 06, 2011 3:13 pm
Posts: 27
Does anyone have to hand the serial control characters?

I am looking at using the Pheonix with Xans/Sentas code as a chassis, with another controller for the 'mind'.

Ultimately I would want to be to Roll the body, Rotate L/R, and then walk forward backward/strafe L/R with simple commands.

Once I have this working (going to have a very powerful PIC32 'brain' at 80MHz) I will have it doing some other tricxk stuff like chasing a light around, mapping a room out, and some over advanced stuff, all very exciting! Just waiting to finish building ym pheonix and I'll be on the way.!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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:  
Powered by phpBB® Forum Software © phpBB Group