VB.NET Project for SSC-32 Hex Control

Post code examples here

Re: VB.NET Project for SSC-32 Hex Control

Postby Tony » Wed Nov 12, 2008 4:59 am

May i know what is servo offsets? thanks (got it, I guess understand now)

'[SERVO Offsets](measured in pulse-width)
Dim RFCoxaOffset As Double = -96 'Front Right leg Hip Horizontal
Dim RFFemurOffset As Double = 26 'Front Right leg Hip Vertical
Dim RFTibiaOffset As Double = 96 'Front Right leg Knee

And may i know how to measure this dimensions? from where to where (got it, I guess understand now)

'[BODY DIMENSIONS](measured in mm)
Dim CoxaLength As Double = 20 'Length of the Coxa [mm]
Dim FemurLength As Double = 80 'Length of the Femur [mm]
Dim TibiaLength As Double = 130 'Lenght of the Tibia [mm]


How do i measure the actual angel? why it is zero
'[ANGLES](Variables initialized to 0)
Dim RFCoxaAngle As Double = 0 'Actual Angle of the Right Front Leg
Dim RFFemurAngle As Double = 0
Dim RFTibiaAngle As Double = 0
Tony
 
Posts: 98
Joined: Fri Jun 06, 2008 7:30 am

Re: VB.NET Project for SSC-32 Hex Control

Postby FlowbotX » Fri Nov 14, 2008 2:41 pm

Tony wrote:May i know what is servo offsets? thanks (got it, I guess understand now)

'[SERVO Offsets](measured in pulse-width)
Dim RFCoxaOffset As Double = -96 'Front Right leg Hip Horizontal
Dim RFFemurOffset As Double = 26 'Front Right leg Hip Vertical
Dim RFTibiaOffset As Double = 96 'Front Right leg Knee

And may i know how to measure this dimensions? from where to where (got it, I guess understand now)

'[BODY DIMENSIONS](measured in mm)
Dim CoxaLength As Double = 20 'Length of the Coxa [mm]
Dim FemurLength As Double = 80 'Length of the Femur [mm]
Dim TibiaLength As Double = 130 'Lenght of the Tibia [mm]


How do i measure the actual angel? why it is zero
'[ANGLES](Variables initialized to 0)
Dim RFCoxaAngle As Double = 0 'Actual Angle of the Right Front Leg
Dim RFFemurAngle As Double = 0
Dim RFTibiaAngle As Double = 0


Hey tony,

Sorry for taking so long to get back to you, I've been swamped with school.

Servo offsets: the pulse width adjustment required to center your servos at exactly center
Dimensions for the body offfests are measured from the center of the robot to the coxa point of servo rotation in the x/y planes.
Dimensions for the legs parts are measured along the femur/tibia from end to end. Specifically from center point of servo rotation to center point of servo rotation.
Lastly, you don't need to change the [ANGLES] section, they are variables used by the program. You jsut need to change anything in the [Constants] section and the initilazation function.

Hope that helps,
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Update Beta2

Postby FlowbotX » Fri Nov 14, 2008 5:48 pm

Hey everybody,

I discovered a little bug in my serial input code that was making movement a little choppy. I updated it and added a little function that saves battery power when the bluetooth is in use...the link to the download will be updated soon so...enjoy!
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Re: VB.NET Project for SSC-32 Hex Control

Postby Tony » Sat Nov 15, 2008 9:55 am

hi flotbotx,

Thanks a lot. it works now, but need to change some parameters. i can't use gait function, when will be available? It's time for me to change to VB.NET, but VB6 was so cute.
Tony
 
Posts: 98
Joined: Fri Jun 06, 2008 7:30 am

Re: VB.NET Project for SSC-32 Hex Control

Postby FlowbotX » Sat Nov 15, 2008 2:42 pm

Tony wrote:hi flotbotx,

Thanks a lot. it works now, but need to change some parameters. i can't use gait function, when will be available? It's time for me to change to VB.NET, but VB6 was so cute.


Hey Tony,

First off, I am glad to hear it is working for you! Whoohooo! Next, by gait function do you mean the gaits other than the six-step? Because you should be able to use the default six-step now...

As to additional gaits,

Here is the list of things that I hope to implement by the end of the year:

1. Get setup menus implmented so that you can setup up your bluetoooth connection and hardware from the program menus instead of from the code.
2. Implement the all the different gaits.
3. Add balance calculations

I will release updates as I finish them.
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Re: VB.NET Project for SSC-32 Hex Control

Postby Tony » Sun Nov 16, 2008 1:54 pm

well done, thanks!
Tony
 
Posts: 98
Joined: Fri Jun 06, 2008 7:30 am

Re: VB.NET Project for SSC-32 Hex Control

Postby FlowbotX » Wed Dec 17, 2008 2:44 pm

Hey everybody, I added a setup guide to and a new version of the software to my post. Go check it out!
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Re: VB.NET Project for SSC-32 Hex Control

Postby FlowbotX » Fri Dec 19, 2008 4:30 pm

Version 1.1 Release

Image

New features:

Pan and tilt head support
8 gaits
Leg cycle feature
Word doc setup guide available for download!

For link to download see first post on this thread...
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Face tracking!

Postby FlowbotX » Thu Feb 12, 2009 3:27 pm

Hey everybody, it's been awhile since I have released and update to the software but you should enjoy this one because now there is support for object/face tracking using Roborealm! Awesome!

In order to use this version you must have
1. Roborealm installed on your computer.
2. A .robo file that produces center of gravity coordinates (you can download my example if you want.)
3. The VB roborealm.dll installed

See the first post for the new link and enjoy!

Action videos:

Video 1:
http://www.youtube.com/watch?v=VPvZATRDbXk



Video 2:
http://www.youtube.com/watch?v=6hwTM1mO42Y

~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

Re: VB.NET Project for SSC-32 Hex Control

Postby FlowbotX » Fri Mar 20, 2009 11:16 pm

Version 1.2 of the software with Roborealm support (the one you see in the video) has been posted. See first post thread and enjoy.
~Flowbot~

"But who can decide what they dream?..and dream I do." - Amy Lee
FlowbotX
 
Posts: 59
Joined: Sat Sep 20, 2008 7:28 pm
Location: New York, USA

PreviousNext

Return to Code Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron