IMU | Ep.1: Preparing an experiment to test linear positions (ft. MPU6050, GY-BNO055)

  Переглядів 64,128

That Project

That Project

День тому

This video covers the process of collecting data for preparation for experiments and deriving results from Matlab.
[BNO055 Wiring]
• GY-BNO055 | Ep.0: Conn...
[MPU6050 Wiring]
• ESP32 | FLUTTER | BLE ...
[Oscillatory-Motion-Tracking-With-x-IMU]
github.com/xioTechnologies/Os...
[Project Github link]
github.com/0015/Python-Data-S...
#LinearPosition #IMU #BNO055 #MPU6050 #ESP32

КОМЕНТАРІ: 176
@gregd3317
@gregd3317 2 роки тому
This is very impressive! Thank you for sharing your work on this. I have not had much luck with resolving drift with the mpu6050. But I was not aware of the bno055! It's results appear to be much more stable. I would be very tempted to switch my current project for measuring linear movements from arduino/mpu6050 to esp32/bno055.
@sakumar
@sakumar Місяць тому
The BNO055 has a built in Cortex processor that reads the raw data and runs a sensor fusion algorithm (such as Kalman filter) internally. So your ESP processor is already reading filtered data from it. In the case of the Bosch you really are getting raw data. Thanks for your video in which one can clearly see the difference.
@vivekanand_dhakane
@vivekanand_dhakane 6 місяців тому
Thanks for this comparison and analysis
@salmantechnologies282
@salmantechnologies282 11 місяців тому
Love your Work
@robotikveotomasyon3578
@robotikveotomasyon3578 3 місяці тому
Thank you so much for this explanatory video.
@ThatProject
@ThatProject 2 роки тому
That Project's Channel - ukposts.info Join FB Group - facebook.com/groups/138965931539175
@Ivan_builds
@Ivan_builds Рік тому
Great videos! I'm having some trouble writing the data to the file. My python gui starts taking samples, and I can see the data coming in on my python notebook, so I know my hardware is working. When I hit stop, it says "Sampling Rate: xxx hz :: Done!" It never tells me it's saving to file, and I don't see any data in the CSV file. Any tips?
@ThatProject
@ThatProject Рік тому
There seems to be a problem when writing the last CSV part. How about debugging this part?
@alexchan5331
@alexchan5331 2 роки тому
Hello I have been trying to test linear position with Adafruit BNO085 by following your video. I managed to get the value print out as the way as you demonstrated in the video with the BNO055 and change a bit of the Matlab code so that the accelerometer unit is g. However when I run the Matlab code, the animation is not even close to the actual movement at all. May I ask what changes have you made to the original Matlab code such that u can produce the clip at the end of the video? Thank you very much.
@ThatProject
@ThatProject 2 роки тому
I haven't touched the basic Matlab code. Only the part of the view has been modified to show the screen of multiple axes. The sensor I used is a clone version of the BNO055. Something might be different from yours.
@korean_dude6036
@korean_dude6036 8 місяців тому
BNO 사용할 때 이게 움직이다가도 가만히 두면은 원점으로 converge 하지 않던가요? 저는 bno-055사용할 때 그렇더라구요...
@korean_dude6036
@korean_dude6036 8 місяців тому
하이패스필터 cutoff 조절하면 결과가 달라지긴 하는데 흠... 모르겠네요 원인을
@ThatProject
@ThatProject 8 місяців тому
@@korean_dude6036 If so, that's really cool.
@korean_dude6036
@korean_dude6036 8 місяців тому
@@ThatProject !!!
@yesssoukel1291
@yesssoukel1291 2 роки тому
Hello, Thank you for your video. I have a question about the data recorded by the sensor. In my case I used a sensor WitMotion Bluetooth BLE 5.0 9 Axis WT901BL, it sends the data directly to a software developed by the same company WitMotion, we can extract the data in text form and then convert them to CSV. I collected the data of the accelerometer and the gyroscope as well as the magnetometer on the same CSV file, but when I transfer it on Matlab it does not work, error in the file. I don't know if the problem is in the structuring of the data file or if it is necessary to change a detail in the code? In what form should the data be saved for the code to work? Thank you
@ThatProject
@ThatProject 2 роки тому
If you create the same csv in this format, no problem. github.com/xioTechnologies/Oscillatory-Motion-Tracking-With-x-IMU/blob/master/LoggedData/LoggedData_CalInertialAndMag.csv
@Sam-ch4jh
@Sam-ch4jh 2 роки тому
Thank you. What is the repeatability accuracy. i.e. for example, you keep it at ground, move one feet up. get back to ground, will it show same in calculated value? Is it possible to get small sudden movement say 0.1 mm using these sensors?
@ThatProject
@ThatProject 2 роки тому
Due to the drafting of each axis, this is not quite as accurate as you might think. You can get an approximate position, but it won't be in a perfect position even if you put it back in its original position after a move.
@SunilBisoyisbsunil3
@SunilBisoyisbsunil3 9 місяців тому
Thank you for the video. Helped me a lot. I was wondering if there's a way to see this in real time instead of storing it in a csv file.
@ThatProject
@ThatProject 9 місяців тому
Unfortunately, I was not able to find a good solution for real-time.
@JoseSanchez-wg7pe
@JoseSanchez-wg7pe Рік тому
Hello! I am trying to adapt this code in real time with another type of sensors (Xsens MTw Awinda) but I don't know what do I have to put in SamplePlotFreq. Can you help me with this please?
@jalananlurus
@jalananlurus 2 роки тому
Cool Bro..
@ghiblistdio7432
@ghiblistdio7432 Рік тому
first, thank you so much for opening your amazing project. I have some question, is those python code working with Real time or only by demo? I connected with my BNO055 sensor and ESP32, but 3D animation is automatically moving by itself. thank you! 좋은프로젝트 감사합니다
@ThatProject
@ThatProject Рік тому
My Python code is just for sampling data. Everything has to change in order to be calculated in real-time.
@ghiblistdio7432
@ghiblistdio7432 Рік тому
could you share any idea or method 59 figure out build up by real time??😭
@ThatProject
@ThatProject Рік тому
@@ghiblistdio7432 Unfortunately, it's not that easy. It is like a level of thesis preparation or the company's R&D.
@ghiblistdio7432
@ghiblistdio7432 Рік тому
I see😭 but thank you for you comment by the way!
@anakbandung196
@anakbandung196 7 місяців тому
So, do you think that BNO055 is much way better than MPU6050 to estimate the linear position? Because, I'm trying so hard to estimate the linear position using MPU6050
@ThatProject
@ThatProject 7 місяців тому
According to the test result, seems like BNO055 is much better than MPU6050 but it's hard to say that. When I collect the data from both devices, try to do the same way as much as possible. However, there may have been a better method depending on the device's characteristics. Please check each datasheet and find the best sensor for your project.
@susovanpatra00
@susovanpatra00 9 місяців тому
his sir,, I had a question ,, I am currently working on a project to find the final position using imu sensor data,, can you help me with that??
@rohith4885
@rohith4885 3 місяці тому
Did you get it?
@isabelsoares4315
@isabelsoares4315 4 місяці тому
Was the Mahony filter built based on the Kalman filter? Does it make use of statistics as well and add a high pass filter along with it?
@ThatProject
@ThatProject 4 місяці тому
This may be more helpful than my explanation. ahrs.readthedocs.io/en/latest/filters/mahony.html
@yesssoukel1291
@yesssoukel1291 Рік тому
Hello, Please, are the data (Data time, Data Rotation matrix, and Data EulerAngles) necessary for the calculation and display of the positioning, because you are not using it. Also, for the packet number you have put an increasing number from 1 to 10000, but the packet number in the original example is different. Does this affect the calculation? One last question, is Data Rotation matrix recorded by the sensor? Thanks
@ThatProject
@ThatProject Рік тому
The data obtained from the sensor is the gyroscope and the accelerometer matrix. Based on this, all calculations are made in Matlab to obtain positioning. The packet number doesn't really matter.
@williammasson6228
@williammasson6228 2 роки тому
Is there any way to convert this code using a leonardo arduino instead of an ESP32? If so, you could try to explain it to me, I started an indoor tracking project with a 6050 MPU, but I only have one leonardo arduino, and your video was one of the best I've found on this subject, but as I'm very new to this subject, I don't know if it is possible to perform this "conversion". Sorry for my English.
@ThatProject
@ThatProject 2 роки тому
Unfortunately, I haven't do any projects with the Leonardo Arduino. So I have no idea about this board. Sorry for not being of any help.
@deanstarman1694
@deanstarman1694 2 роки тому
Two Thumbs Up!!
@user-hr5op2hg3r
@user-hr5op2hg3r 2 роки тому
Hello~^^ Is there a way to calculate the direction the gyro sensor moved in cm or mm of x-coordinate y-coordinate z-coordinate?
@ThatProject
@ThatProject 2 роки тому
Unfortunately, I don't have a solution for that.
@serkanaydogdu5158
@serkanaydogdu5158 Місяць тому
Hello, what is the accuracy of the position data in mm in xyz movements? Have you been able to test it with the help of a ruler or meter? Thanks.🤙
@ThatProject
@ThatProject Місяць тому
Good point. I can't answer because I haven't tested it accurately. I think that perhaps the accuracy can be improved by scaling up and down in the space with coordinates.
@m.anwrs59
@m.anwrs59 2 роки тому
Few weeks I've tried, i can save the Datalogged by using your python code. Actually when i start the simulation, the result of animation is kind a different with actuall motion. How do i solve this
@ThatProject
@ThatProject 2 роки тому
That's the same as mine. Accurate positioning is not possible because the values coming in at the beginning have not been fully calculated.
@vitor126
@vitor126 Рік тому
Hello, can i use this as a precision gps sensor for an ardurover or is there some factor that would not allow this implementation?
@ThatProject
@ThatProject Рік тому
Well, what I did here is more of a test for an IMU sensor. What's your plan to use IMU sensors to increase GPS precision?
@vitor126
@vitor126 Рік тому
​@@ThatProject my plan is to use the coordinates generated by the IMU and transform the x axis into latitude and y into longitude and send this to arduover as if it were the response from the gps module itself.
@ivansucec2510
@ivansucec2510 2 роки тому
Hi! I'm trying to get your code working on Windows, but I'm having trouble with python part where you made "simple serial application", I've managed to start it, but it doesn't want to create samples to csv. file. I have mpu6050 sensor and esp32, but I didn't use TFT screen, so I deleted everything in your Arduino code that has TFT written in it. I also see that I have a bit different pinout on my esp32 than yours, I hope that isn't problem? Thank you for your answer.
@ThatProject
@ThatProject 2 роки тому
First, please check whether ESP32 outputs the value of the gyro sensor and the accelerometer sensor properly from the console.
@ivansucec2510
@ivansucec2510 2 роки тому
@@ThatProject Jep, it works now, can you display data in real-time? Readings from gyro and send it to matlab? I can now save samplings in to csv. and look readings in mat lab, don't know if it is possible in real time?
@ThatProject
@ThatProject 2 роки тому
@@ivansucec2510 I don't have a plan to work yet, but I'll let you know when it's completed.
@wahbimanchoul2666
@wahbimanchoul2666 Рік тому
Great video! What can I use instead of TTGO that can guarantee similar results?
@ThatProject
@ThatProject Рік тому
The point of this project is the IMU sensor. Of course, you can use any ESP32 MCU.
@wahbimanchoul2666
@wahbimanchoul2666 Рік тому
@@ThatProject one last thing please..if I want to summarize the steps to follow from the beginning : -collecting data from IMU than applying the matlab code to see the signals(velocity,filtered signal..) - obtaining csv file contenting positions -hardware -linear position Is that right or im missing something ? Thank you in advance
@ThatProject
@ThatProject Рік тому
@@wahbimanchoul2666 I think you're on the right track. Any updates? What kind of IMU sensor are you using for your experiments?
@paulasimohigueras4911
@paulasimohigueras4911 2 роки тому
Hi! Thank you for your video. Is it possible to use this code with an Arduino Nano 33 IoT with an IMU LSM6DS3 integrated? it seems a convenient board for wearable devices.
@ThatProject
@ThatProject 2 роки тому
I haven't tried it myself, but it's probably possible from the specs. Please try modifying my code for Arduino Nano 33 IoT.
@paulasimohigueras4911
@paulasimohigueras4911 2 роки тому
@@ThatProject Perfect! Thank you!
@FPChris
@FPChris 2 роки тому
Could this be used to track a 3D handheld scanner of would it drift?
@ThatProject
@ThatProject 2 роки тому
I think so. But you need to modify the Matlab code to track real-time for the 3D handheld scanner.
@bushraraza5169
@bushraraza5169 Рік тому
I have data accelerometer (ax,ay,az) in excel file and I want to have a 3 axis position trajectory using Kalman Filter in Matlab. Can you guide me in this regard.
@Noname-hc8mj
@Noname-hc8mj Рік тому
any result or updated?
@wahbimanchoul2666
@wahbimanchoul2666 Рік тому
great video ..Im wondering what are the changes in Matlab code if we work with Arduino Thank you
@ThatProject
@ThatProject Рік тому
I tried once to make it calculate in real-time but that was not easy. If it works, I'll share it through my channel.
@tanspidy5109
@tanspidy5109 2 роки тому
How can i solve no module error when I run the python code in pycharm "import serial.tools.list_ports ModuleNotFoundError: No module named 'serial.tools' " can you say solution for this
@ThatProject
@ThatProject 2 роки тому
If you're using PyCharm, then it shows you to install the requirements.txt. Or you can install the package pyserial by youself.
@tanspidy5109
@tanspidy5109 2 роки тому
@@ThatProject ok Thanks a lot
@truman7502
@truman7502 6 місяців тому
Hello Sir. Thank you for the video. I am working on a project to identificaty location points within 100 meter range. Is it possible to contact you to get some advice?
@ThatProject
@ThatProject 6 місяців тому
Sorry, I don't get personal project questions. Please leave your comments here. Thank you.
@moses5407
@moses5407 Рік тому
Are you aware of any real time libraries for use with the BNO055 vs. Going with recorded data and Matlab post-processing?
@ThatProject
@ThatProject Рік тому
I don't think so. There are no such libraries so you have to implement your own. Tried several times but couldn't get the right result.
@islandnil3864
@islandnil3864 Рік тому
failed, cant use esp32 and bno055 with your code. would you explain how you collect data? I just need to fix a data form issue. I can use arduinospreadsheet.
@ThatProject
@ThatProject Рік тому
I don't get it. Where did you have a problem?
@island1199
@island1199 Рік тому
@@ThatProject your code seems special, I dont need collect data like tha. python didnt make it in real time,I want to do the thing you showed at begining, but no code for that
@DooDeeDarren
@DooDeeDarren Рік тому
Could you 3d plot this all on arduino with a screen or does it have to use matlabs?
@ThatProject
@ThatProject Рік тому
It has to use Matlab.
@DooDeeDarren
@DooDeeDarren Рік тому
@@ThatProject ah ok thanks. It was only because I want to try this idea but plot something like temperature in different positions in a room on a hand held device.
@memearchives2641
@memearchives2641 Місяць тому
Hi I’m wondering if I could use this program with a BNO085 and a qtpy esp32 s2 to wirelessly transmit the data, could you help me out please ?
@ThatProject
@ThatProject Місяць тому
There is a difference between sending data in real time and storing the data internally before sending it. Have you considered this?
@Eagle-ov1cf
@Eagle-ov1cf 4 місяці тому
Will it work if i were to track a circle with a diameter of around 50m ? And will the precision be to the point? 🤔🤔
@ThatProject
@ThatProject 4 місяці тому
This is done by first collecting sampled data and then reading and analyzing the data in Matlab. For actual use, many things must be added and implemented.
@Eagle-ov1cf
@Eagle-ov1cf 4 місяці тому
@@ThatProject Hmm, I see. That helps a lot. I'll be trying my beat to make it run in real time. Thanks Again!🙂
@wanyunqu4085
@wanyunqu4085 2 місяці тому
Hi, this is a very useful video! But I'm wondering what the raw data look like. My output IMU data now contains a(X, Y, Z), g(X, Y, Z), and m(X, Y, Z). I don't know if it's the right one to run the code. Thank you!
@ThatProject
@ThatProject 2 місяці тому
All you need is data for a(X, Y, Z) and g(X, Y, Z).
@wanyunqu4085
@wanyunqu4085 2 місяці тому
got it, thanks!@@ThatProject
@wanyunqu4085
@wanyunqu4085 2 місяці тому
Then I just have to change the filename in the code right? @@ThatProject
@ThatProject
@ThatProject 2 місяці тому
@@wanyunqu4085 What do you mean by the filename?
@wanyunqu4085
@wanyunqu4085 2 місяці тому
Sorry for the confusion, do I have to make some changes to let the code run my data? Or I can just simply change the import data: xIMUdata = xIMUdataClass('LoggedData/LoggedData'); to my file's name. Thank you! @@ThatProject
@danieljosemunozcastaneda8846
@danieljosemunozcastaneda8846 9 місяців тому
Does it works for an flutter app, that could be on real time, but like just making a higher sample time?
@ThatProject
@ThatProject 9 місяців тому
This is not a flutter app, it doesn't work in real time.
@joaquinmarianopineiro2716
@joaquinmarianopineiro2716 9 місяців тому
Are you using Kalman Filter?
@ThatProject
@ThatProject 9 місяців тому
It's using High-pass filter. Check the matlab code.
@barajr1349
@barajr1349 Місяць тому
Nice video, but can the position display be shown directly on the arduino serial monitor without entering matlab?
@ThatProject
@ThatProject 29 днів тому
The reason Matlab is used here is to calculate the position using data obtained from the IMU. Without it, this is nothing.
@barajr1349
@barajr1349 27 днів тому
@@ThatProject Do you know of a sensor that can get a position like your video, but doesn't use matlab?
@ThatProject
@ThatProject 27 днів тому
@@barajr1349 For this project, an IMU sensor is needed, and the data obtained from it needs to be processed. There is no sensor yet that accurately calculates x,y,z coordinates in 3D space.
@m.anwrs59
@m.anwrs59 2 роки тому
I mean how to show the top view, left and top view ??. In my own, the steps of previous position don't showed. Only 1 dot (actual position)
@ThatProject
@ThatProject 2 роки тому
I'm not very good at Matlab, so someone else made it. I couldn't upload the source code because he didn't want it to be shared. Please understand.
@m.anwrs59
@m.anwrs59 2 роки тому
@@ThatProject ok noted, thanks for advice so far
@kiettran1125
@kiettran1125 Місяць тому
Hello,can you show me the circuit diagram to see how the components are connected together?
@ThatProject
@ThatProject Місяць тому
There is a video showing the connection of each device in the video description.
@akshayjose6555
@akshayjose6555 Рік тому
Hi... I'm interested in this project and I have a question. Why it is linear only ?. Can't we track at least 2 dimensions like x and y ?
@ThatProject
@ThatProject Рік тому
Linear for the X, Y, and Z axes.
@akshayjose6555
@akshayjose6555 Рік тому
@@ThatProject Oh, okay. I thought the unit could only detect one axis because you were moving it up and down. I've seen your other videos on tracking using UWB, which has good accuracy but requires external anchors. Is there a way to increase the accuracy of IMU-based tracking without using external hardware? Would it be possible to use techniques like SLAM or odometry in combination with this project to improve tracking accuracy and reduce drift?
@ThatProject
@ThatProject Рік тому
@@akshayjose6555 It's possible, but it takes a lot of effort. In particular, it is possible to determine a specific location based on UWB, but it seems that a lot of work must be done to integrate an IMU sensor and operate like a SLAM without image processing.
@akshayjose6555
@akshayjose6555 Рік тому
@@ThatProject ​ Is it possible to add image processing in it ? (I mean the IMU based tracker shown in this video) I've seen some open-source projects that use a Raspberry Pi and a single camera to achieve this, and I've even seen someone do it with just an ESP32. I’m including a few interesting open-source projects below Project 1 Video :- ukposts.info/have/v-deo/cJqlYW-dboqTymQ.html Source :- riccardogiubilato.github.io/visual/odometry/2017/12/12/Visual-Inertial-Odometry-On-A-Budget.html Project 2 Video :- ukposts.info/have/v-deo/aoKoraOQkK6Vlqc.html Project 3 Source :- github.com/weixr18/Pi-SLAM
@ThatProject
@ThatProject Рік тому
@@akshayjose6555 I think it is very difficult to implement SLAM with only ESP32. OpenCV is available, but data processing is very slow. For your project, it seems appropriate to do it with an SBC rather than an MCU.
@ardanzaasier
@ardanzaasier Рік тому
Hi @That Project . How can i convert this code to adapt it to arduino one?
@ThatProject
@ThatProject Рік тому
What part are you talking about? Matlab part? or ESP32 part?
@ardanzaasier
@ardanzaasier Рік тому
​@@ThatProject I was referring to the ESP32 part, but I think I managed to have something similar. Now I was trying to have full position tracking only with Arduino. Do you think this would be possible?
@ThatProject
@ThatProject Рік тому
@@ardanzaasier Using ESP32, or Arduino, it doesn't really matter. The point is calculating the absolute position with the accelerometer and gyroscope in real-time. I'm not sure about it, but I hope you try it.
@ardanzaasier
@ardanzaasier Рік тому
@@ThatProject I will try 💪💪💪
@wahbimanchoul2666
@wahbimanchoul2666 Рік тому
@@ardanzaasier did you tried it with arduino and is it working ? ps :Im talking about the Matlab part
@SpaceDragonYT
@SpaceDragonYT 2 місяці тому
Hi. Very helpful video, thank you ! You are maybe THE solution to my problem acquiering accurate position from IMU. The code you used in matlab comes from 'Oscillatory-Motion-Tracking-With-x-IMU'. I saw x-IMU is a quite expensive IMU and I was wondering how you used their script to get real time data from another IMU ( MPU6050, GY-BNO055 ). Are functions like 'xIMUdata.CalInertialAndMagneticData' understandable for another IMU ? The problem is that I do not really understand the link between the Matlab code and the two IMU you used. Is it compatible ? Also, given the end of the video, would you advise rather GY-BNO055 than MPU6050 ? I hope I'll get an answer :) Thank you in advance.
@ThatProject
@ThatProject 2 місяці тому
To use the Matlab script they provided, we first had to collect data such as Accelerometer and Gyroscope. After that, I was able to save it as a CSV file type and read it in Matlab to obtain the coordinates where I moved while holding the sensor. I don't understand the "compatibility" you mentioned. The Matlab script and data collection process operate independently of each other and require completely different workflows to perform them simultaneously. In my tests, I think the BNO055 showed better results than MPU6050.
@SpaceDragonYT
@SpaceDragonYT 2 місяці тому
@@ThatProject Ok thanks for your help. I misunderstood some things. I thought what you presented was real time processing. So the xIMU script in Matlab is not acquiering any data in real time. It only reads raw data from the CSV file (accelerations, angular velocities, magnetic field from the IMU) and treat it to get position. By the way I think you did some calibration to the sensor before having accurate results, didn't you ? Or did filters handle things anyway ?
@ThatProject
@ThatProject 2 місяці тому
@@SpaceDragonYT If you look at my code, in the case of BNO055, it starts after performing its own calibration function before starting sampling.
@SpaceDragonYT
@SpaceDragonYT 2 місяці тому
@@ThatProject Ok I see. Thanks a lot for your help. I'll try this, I hope it will work :)
@gjgb8836
@gjgb8836 Рік тому
How did you add the multiple views?
@ThatProject
@ThatProject Рік тому
I'm not familiar with Matlab. I got help. The original creator didn't allow sharing, so I can't open it either.
@junzhezhang5397
@junzhezhang5397 Рік тому
Hello, is the data being output dynamically? if so, how?
@ThatProject
@ThatProject Рік тому
After collecting sensing data first, visualization is performed with the data.
@junzhezhang5397
@junzhezhang5397 Рік тому
@@ThatProject may i ask what visualization tool did you use?
@ThatProject
@ThatProject Рік тому
@@junzhezhang5397 As you can see in my video, I used Matlab.
@subodhkumarsuman5509
@subodhkumarsuman5509 Рік тому
Nice video. I need some help with my project.
@ThatProject
@ThatProject Рік тому
How can I help you? We can talk about it here.
@wanachaitavakan2402
@wanachaitavakan2402 Рік тому
very good i need help
@overrated850
@overrated850 2 роки тому
Why not use the two chips in one circuit? They are i2c and they have different addresses.
@ThatProject
@ThatProject 2 роки тому
I know that but to get a precise sampling rate from each sensor, I configured it this way.
@PramodPal-nj2gc
@PramodPal-nj2gc 2 роки тому
Hi, I am getting garbage data values after say 30 percent of data acquisition when asking for 7000 data sets. How to resolve this
@PramodPal-nj2gc
@PramodPal-nj2gc 2 роки тому
1.39, -0.62, -0.80, 2..01.54, -0.65, -0.81, 2.5.51.68, -0.74, -0.78, 3.73.91.65, -0.77, -0.61, 4.1461.50, -0.81, -0.41, 3.91.41.38, -0.80, -0.34, 3.3581.30, -0.69, -0.43, 2.6.621.49, -0.68, -0.59, 1..21.64, -0.56, -0.73, 1..21.69, -0.37, -0.87, 1.07,1.71, -0.15, -1.04, 1.17.31.67, 0.06, -1.14, 1.145, 1.73, 0.05, -1.09, 0.52481.11, 0.26, -0.89, 2.9869,0.88, 0.28, -0.77, 3.34210.74, 0.31, -0.81, 2.89,60-0.39, 0.53, -0.54, 2.1.92-1.22, 0.88, -0.54, 1.4-0.89, 0.97, -0.50, 1.18.3-0.64, 0.92, -0.40, 0.960,-0.64, 0.87, -0.37, 0.948,-0.62, 0.60, -0.37, 0.456,-0.57, 0.34, -0.38, 0..39-0.56, 0.10, -0.41, 0..9-0.55, -0.16, -0.40,2.
@PramodPal-nj2gc
@PramodPal-nj2gc 2 роки тому
this kind of
@ThatProject
@ThatProject 2 роки тому
@@PramodPal-nj2gc Try outputting data without connecting to a Python program. There may be strange strings while outputting data of 7000.
@m.anwrs59
@m.anwrs59 2 роки тому
Hi eric, i'm ur new subcriber. Thanks a lot for this, may i ask? Can u send me your csv from ur own recorded trajectory?
@ThatProject
@ThatProject 2 роки тому
Unfortunately, I no longer have the data. I encourage you to create your own data set using python code that can collect data.
@m.anwrs59
@m.anwrs59 2 роки тому
@@ThatProject yes actually I'm using Arduino uno, by few times modification finally it works.
@m.anwrs59
@m.anwrs59 2 роки тому
@@ThatProject Last question sir, in matlab it only show the dot. I don't know how to show the trajectory like u
@ientucamranh9270
@ientucamranh9270 2 роки тому
Hi. I can use mpu9250 for project ?
@ThatProject
@ThatProject 2 роки тому
Each sensor has slightly different characteristics so may require tuning.
@ientucamranh9270
@ientucamranh9270 2 роки тому
@@ThatProject thanks
@ientucamranh9270
@ientucamranh9270 2 роки тому
@@ThatProject hi. how to run esp32 with mpu6050 and matlab real time running
@ThatProject
@ThatProject 2 роки тому
@@ientucamranh9270 You can make a serial port connection in Matlab. www.mathworks.com/help/matlab/ref/serialport.html
@ThatProject
@ThatProject 2 роки тому
@Deadly Pearly I think just this one IMU sensor is a lot lacking for use in streamVR.
@homeofgamesnews
@homeofgamesnews 2 роки тому
Thanks, Is this code works on arduino Nano ?
@ThatProject
@ThatProject 2 роки тому
For i2s communication, Arduino series uses #include . After changing this part, and also removing TFT_eSPI if you don't need the display, it seems to work. Just try it and let me know the result.
@homeofgamesnews
@homeofgamesnews 2 роки тому
@@ThatProject Ok, I will try that, Thank you for replaying ❤.
@leohds
@leohds 2 роки тому
@@homeofgamesnews I would love to know if it worked as well, I was thinking if its possible to make a VR controller with this
@homeofgamesnews
@homeofgamesnews 2 роки тому
@@leohds That's what i trying to do for the final project of my college.
@homeofgamesnews
@homeofgamesnews 2 роки тому
Hi, the code that written in Matlab that calculate the velocity and position, can you convert it to c code for arduino, or is there any library can provide these calculations ?
@ientucamranh9270
@ientucamranh9270 2 роки тому
Hi how to run file csv realtime.pleases
@ThatProject
@ThatProject 2 роки тому
I haven't tried it yet so I don't know. Please google it.
@ientucamranh9270
@ientucamranh9270 2 роки тому
@@ThatProject thanks you very much
@npraam5176
@npraam5176 7 днів тому
hi.. can we do it in realtime ?
@ThatProject
@ThatProject 7 днів тому
I don't have a good solution yet.
@wilfriedpacomemenye739
@wilfriedpacomemenye739 5 місяців тому
Can we have the code as an .ino file please
@ThatProject
@ThatProject 5 місяців тому
You can get .ino files to get a sampling data. github.com/0015/Python-Data-Sampling-App
@wilfriedpacomemenye739
@wilfriedpacomemenye739 4 місяці тому
In fact i have an MPU6050 and an Arduino uno. I wish to have this project in Arduino code, cause I'll like to insert the IMU on a continuum robot's end effector
@Samuel-is8mk
@Samuel-is8mk Рік тому
No velocity drifting?
@ThatProject
@ThatProject Рік тому
Well, it has. Calibrating on Matlab.
@MEan0207
@MEan0207 2 роки тому
bno055 can track in realtime .
@ThatProject
@ThatProject 2 роки тому
You're right, but I couldn't find a reference to get the 3d coordinates I wanted properly. Any tips?
@m.anwrs59
@m.anwrs59 Рік тому
Pls share the matlab project, or i could buy it
@ThatProject
@ThatProject Рік тому
You can get this Matlab code from the original GitHub project. I just added the multiple views based on it.
@m.anwrs59
@m.anwrs59 Рік тому
pls lemme try it your matlab project and ur imu data
@m.anwrs59
@m.anwrs59 Рік тому
@@ThatProject i did using my own imu data but it's kinda exponential
@YOGA47
@YOGA47 2 роки тому
Send phone imu data through wifi to pc then to 3d objects i will be unique
@YOGA47
@YOGA47 2 роки тому
With help HIMUServer and hyperimu app to 3d phone mode can you give clues how to do it ? I have zero clue how to
@ThatProject
@ThatProject 2 роки тому
@@YOGA47 If I get a chance, I'll do it. Thank you.
@micah6635
@micah6635 6 місяців тому
der
@Zhisaoka
@Zhisaoka Рік тому
it would be great if I didn't have to pay just to import the project into MATLABS
@ThatProject
@ThatProject Рік тому
for Matlab?
Піхотинець - про рутину на фронті
00:46
Суспільне Новини
Переглядів 145 тис.
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Переглядів 2,2 млн
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Переглядів 25 млн
3D Tracking with IMU
3:28
SebMadgwickResearch
Переглядів 544 тис.
#052 IMU motion tracking: Why is it so hard? // Tutorial
7:07
MickMake
Переглядів 68 тис.
Detailed MPU6050 Tutorial
55:34
Maker's Wharf
Переглядів 33 тис.
14 | Measure angles with the MPU6050 accelerometer
13:03
Carbon Aeronautics
Переглядів 115 тис.
Navigation Kalman Filter with Accelerometer, Gyroscope and GPS
1:24
Jan Zwiener
Переглядів 100 тис.
Absolute / perfect orientation out of IMU (BNO055) without glitches | Realtime to Unreal (UE4 / UE5)
12:09
MPU6050 with Arduino - GY-521
8:41
DIY Engineers
Переглядів 46 тис.
3D Tracking with IMU (Cyclic Motion)
1:09
SebMadgwickResearch
Переглядів 126 тис.
САМЫЙ дешевый ПК с OZON на RTX 4070
16:16
Мой Компьютер
Переглядів 48 тис.
HUAWEI БЕЗ GOOGLE: ЕСТЬ ЛИ ЖИЗНЬ? | РАЗБОР
11:49