Results 1 to 8 of 8

Thread: Xl-320 Based Hexapod

  1. Xl-320 Based Hexapod

    Hey all, just putting this thread up to kinda log and show off my progress on my xl-320 based hexapod.

    The biggest limiter on this project so far has been dealing with cost, working on stuff like this with a highschooler's budget has been hard, but I hope to work on many more projects in the future with better hardware once i'm able to afford such.

    Anyways, the brain of this project is just a raspberry pi 3, sensors include a lidar lite and an ADXL345.


    Click image for larger version. 

Name:	20161231_005503 (3).jpg 
Views:	101 
Size:	122.4 KB 
ID:	7060Click image for larger version. 

Name:	gC6YNwn.jpg 
Views:	86 
Size:	61.3 KB 
ID:	7061

    As is probably very very evident from that photo, it has some bad load issues. Some back of the napkin calculations led to some pretty wicked part sizing issues. But, given my limited capacity to print at the time of initial printing of the frame, I proceeded with construction anyways.

    Parts were designed and modeled in OnShape, parts are variable sizes with variables in the construction so alterations are easy.


    After doing load testing and initial kinematics work, the model has been refined with what I assume now to be much more reasonable numbers for loads.

    Click image for larger version. 

Name:	P7LQWh3.jpg 
Views:	110 
Size:	36.9 KB 
ID:	7062

    In order to test IK and FK code before actually having a robot build or modeled, I started working on a simple sim program so I could simply migrate my IK and FK classes over to the code eventually deployed on the bot itself. It can also stream out and take in inputs for the xl-320's through the pi over wifi.

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	66 
Size:	120.3 KB 
ID:	7063


    Current plans are to continue printing out the new frame, print out rubberized 'socks' for the legs, and continue making revisions on the framework, and optimize the code a bit more in order to try and resolve jitter (could probably tune PID on servos a bit better) and make further development easier.

    So far I've done full FK tests for rotation and translation, and the code is in place for walking, which is can do while suspended, but currently can't handle the load unsupported. (maybe wave or ripple gait?)

    Anyways, here's FK test:




    This project has been my first real foray into robotics, and programming, and 3d modeling, so any tips and such would be greatly appreciated. I maybe should have taken the easy way out a while ago, and tried to use more existing material out there to get this working faster, but I feel I've learned a lot along the way, and am excited to continue working.

  2. #2

    Re: Xl-320 Based Hexapod

    That looks great! And a Raspberry Pi 3 is not a "just" -- it's one of the best lightweight robotics controller boards on the market!
    To manage the weight problem, keep pushing those knees inwards to get a shorter lever arm, and perhaps use a gait that puts five feet on the floor at all times?

  3. Re: Xl-320 Based Hexapod

    Quote Originally Posted by jwatte View Post
    That looks great! And a Raspberry Pi 3 is not a "just" -- it's one of the best lightweight robotics controller boards on the market!
    To manage the weight problem, keep pushing those knees inwards to get a shorter lever arm, and perhaps use a gait that puts five feet on the floor at all times?
    Yeah, one thing I'm working on code wise is to read the load from the servos and use that to dynamically adjust the 'rest' feet positions in order to minmize that distance. Just to keep it under a certain threshold if possible. I feel that the new frame will really help out though but that remains to be seen, but I'm eager to test once I finish printing it.

    I may actually leverage my gait generator so I can see what happens if I only make some legs shorter, just to further test IK stuff as parts come off and I rebuild the legs as is.

  4. #4
    Join Date
    May 2016
    Location
    White Plains, NY
    Posts
    117
    Images
    1
    Rep Power
    7

    Re: Xl-320 Based Hexapod

    Very nice to see - and impressive! Keep the photos coming!

  5. #5
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    831
    Images
    25
    Rep Power
    80

    Re: Xl-320 Based Hexapod

    This is great! Well done!

  6. #6
    Join Date
    Mar 2015
    Location
    Texas
    Posts
    342
    Images
    15
    Rep Power
    27

    Re: Xl-320 Based Hexapod

    Love the look of this one.. Nice stuff!
    01001001001000000100110001101111011101100110010100 10000001010010011011110110001001101111011101000111 0011

    My Instagram
    My YouTube

  7. Re: Xl-320 Based Hexapod

    Hey all,

    So, i've made a good deal of progress over the past few weeks.

    I went through and planned and then implemented my curved path walking system. It essentially offsets a point of rotation for the entire robot, inversely proportional to the x axis input. With that pivot point an arbitrarily large distance away, the circumference of each circle formed by the legs are essentially straight lines, leading it to continue to walk straight, though as the pivot point gets closer to the robot, it causes the legs closest to the point to correspond to a smaller circumference than the larger legs. This allows it to walk around specific points in space, as opposed to purely stand in place rotations, and then transnational motion.

    Click image for larger version. 

