Ai Dreams Forum

Robotics => Home Made Robots => Topic started by: MagnusWootton on July 12, 2022, 04:50:59 pm

Title: another robot build plan
Post by: MagnusWootton on July 12, 2022, 04:50:59 pm
(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/293304332_189511830092149_2551350767880264044_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=730e14&_nc_ohc=H8DhOizIKQ4AX8Paskh&_nc_ht=scontent.fper7-1.fna&oh=00_AT_NzGmv9Wmc0FZk6nmFp4iwafkEXXpZvMFjSaxQH7c0EQ&oe=62D2AAA4)

So this robot is EM.  (dc motors)    And Im going to build it by putting down a couple of camping matresses and glueing them together for a bigger surface, then mark some precision dots with a black texta , then put in shish-kebab sticks and then form a polygon with super glued chux wipes in a big chain and then glueing to the matress for a polygon extrusion.   Im then going to put in the dc motors on little stands and put a plastic cavity box for the computer then the whole thing gets plaster poured and it should attach it all together.

I'm going to be using a GTX2070 desktop for the computer,  I'm going to get it out of the metal case and just have the motherboard in the plastic cavity for least weight takeup possible.

I've got an original motor driver circuit, I'm testing out and prototyping right now, but something wierd happened, and my voltage divider doesnt seem to be working properly, and that doesnt make sense!!!  :o   Theres no way you can stuff a voltage divider up because they are so simple,   I'm getting current down the resistor alley and the short and it doesn't make sense,  only the short should be getting power!!!   I'll check it out again later.

So apart from that extreme wierd stuff up,     The build is going to cost me very little for the plaster,   I'll hopefully get it for less than $10 a kilo,  and maybe its possibly less than 10 kilos?     The dc motors Ive got a good deal for $5, and they have gears! so it'll be really strong. (These look really good, amazing bargain!!)
https://www.aliexpress.com/item/1005002647161186.html?_randl_currency=AUD&_randl_shipto=AU&src=google&src=google&albch=rmkt&acnt=576-373-4425&albcp=16259416291&albag=&slnk=&trgt=&plac=&crea=&netw=x&device=c&mtctp=&albbt=Google_7_rmkt&gclid=CjwKCAjwt7SWBhAnEiwAx8ZLauuati0Ifa4_3TJEl_Rx85ZK-_ddyhH0xgFGAhmVspgo6mrzezjy4BoC910QAvD_BwE&aff_fcid=3ba324d49ae147d5a6f12a3138c5fd33-1657640758244-05415-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=3ba324d49ae147d5a6f12a3138c5fd33-1657640758244-05415-UneMJZVf&terminal_id=fb0511f736444abfbda844636b6ea049&afSmartRedirect=y

And then you need couplers and ill be using allen keys to couple a perpendicular arm to them for the plaster to grip onto.  That and the angle position sensors, I'll be trying to make some home made hall sensors which are going to pick up the angle of the shaft against the magnets inside the actual motor, So I dont need to buy another magnet for it.


After the body is done,  just have to put the software on the gpu,  GPUs are the best for the computer vision,  so the computer vision is going to be really top notch,  I'm going to try and fit a physics engine on a single call to the gpu for maximum motor search tests,   I have a shader compiled and it just fit. (Just an early version,  But it hasnt got the extra realistic fixes yet,  which is going to be hard to fit ontop of whats there.)     First thing I'll do when I get the robot body done is get it to stand up,  the gears will help it.

The use case of the robot is going to be fully autonomous excavator, carry follower, search and gather, and guard and takedown and disarm.
Thats going to be fairly simple programming, but extremely useful and never before seen If I get it done.
Robots arent developed much,  So most ppl dont even know how useful they would be,  But I'm getting an idea about it now.

I'll be back with more If I get further in the build.

Title: Re: another robot build plan
Post by: MikeB on July 13, 2022, 12:54:24 pm
There's some amazing robot kits on ebay for $10-50+, to save you from doing both building and coding.

https://www.ebay.com/sch/i.html?_nkw=robot+kit+arduino (https://www.ebay.com/sch/i.html?_nkw=robot+kit+arduino)
https://www.ebay.com/sch/i.html?_nkw=robot+kit+raspberry+pi (https://www.ebay.com/sch/i.html?_nkw=robot+kit+raspberry+pi)

Some have path tracking & avoidance. There's 46cm robot arms as well for $30...

You never know how complicated something is until you do it...
Title: Re: another robot build plan
Post by: MagnusWootton on July 13, 2022, 02:46:16 pm
If youve got the know-how then maybe u dont even need $30.

