So i decided to build a flexible hexapod. I wanted to be able to change the tibia and femur lengths without a lot of fuzz, because i wanted to experiment a little with different leg designs. Because i like matt's hex engine i used a combination of p.Brain and a botboard II with atom pro. I am using an accelerometer (got that pretty much working), ping module (working), foot contact sensors (not pressure sensitive, just a switch) and a camera for now. I must say, even for someone with a very, very basic knowledge of programming the atom pro works pretty good for me.
The hex itself is build out of SES from lynxmotion and actually is the design of the CH3R, so the round body. Only i used the smallest body, longer legs and an angle offset of 30 degrees for the femur (same for the tibia of course). Because matt's engine doesn't allow for a 60 degree angle for the posterior or anterior coxa angle, turned these servos 1 click to make them 45 degrees (max in matt's hex engine).
I am going to make some pictures and make a movie tonight and post it here as well, but for now i am having difficulties getting the settings for the p.Brain right. Strange thing is that for the body move part it works flawless, it even looks very good. But the moment i try to walk i get an servo-overstretched error. I just can't figure out wat is happening. I could be looking over something really simple, so any help is welcome.
(poor quality, but anyway a good impression i guess)
Only clue i can see is that in calibration mode all the servo's are 90 degree angles, but if i wake up the hex it stands in another position. Remember though that all bodymovement is very fluid en Ik seems to check out really good.
Other thing is that i don't really understand the Initial Femur Angle and the Initial Tibia Angle. I can see the description of course, but can't figure out exactly what it does.
Oh and before i forget, is there any 'all = 1500' option in this hexengine? So all servos powered up in neutral, not one at a time.
Any help would be well appreciated......
You will find the body and geometry settings below as wel as the error i get.
BODY CONFIGURATION:
Anterior Coxa X (mm) = 57.00
Anterior Coxa Y (mm) = 95.00
Middle Coxa X (mm) = 107.50
Middle Coxa Y (mm) = 0.00
Posterior Coxa X (mm) = 57.00
Posterior Coxa Y (mm) = -95.00
Max X Rotate (deg) = 12
Max Y Rotate (deg) = 12
Max Z Rotate (deg) = 16
Max X Translate (mm) = 40
Max Y Translate (mm) = 40
Max Z Translate (mm) = 40
LEG GEOMETRY:
Coxa Length (mm) = 29.00
Femur Length (mm) = 105.00
Tibia Length (mm) = 150.00
Anterior Coxa Centre Angle (deg) = 45.00
Middle Coxa Centre Angle (deg) = 0.00
Posterior Coxa Centre Angle (deg) = -45.00
Femur Centre Angle (deg) = 30.00
Tibia Centre Angle (deg) = -120.00
Initial Femur Angle (deg) = 90.00
Initial Tibia Angle (deg) = -115.00
Coxa Servo Range (deg) = 90.00
Femur Servo Range (deg) = 90.00
Tibia Servo Range (deg) = 90.00
!! ERROR !! - Internal Engine Servo Error!
This is probably caused by one of the servos being over stretched!
MIN = 500, MAX = 2500
RAC: 500 RAF: 500 RAT: 2500
RMC: 500 RMF: 824 RMT: 1400
RPC: 500 RPF: 868 RPT: 1447
LPC: 1537 LPF: 1654 LPT: 1789
LMC: 500 LMF: 2108 LMT: 1580
LAC: 500 LAF: 2136 LAT: 1554
AX0: 1450 AX1: 1500 AX2: 1450
AX3: 1500 AX4: 1500 AX5: 1500