Name:	Pivot.png 
Views:	64 
Size:	481.9 KB 
ID:	7068

    As that was going on, I finished printing the new frame, except for the hub, which ran into some issues, in which I'll need to do almost a full redesign to allow for more electronics space and rigidity. I thought the scale on the shorter legs would make the body look out of proportion, but I kinda like it, and with the eventual frame redesign, it should come more back into line.

    Click image for larger version. 

Name:	NewFrame.jpg 
Views:	47 
Size:	55.1 KB 
ID:	7069

    I did a real big push over the span of roughly two days to finally get the thing untethered. Setting up a static ip and wifi connections, getting remote deploy working on my IDE, dealing with the pi3's wonderful wifi config.. ect ect. Making room within the current frame to route the electronics by splicing new longer cables from the legs. Getting automatic ps3 controller identification, connection, and trusting over Bluetooth so I would no longer need an initial wired connection to pair. And then lastly, getting the pi3 local power. Now, local powered turned out to be a bit of an issue given the lack of available space, and me waiting on new T plug connectors to splice power off the lipo into a small voltage regulator for it. So I threw on a small portable battery bank, and ran power from there.

    And lastly, all that culminated in the first untethered gait test, assuming the servos can hold up to angular acceleration asked of them, The speed in the clip is only roughly 40% top speed with the current gait.



    I'd like to thank ya'll for your kind words and it's really been pushing me over the past few weeks to do better and better on this.

    Next goals are to refine the software backend, and implement the lidar lite scanning for eventual autonomous navigation. I hope to use a small imu, with the body FK in order to take semi 3d point cloud maps for enhanced navigation in the future by rotating the plane that device can scan in with the help of another xl-320. The data will be sent to a NVIDIA Jetson Tx1 ground station for processing and motion path generation.

  8. #8
    Join Date
    Jun 2011
    Location
    USA
    Posts
    514
    Images
    107
    Rep Power
    34

    Re: Xl-320 Based Hexapod

    Awesome work, and great documentation so far! The bot is very clean looking!

    Looking forward to more.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question(s) Using NUKE IK without PyPose for Arduino based hexapod
    By NikT in forum Software and Programming
    Replies: 3
    Last Post: 11-20-2013, 10:34 AM
  2. Bus-based interconnect
    By jwatte in forum Arbotix, Microcontrollers, Arduino
    Replies: 4
    Last Post: 07-28-2013, 08:45 PM
  3. Question(s) PC based robot
    By merogg in forum Robot Computers
    Replies: 1
    Last Post: 10-23-2011, 03:36 PM
  4. Project Axon Based Hexapod Control (with a SSC-32 helper)
    By WGhost9 in forum Project Showcase
    Replies: 1
    Last Post: 01-14-2010, 01:46 AM
  5. Fit-Bot - a Fit-PC based rover
    By coppertubing in forum Robot Computers
    Replies: 9
    Last Post: 10-06-2009, 09:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •