Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Here's the next part of BB-8, early for Patrons only.

Files

Previews only

XRobots - Star Wars BB-8 Droid *VERSION 3 PART 8*, Electronics #2 Stability Testing

Help me make more AWESOME projects, and get exclusive REWARDS with Patreon!*** : http://www.patreon.com/XRobots Sorting out side ot side stability using the IMU and the trousers to kill wobble.

Comments

Anonymous

You mention a few times that you're concerned with how fast you can run your loop in the body. Have you considered sending the payload from the remote to the droid in a binary format instead of as ascii so that you don't have to parse those integers out? String operations are generally something to avoid in embedded programming if possible.

PatchBOTS

That moment when you realize you're in over your head....

XRobots

Thanks for that, yes I guess I could do, but it looks like there's plenty of time left in the loop so far. It's easy to understand and see what's going on this way also.

Anonymous

Definitely. I'm just used to writing wireless m2m protocols and always use binary for efficiency. But ascii is definitely easier to read and understand.

Anonymous

It's great that you are using cascaded PID controllers. I'm a controls engineer and we use cascaded loops all the time in industrial process control applications. Looks like it's doing what it's supposed to be doing!! Great job (as usual). Just curious about how you chose the starting tuning constants and does the Arduino have an autotune function?

XRobots

Thanks!, yes I started with P=1, I=0 and D=0, slowly increased P and messed about with D until it worked. I us currently 0.

Anonymous

Hi James, really nice Video! i have a Question: can you say my what pc config you use for 123D-design?

XRobots

thanks, Yes I'm using a quad-core i5 with 16Gb RAM and a 2Gb Nvidia GeForce card.

Anonymous

when does the Live Broadcast start? not sure I have the time right

XRobots

It's regular, I try for monthly, but it's normally about every 5 weeks. I can do more if there are specific things Patrons want to see. I'd like to do one specifically about CAD and 3D printing - let me know if you have any other ideas.

Anonymous

I see that BB-8 is coming along nicely. Keep up the great work.

Pav

If you're mapping the value from 0-1023 to 0-512, wouldn't you want to map from 0-511? So that you have 512 values instead of 513?