But those little robo kits are very small timing compared to the body I've got planned,  its going to carry a full desktop+video card for A.I  (45cm x 45cm centre thorax body), and really high torque 25rpm dc motors + rubber chalk sticking it together.    Thats more like it, for ruggedness and computing performance.

I want to make something decent,  not just a little kids toy now.
Title: Re: another robot build plan
Post by: MagnusWootton on July 13, 2022, 03:23:09 pm
Just goop pouring the robot, is a good way to connect all the motors and computer without having to drill and bolt and attach things together otherwise.

Its just 1 quick pour and its over.

I wonder if I put a whole lot of steel nails in it, after I pour, and will that make it stronger?
Besides its actually got allen keys coupled to the dc motors,  that would help reinforce the rubber cement pretty well good.
Title: Re: another robot build plan
Post by: WriterOfMinds on July 14, 2022, 03:36:36 am
Quote
Just goop pouring the robot, is a good way to connect all the motors and computer without having to drill and bolt and attach things together otherwise.

But you aren't going to be able to disassemble it (to replace failed parts or modify any of the connections) without breaking the plaster and starting over. Are you sure?
Title: Re: another robot build plan
Post by: MagnusWootton on July 14, 2022, 04:58:04 am
U can repair rock and rubber,  I spose if u lose a motor wire its definitely bad tho,  repairing the robot would be good practice for being a vet, because animals bodies are horribly hard to repair and all internalized as well.   I bet its definitely easier tho,  when we have horrible damage done to us may as well give up its hopeless.

The computer motor drivers + arduino are in an openable plastic container in the central body,  so thats all easy to replace,  its only the motors that are imbedded in.
Title: Re: another robot build plan
Post by: MagnusWootton on July 14, 2022, 08:39:16 am
Look at this,  20 kg robot for $10!!  pretty good.

https://wafarmshop.com.au/products/gypsum-pit-20kg-bag

<edit>  just picked up 20kilos then,  but i only got it for $1.50 a kilo,  at that wa farm shop its only 50c,  but the problem is it costs $100 to put it at your door!  so couldnt do it.  but thats pretty cheap!

so I need about 2 kilos of corn flour to go with it, and about 1/4 of a litre of glycerol (thats the evil petroleum component.) - but maybe its less it could be 50 millilitres only!, mixed in nice fine powder, water can be any amount, as it always leaves the same amount in the plaster at the end once its left,  I think thats the ingredients proportions but im not sure what it is exactly -  then that should make some good rubbery chalk!   super plastic.

</edit>
Title: Re: another robot build plan
Post by: MagnusWootton on July 20, 2022, 08:56:57 am
My chalk order just got cancelled!!!!  :'(

So I need to source it from somewhere,   but I just worked out a bit more about this cement!

So if I get some epsom salt, and I use steel scourers for electrodes. (and separate them in the container in magnets, either side.)
Then I can convert the oxygen into sulphur dioxide which is the native atmosphere for calcium sulphate, and it goes further into solution in this environment.  This will bring it closer to marbleization and its going to be alot tougher and slightly more see-through.

I initially was thinking that it was generating the sulphur dioxide and I was going to get it plus the air,  but silly me I forgot that the gas is produced from being in contact with the air,  so it actually just swaps the air for the gas!!!!

So that means its perfectly safe,  if u want a higher pressure, you can actually prepump the air into it, and if there is going to be an explosion its only air, its not the gas,  you convert the air to the gas after youve checked the stability of the reactor, and I didnt think of that,  and it actually makes it all alot safer so its good to go with it - and go for the stronger cement!

Also, Ive improved my recipe/method, and Im going to pregelatinize the starch! thats got to be alot better than just adding the flour as powder,  so thats the other thing Im going to change,  and with those two things it could be alot better!  and its just ordinary cheap stuff to buy to make it.

If I get a stick of it done, Ill do a break test in front of the camera, and hopefully I wont be able to break it by far this time!  (plus its flexable!!  so ill do heaps of drop tests too and it should survive it all.)

I should be able to make a good dinner set out of it,  the extra strength im going to get should make it slightly more water resistant as well,   so see what happens.
Title: Re: another robot build plan
Post by: MagnusWootton on July 20, 2022, 11:46:14 am
er no sorry, I might be wrong about that.   the oxygen that the sulphur needs to make the gas may be the water itself.  better be careful how many moles of salt u put in!

actually stuff knows whats going on,  i found the method completely by fluking ive got no idea what its actually doing...
Title: Re: another robot build plan
Post by: 8pla.net on July 22, 2022, 10:23:35 pm
Talk more, about goop pour.  Can goop pour, take the basic shape of what it is poured onto?
Title: Re: another robot build plan
Post by: MagnusWootton on July 23, 2022, 05:46:27 pm
Goup can be anything that starts off a liquid and turns into a solid after its set. =)
Like varnish, glue or plaster.
 
