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

Content

Here's next Tuesday's video, early for Patrons!

I actually realised that my Kinematic model function is writing to all 12 ODrives four times in every loop, so I'm actually doing 48 ODrive writes per loop instead of 12, so that needs sorting out in part 20 and the loop making even quicker.


Files

Previews only

openDog Dog Robot #19 - Some Stability | James Bruton

Use promo code PROMOBRUTON to get a Star Wars poster and a Boba Fett Figurine if you subscribe before the 4th of September - https://bit.ly/2K7XE1L This time I'm tightening up the loop by increasing the baud rate for writing to the ODrive motor drivers. This allows us to get down to a true 20ms loop and read the remote data and IMU in the same time. Looks like I can code up some rudimentary stability, but we'll be doing more next time! ① HARDWARE/SOFTWARE What more important hardware is there in life than the clothes on your back and the cup in your hand. You can get your own Robot X tee or openDog mug at the link below: Teespring: https://teespring.com/stores/james-bruton Below you can also find a lot of the typical tools, equipment and supplies used in my projects. Some of these links are affiliate links, meaning, at no additional cost to you, I might earn a little extra if you click and make a purchase. Lulzbot 3D Printers: http://bit.ly/2Sj6nil Lincoln Electric Welder: https://bit.ly/2Rqhqos CNC Router: https://bit.ly/2QdsNjt Ryobi Tools: http://bit.ly/2RhArcD Axminster Micro Lathe: http://bit.ly/2Sj6eeN 3D Printer Filament: http://bit.ly/2PdcdUu Soldering Iron: http://bit.ly/2DrNWDR Vectric CNC Software: http://bit.ly/2zxpZqv And don't forget the code for some of my projects is available on my GitHub here: https://github.com/xrobots ② GENIUS No MacArthur grant yet. But while I’m still waiting by the phone for that call, maybe you might patronise me with your Patreon-age or pick up some of my merchandise. Or, if you’re all out of digital cash just comment on one of my hilarious Instagram pics, pop me a Tweet or generally yell in my direction. Patreon: https://www.patreon.com/xrobots Teespring: https://teespring.com/stores/james-bruton Instagram: https://www.instagram.com/xrobotsuk Facebook: https://www.facebook.com/xrobots.co.uk Twitter: https://twitter.com/xrobotsuk Huge thanks to my patrons, without whom my standard of living would drastically decline. Like, inside out-Farm Foods bag decline. Plus a very special shoutout to Aleph Objects, Inc who keep me in LulzBot 3D printers and support me via Patreon. Why not join my community, who are mostly made up of actual geniuses. There’s a Facebook group and everything: https://www.facebook.com/pg/xrobots.co.uk/community ③ XROBOTS Former toy designer, current YouTube maker and general robotics, electrical and mechanical engineer, I’m a fan of doing it yourself and innovation by trial and error. My channel is where I share some of my useful and not-so-useful inventions, designs and maker advice. Iron Man is my go-to cosplay, and 3D printing can solve most issues - broken bolts, missing parts, world hunger, you name it. XRobots is the community around my content where you can get in touch, share tips and advice, and more build FAQs, schematics and designs are also available. ④ MUSIC AND SFX The majority of the music and SFX used in my videos is from Epidemic Sound http://share.epidemicsound.com/xrobots

Comments

Anonymous

Lots of 1's and 0's on this one, though that's really where this project needs to be at this point.

Anonymous

Interesting sponsor btw.

XRobots

Thanks - I'm trying to keep those relevant to the channel as much as possible if I can.

Anonymous

I'm not personally into models, but I think you've definitely nailed your target audience with this one. Good choice.

Anonymous

I was looking for a spot to time stamp so the more mechanically minded people like me can skip past the coding, but that would've left about 2-3 minutes at the end so I decided not to haha.

Eric lamb

I know this is not useful for you but I was wondering if I was communicating with an Odrive over USB do you know what the speed is?

XRobots

Oskar at ODrive mentioned it could take 4000 commands a second, not sure which class of USB is it though.

bruceneely

it did feel a little weird to have a commercial in the middle, but looks like quality model, so no complaints.

XRobots

It's actually pretty good, it was supposed to be later in the video, but they asked to move it nearer the start, which I think works well in this case.

Ted Gaunt

Great work this week. Looks like you knocked the snot out of the write speeds. I find that it can be helpful to add a small stats library, and wrap your key functions with start/stop times to the stats. This allows you to report min/max/avg/stddev/etc for your various segments of coding and io. You can wrap those calls with a if (debug_stats) so that you can run even more lean when you don't need any stats.

XRobots

I need to look again at the two-way comms back to the controller. I'd like to send that data back and out of the USB port on the remote so I can get stats and data on a laptop etc