9-Axis IMU LESSON 19: Vpython Visualization of Pitch and Yaw

preview_player
Показать описание
You guys can help me out over at Patreon, and that will keep this high quality content coming:

In this lesson we show you how to create a live visual simulation where a 3D model will track the pitch and yaw of a breadboard. We are using a BNO055 sensor and an arduino nano.

Adafruit BNO055 IMU Sensor:

I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:

#Arduino
#IMU
#Vpython
#BNO055
Рекомендации по теме
Комментарии
Автор

What can you say but, "Oh Yeah". Now the fun really begins. It would be interesting to apply this to a DIY flight simulator. Python keeps on showing how it really can simplify programming tasks. Thanks Paul.

opalprestonshirley
Автор

No word to appreciate you....excellent job sir....you make me something different from others...really I mean it....don't stop sir...please give us more and more knowledge as you can...definitely god will bless you...Thank you.

pralaymajumdar
Автор

Another fine lesson #18, Paul! Penny dropped at the end of the lesson regarding centering the global coordinate (0, 0, 0) at the centre of the BNO055: It's easier to animate if the BNO is centred on a long breadboard, rather than if it were located at one end of a short breadboard.

aklmini-makers
Автор

Really enjoying this series. Learning a lot. Thanks!

quaternion-pi
Автор

Great lesson! I love how it came together and now we have a vpython simulation of what's happening in the real world!!! It's so cool! I didn't quite understand the concept of cross products, I'll have to look at khan academy for that. Thanks so much Paul!!!

danielsaenz
Автор

onto lesson #20 -- great time I had with #19, appreciate your teaching!!

aatt
Автор

So I am finding, with both the code you've written (copied into the Arduino IDE) and follow-along code that I wrote, that the magnetometer is pretty unstable. I'm suspecting that it's detecting the metal supports for my desk, and possibly things around it. A good tip for others trying this out is to take the Arduino over to somewhere away from big magnets - somewhere my robotics workshop is a little busy with. Keeping the calibration numbers visible is also helping big time.

Orionrobots
Автор

Happy Christmas Paul,
I have added the nano to stabilise my sleigh, so should loose less toys on those tricky south turns on Dec 25th ;~). Thanks so much for another year of brilliant lessons.. peace to all mankind..kind regards Santa

mrdhughes
Автор

Another fine lesson #19, Paul! All working well. Looking forward to including Roll. My DIY camera gimbal end goal getting closer!! Thank you so much.
BTW - have you shown Siri to door? [love your meme "#Resist the Metaverse"]

aklmini-makers
Автор

This was fun <3 I noticed roll wasn't showing - then you mentioned it - everything else going great so far.

Will look into plotting the RPY in Python if you don't already have it covered D:

BiancaDianaT
Автор

Better be careful talking to Siri like that... they will remember everything when they rise up.

In all seriousness though, I have followed through this series so far and I have yet to find a more comprehensive tutorial for anything ever. The way you teach it makes me believe I could have done this in elementary school.

jonathanfreels
Автор

Sir i am really unable to pull my data from arduino to python (it seems)

My code is giving me some error message ..
Can u please help me .
I have made it out till here

I would b glad if u could provide me your email .
So that i could sent u d code and error

robinsharma
Автор

I'm not even sure how that Python code is working, to be honest. You've spelled "length" wrong in many places, as "lenght", for the arrow objects for example. Is Python at least a *little* obsessive about that? What gives?

bluehornet