After youve poured it, you can put metal nails and hard stones and tough cloth inside to reinforce it, make it stronger.

A robot just needs to be able to connect the motors together,  and people usually use plastic or metal brackets, but this idea is just about sorta glueing them together in a little open top extrusion mould,  cause it might be easier!

Its a little like an animal in the way that the motor wires are all encapsulated internally via the goop material, with animals all the nerves and organs are all internal under the skin,  so if u wanted to do a repair maybe it would be good practice for being a vet.   :2funny:

Im just coding the ai for it right now,   I need another couple of days, should get it done, Ive left off not doing it for ages,   its bad that I did leave it so long,  but I got a little out of it,  the system is much simplified by me being lazy just thinking about not tapping anything.   But 3 days itll be done,  its about 300 lines of code and itll be really snazzy.   Ill hopefully be able to post something soon.   fingers crossed.
Title: Re: another robot build plan
Post by: MagnusWootton on July 29, 2022, 04:00:26 pm
So sorry Ive been late with an update,  but my head is going crazy cause Im smoking,  Ive just knocked my cig intake down to less than 3 a day,  and I cant get used to it,  and my work is suffering.  But the robo system is in,  and ive just got some graphics up for it.

(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/296482142_192962773080388_7005978312273841348_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=730e14&_nc_ohc=zU4it52p1roAX9mso0P&tn=nGS4S3JtSDaR_WvR&_nc_ht=scontent.fper7-1.fna&oh=00_AT_8mr_7Hofusfi3JQIJIx_xTlaohYonCQNGoVPluF8M9w&oe=62E8EE5A)

So heres the offroad terrain they will be tested on.  (the motor generation + the computer vision will be seeing it and triangulating it.)
Its not very hard to code this,  but Im not going very quickly at all.

So I need to just get it so I like it,  get the robots on it,  and then activate all the code,  its just sitting there hasnt been run yet,  but its in there complete, and ive done it heaps of times before so its going to work.   just need possibly another 4 or so days maybe...  going slower than my expected projection thats for sure...
Title: Re: another robot build plan
Post by: MagnusWootton on July 30, 2022, 03:33:07 am
(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/296647552_193064576403541_6824328620812564984_n.jpg?_nc_cat=105&ccb=1-7&_nc_sid=730e14&_nc_ohc=4gWue-HF1O0AX9ofMgO&_nc_ht=scontent.fper7-1.fna&oh=00_AT9kL_cEPMddd5F-VHGkKFsTX1CPF1_StY7HVuZjmlR9_A&oe=62E9DD8D)

Ok the map is in now fairly properly,   im going to work a bit harder today, hopefully ill have the bots on by tonight, the code is all in there i just to get it all properly running.  be back soon.  sorry for delays.
Title: Re: another robot build plan
Post by: infurl on July 30, 2022, 03:41:34 am
heres another one,   im going to work a bit harder today, hopefully ill have the bots on by tonight, the code is all in there i just to get it all properly running.  be back soon.  sorry for delays.

There's no need to apologize if you're having fun doing what you're doing and you're not harming anyone. Good on you for cutting back on smoking by the way.
Title: Re: another robot build plan
Post by: MagnusWootton on July 30, 2022, 07:23:04 am
Just one more,   Ive instanciated alot of cubes,  the shadows are a bit buggy, but its pretty good, usually shadows dont appear in older games because they are such a bitch to get going.

(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/296681759_193088669734465_2468005567633848317_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=730e14&_nc_ohc=4fpgyH8eIQsAX_0IR7l&_nc_ht=scontent.fper7-1.fna&oh=00_AT-n4DLOg9gtIIU88-C1l43LWhoW1begGPnUVfOGSRMM3A&oe=62E91546)

Im actually utilizing some hybrid raytracing here, its the new thing since video cards have become popular.  shadows are such a problem, that getting out the raytracer for them is not completely out of the question,  especially if you want geometrically correct ones.

So Ill withhold the posts for a little bit,  until ive got the bots in position ready to go.
Title: Re: another robot build plan
Post by: WriterOfMinds on July 30, 2022, 04:10:40 pm
Er, what are the floating cubes for? Are you just testing your simulation engine? Or are these going to be part of the obstacle course?
Title: Re: another robot build plan
Post by: MagnusWootton on July 30, 2022, 05:01:47 pm
They ended up helping me get the shadows working slightly better.  (but they are a bit buggy.)  I need the shadows cause I need to get a good contact indicator when they are jumping and recontacting with the ground.

So Ive finally managed to get the bot on->

