Hexapod Tracking Video 3
Vložit
- čas přidán 26. 08. 2024
- This video is demonstrating a new behavior; the robot will now track any pink object. The robot will walk forward if the object gets too far away and will walk backwards if the object gets too close.
Code available at: github.com/dav...
Build Details at: www.instructabl...
Great demonstration: My only thought is that it looks to be a bit oversensetive (constantly making micro-adjustments to keep the tracked object in the center of vision). This could waste power and shorten battery life. My suggestion would be to increase the amount that the object can deviate from the center of vision. Maybe create a radius from the center that the tracked object should stay within, and if it goes out of bounds it adjusts to put it back in the center. That way it's making fewer adjustments, but when it does it's correcting completely.
head tracking is an an absolute gem if you want it to look alive.
At the moment I don't have it documented on the Web; I do plan on it though, hopefully soon.
its like one of them jumping spiders........make it jump and attack now hahahaha
Amazing, very lifelike vehaviour
link to blog or more info?
It is the best robot class recreated by nature!!!
i miss mechatronics
its kinda cute!
Super is the best......👍👍👍🙏🙏🙏
where on the hexapod did you place the MEGA and the Nano?
The Mega is underneath the ps2 receiver on top, the receiver had two red LEDs. The UNO was small enough to put in the body of the robot under the camera. Hopefully that's clear enough.
I would love to have a discussion with you regarding this beautiful monster I love robotics and build and sell autonomous drones all around the country. I would love to pick your brain of course we would compensate you, please let me know Thanks.
Mr. Henderson, thanks a lot for this guide and code! I managed to build my hexapod and control it with a ps controller, but when I turn on the tracking, arduino mega freezes after a few seconds. Any ideas?
Jeremy Gilbert Same as you, managed to get the output from pixy and nano, but Arduino just freezes. I changed the sampling time to sample every 50 ticks, it doesnt freeze now, but doesnt respond too
Jeremy Gilbert You deserve a medal, Im gonna try it out tomorrow!
By the way, did you change pixy height/width or any other code files?
Hey Jeremy, did you manage to get any results with forward and back movement?
Could you send me the code with the changes you made, please? Thanks
Do you have any issues when using HS-422 for all joints?
I did have a little trouble, and the robot currently uses six HS-645MG and twelve HS-422's. At some point I will replace all of the 422's with 465's but you can get away with it for a while if money of tight like it was for me.
Very nice project i follow your instructions and i got the hexapod working but i cant download the pixy 2 camera sketch from your github i get an error pixy h no such file or directory what im doing wrong any help thank you
To program the nano with the PixyProgramHeightWidth code you will want to use Arduino IDE 1.0.6 and the Pixy library to compile & upload the code to the nano. My guess is that the pixy library is missing from your libraries folder, which is why your IDE cant find pixy.h. I did not write the Pixy library but should be easy to find with google, download it and load it into your IDE and then try to compile/upload. Let me know if you have any trouble.
Hi David i follow your instructions and it work i was able to download the program to the nano, now i should mention that im using a botboarduino from lynxmotion and im not sure if im hooking the wires up correctly because you using a mega i connected the nano to botboarduino nano vin to 5v ground to ground and tx to rx wich is pin 0 in botboarduino but i dont think the nano is transmitting to the botboarduino in the nano only the red power light is on do this sound right to you thank you
@@davidhend ok i made it compile and upload to the nano but there is no comunication w camera or mega
hi david sorry for asking to many questions but now im trying to use the arduino mega but when i compile i get this error'cRRcoxaPin'was not declaredin this scope any advise thanks in advance
hello David success everything works finally after some error and trial but i do have one question the pan and tilt mechanism for the pixy is the program already in the nano would it work if i get the brackets for it thanks
Show
Mr.Henderson, would like to know if the code for pixy cam with integration with the arduino on a hexapod is available online, if you so, could you please direct me. Also would like to know if possible, the servo cable sleeves, their measures. Thank you
linkspyder The code for the project is available at the following URL: github.com/davidhend/Hexapod
I would suggest looking at the readme file on that repository for a breakdown of what's what. The cable sleeving, is 1/4" expandable sleeving from Altex.com www.altex.com/14-Expandable-Sleeving-BSPSC140-P150861.aspx
I cannot remember the exact sizes but the largest was right around 12"
David Henderson
Thank you Mr.Henderson for your info.
I'm trying to build something similar to yours; can u tell me if with this one you are also using a ubec 15A to power the system? what type of lipo are u using? thank you once again.
linkspyder So I am using two UBEC's; one for the servo controller & servos, the second powers the robot's MCU's and PS2 receiver. The reason they are separated is because the servo "noise" causes problems with the RF for the PS2 receiver. Both UBEC's are 8A but can handle bursts up to 15A. I got them from hobby king at the following: www.hobbyking.com/hobbyking/store/__6233__TURNIGY_8_15A_UBEC_for_Lipoly.html
In regards to the batteries, for the servo's UBEC, I connect a 3S 11.1V 2200mAH Lipo battery; and a 2S 7.4V 1650mAH for the robots logic. Let me know if you have any other questions, I will do my best to answer them quickly.
David Henderson
Thank you very much for the information and help. Still got one question :) for the ps2 controller/receiver can you tell me which version are you using? thank you
linkspyder I am using the V2 of the PS2 controller/receiver; which I got from robotshop.com. They also have V3 now; which I am almost 100% sure would be a drop in replacement for V2. I will leave that up to you.