![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| im curious, if i was to build a walker robot, (not neccesarily autonimous, probably remote to start with) yet i wanted to be able to control its motions using maths to work out the position of each leg, mainly using COS, SIN, and TAN, posibly also in the inverse function, how would i go about getting a curcuit to do that? can a PIC do it? if it can any code examples of the normal and inverse function would be brilliant, thanks | |
| |
| | (permalink) |
| I think it's a bit too much for a PIC (a dsPIC should be able to though). You might need this with a normal PIC: http://www.micromegacorp.com/ | |
| |
| | (permalink) |
| As it's a robot, speed isn't an issue, so there's plenty of time even for normal PIC's to do the maths. The PICList has maths routines, as does the EPE website. But I suspect you're probably making this a LOT harder than it needs to be?. | |
| |
| | (permalink) |
| i was considering trying to put something together similar to the hexapod robot video on youtube, a little red one that walks around a cola bottle and can translate in the Y, Z and X axis and rotate about all three. its pretty impressive so i was thinking of trying to design something similar, but wanted to know if the sort of calculations i'd need could be done. | |
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| I guess it depends how frequently you want to update it. THat's still a lot of trig per leg though and a lot of legs. It's a bit pointless to do some of that if you have no plan on where you want the leg in real-time, otherwise you could do all the calculations for a set of pre-defined positions beforehand and stick them in a table. Seeing as how it's RC servos and you don't have external access to the actual position of the servo, there might be no real reason to dynamically calculate foot positions (at least not very frequently). | |
| |
| | (permalink) |
| well i was thinking i didnt just want another walker that only goes on flat surfaces and only does steped up surfaces on the off chance you made its legs go high enough! | |
| |
| | (permalink) | |
| Quote:
There are plenty of examples of walking HEX robots on the net, as far as I'm aware none use trig. functions?, nor can I think of a reason why they would want to?. | ||
| |
| | (permalink) |
| THen you would need vision (really REALLY extremely good vision at that) to make trig useful so it knows where it wants it's foot in advance. I know the temptation of wanting to give your robot as much feedback as you can though. Add foot pressure sensors first, and something that can track the terrain. Probably best to slowly build up on top of a working model than to build it all at once. | |
| |
| | (permalink) |
| You do realise that the Hexapod V4 is driven by a PC via a serial link ! Google link to the source due to the site being down currently. Far more power than a PIC. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
Thing is the question isnt why id want to do it, i'd just like to know how to do it! which code forms that run on a pic are capable of doing the neccesary calculations, what code line i'll need to write to perform such! i know it'd be very complex, but it has more uses than just a single walking machine, i mean for instance just a simple arm could be made alot more useful if you can calculate its exact position in space around it, which you'd need trig to do. | ||
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) | |
| Quote:
| ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Hello, I'm new to Electronic circuits, how do I get info. on electronic tach for m.c. | pwotoole | General Electronics Chat | 17 | 16th May 2007 06:33 AM |
| Signboard electronic | leticia | Micro Controllers | 1 | 18th March 2007 05:01 AM |
| 100 electronic circuits with ready to copy pcb | reyarba | Electronic Projects Design/Ideas/Reviews | 0 | 1st November 2006 12:32 AM |
| frequency-voltage don't work with electronic ignition. | Screech | General Electronics Chat | 7 | 16th March 2004 01:29 AM |
| Electronic Engineer | evoke | General Electronics Chat | 1 | 21st July 2003 01:04 PM |