(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/296767362_193174279725904_4260881640822862116_n.jpg?_nc_cat=110&ccb=1-7&_nc_sid=730e14&_nc_ohc=u64aKFL9VHAAX92ydAn&_nc_ht=scontent.fper7-1.fna&oh=00_AT-3LZcyRq_v32waBb6JUR-NK8IB0A2lpL4_IxjnONmHdA&oe=62EAD098)
 
  * need to put 1 bot on each corner.
  * need to make sure the coordinates of the bots match the floor coordinates properly.
  * need to get the hinge maximums and minimum extents the right angles.
  * then im going to turn on the physics code (Its all there except for 1 small function left only to write, but it has a bit of geometry - as in mathematics - in it.) and they should make contact with the ground appropriately as gravity makes them fall, and the terrain pushes them back up again, in a rotatey type way, like when a coffee mug hits the ground.

  * then just have to turn on the motor searcher (its already in there,  with that motivation code going to put them in a wrestling match.),  and hopefully off itll go.

They just fall and react as a rigid body, and the hinges move by me changing the lengths of tendon lines that go with the actual leg bones,   I think its the best way to do it,  should go really fast and easily convert to the direct compute gpu shader to get access to the 2048 cuda cores on my video card.  (should be huge performance boost for the motor search.)


1 or 2 days from now,  with the utube vid.
It may go a little slow at first,  but I can speed up the video offline render style if thats the case so it should be no problem.
Title: Re: another robot build plan
Post by: MagnusWootton on July 31, 2022, 01:32:27 pm
The little bots are on it now,  theres still an issue with their drawing, they seem have a scaling bug,  but Im just uploading to show the cool terrain randomizer, and its perlin noise + a little overhang trick which causes it to look wind blown,  and thats all u need to make it look really nice,  just a little trick on top is all it needs.

https://www.youtube.com/watch?v=4W5E5PYhEGQ
https://www.youtube.com/watch?v=L1txpuNXFeQ

So Just have to activate all the code again,  Im onto the physics+animation now.
Title: Re: another robot build plan
Post by: MagnusWootton on August 03, 2022, 02:48:37 pm
just small update.  going really slow,  but I only have one function left to do,  ill try and get it done tonight and well get to see the little robos go.   just so unmotivated,  but im gonna push myself.
I actually got another important bit done,  the index reorderer for the spring recorrection system,  ended up just simplifying off, I didnt need something in it, and it became simpler, so that was good. 
Just keep going!
Title: Re: another robot build plan
Post by: MagnusWootton on August 04, 2022, 07:32:08 pm
Sorry, Ive taken a bit of a alternative pathway again.   but Ill show what Ive got,  Im working on the real hardware for it again,   Ive got one more function to write to the physics engine then hopefully itll be going.

But the hardware is coming along too,  this is a fairly complete anatomy for the finished from scratch machine.
Its mechanical, and powered pneumatically,    it starts off with a pneumatic tattoo gun!
Its going to constructed completely 2d as a single displacement map (its flat one sided on the cast, like a chocolate.)  its going to give it a boxy type look,  but maybe might help make it look futuristic and artificial.     i might be able to print it out on my anycubic photon (which would make it alot easier if i can!) But I have to be able to make it small enough to be feesable to do it.  so ill see if i can,  if i cant, ill probably need another planning step, and print out extrusions that i knock out old school style to build the "casting bucket" out of so many extrusions.

(https://scontent.fper7-1.fna.fbcdn.net/v/t39.30808-6/297394119_194170016292997_2214778949436849739_n.jpg?_nc_cat=105&ccb=1-7&_nc_sid=730e14&_nc_ohc=425AeWAG9eUAX9l1hVn&tn=nGS4S3JtSDaR_WvR&_nc_ht=scontent.fper7-1.fna&oh=00_AT-ztDLTzc9F6CE5GYCoUpKP37pF9cubnfGH5GgIIhM9mA&oe=62F0FB2A)

I have a monster 3840x2160 resolution monitor, to do all my designing,  this picture was 2048x1024 on it,  its been sized down.  Its really nice to never run out of screen space,  but sometimes u travel a long way with the mouse, windows pop up at the top left corner all the time,  maximizing a window is like setting off some gunpowder on your screen, watch out for hitting that button by accident, and the mouse is easy to lose!  and u need better eye sight, cause u tend to scroll with your eyes instead of the scroll bars.
Title: Re: another robot build plan
Post by: MagnusWootton on August 24, 2022, 10:49:57 am
https://www.youtube.com/watch?v=sie0G5GIGqk

So sorry for the delays, but things snowballed abit.  but ive got a new modelling style going, and game should look alot nicer.

Hope to get more models done soon,  sorry for false promises but I am still working.

Just decided to go for something a bit more extensive, and im lacking motivation at the same time, so just going a bit slow thats all.