VB Windows Hexapod Control Program based on Xan's Code

Looks GREAT!!!

Hi Flowbot,

I love it! Great idea to put the cam above the body. Is 't both tip/tilt?

Xan

It is both pan and tilt…it needs a longer side arm though. As is, it can’t raise its head above “eye level”…

Is there anyway to port this over to Windows mobile 2003?
I have an Xda II pocket pc with WM 2003 which is perfect for this if it can be ported.

Never done any work for the pocket PC but you should just be able to compile it for a different OS right?

Hi.

I’m having a hard time setting up the initial parameters in the program.

The bot that I have is the AH3-R type:

  1. The Body dimensions I can get from the basic program generated from the power pod program.
  2. The MIN/MAX angles I can measure using a protractor or can I get them from somewhere?
  3. How do I go about measurering the feet positions? Is there a practical way of doing this? :confused:
  4. How do I go about measurering the offset (RFOffset) positions? Is there a practical way of doing this? :confused:

I’m new at this hobby so I need a little spoon feeding :blush:

Concerning the mobile PC idea, Is it possible to use VB.net to compile your code to another OS like WM6 or something? I looked into the VB.net compiler but found nothing.

wow, great!
fantastic it works…

i become the MS VB by a friend! i can compile it :slight_smile: yes!

thanks for this great code!

i change it for the xyz translate for head for motion tracking.

  1. You should be able to get the dimensions just by measuring with a ruler but if the powerpod dimensions are in mm then you should be fine.

  2. Yes, you can either use a protractor to meausre the max/min angles or…the way I like to do it is to use Lynxterm and slowly move each joint until it hits its mechanical limits. Then just read off the PW, subtract 1500, divide by 750, and mutply by 90 (assuming you have 180 degree ranged servos) and that should give you the angle.

  3. Yes, in theory you can really pick any point in space to be the initial feet position. In practice you want all the feet to start equally spaced and be far enough out from the body that when the robot “sleeps” it can pick its feet up off the ground without smashings it’s limbs into it’s body. Addisitonally, the closer you can keep the feet to the body, the less torque and stress are put on the servos. So, the I guess the rules are:
    a) equally spaced
    b) allows robot to lift its feet off the ground when in “sleep” mode
    c) closer to center is better than farther out as it reduces torque.
    A good place to start is to put all the servos in neutral position (PW - 1500) and measure the feet there. That should put the robot in a standing position and you can adjust them in our out from there.

  4. Measuring these is really hard. You could jsut go with the old “eyeball” it and try to get it centered approach. But if that isn’t working for you. I would go with a protractor. The idea is that when the pusle width going to the servo = 1500, that the servo is perfectly centered. You would think that they would come that way from the factory but…alas its not to be.

Hope this helps. If you need more clarification, I might be able to post some drawings that make it easier to see.

After all includes we nee feet protection :slight_smile: like
xan. feedback from feet… from ground. for walking over a gatter …

this were cool. :wink:

a i see u dont take the pins from phoenix. its all diffrent i write it new.
the angles are difrent to phoenix. i can overtake the datas from xan in your code 1 by 1?

i must test the new code. for check it up :wink:

to the gait select…

can u creat a rollover menue. who stream down. then u can pick up the gait number the have it. or a box for write the number.
its simpler? or not? okay u show the number i one field.

only a idea

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. Set up Roborealm to work with VB (see setup guide in first post)
  3. A .robo file that produces center of gravity coordinates (you can download my example if you want.)

See the first post for the new link and enjoy!

great!

fine fine i will test it at saturday :slight_smile: i hope it works :slight_smile:

but i think its all okay :slight_smile:

do you have new videos?

hi

i can not compile your new v1.1facetrack

the older one goes witout problem.

Eine Ausnahme (erste Chance) des Typs “System.Exception” ist in Microsoft.VisualBasic.dll aufgetreten.

i dont know…

Yikes! I forgot…you have to register the Roborealm DLL with windows in order to use facetracking…otherwise it won’t compile!

I just whipped up a guide on how to set everything up.

Read this and tell me if it solves it:

box.net/shared/uyb2r259bf

Thanks for all your help T4ndu…

Also, I’ll try to get a video up here as soo as I can.

complie works…
yet i start roboreal m load your file. start api server ( i use roborealm 2.0.6.1 or so… u use 1.7?
the i start hexcontroll. it works… when i enable the face tracking function
the roboreal m will start und after hex controll is critical an break down.

any things are not good. perhaps only on my pc…

greez

I have RoboRealm v. 2.0.3.1.

Can you be more specific about the error and I will try to recreate it. And hopefully fix it?

okay its so…

when i start hexcontroll , i connect then i wake up the Bot.

the it works all. i can controll the head by joystick. when i enable the facetracking function… roboreal m start automatic, but your file doesnt load on roboreal,… on this time the hexcontroll dont have reaction i must kill them by task manager.

i think i have problems with the API server. it runs but when i start roborealm it comes a message: that an other programm use API network it doesnt can connect…

i will poste the correct message… but i must statr my other laptop.

when i start roborealm its come this error.

tried to attach to the API network port ten times.
its possible that another programm is using this port. Please check other running programm and try again.

i dont know which programm using this port to.

i have open firefox
VB.net for compile
windows live.
Java
lenovo tools

what can block this port?