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

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ค. 2024
  • 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 ปีที่แล้ว +1

    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.

  • @vivekanand_dhakane
    @vivekanand_dhakane 6 หลายเดือนก่อน

    Thanks for this comparison and analysis

  • @sakumar
    @sakumar หลายเดือนก่อน +1

    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.

  • @robotikveotomasyon3578
    @robotikveotomasyon3578 3 หลายเดือนก่อน

    Thank you so much for this explanatory video.

  • @salmantechnologies282
    @salmantechnologies282 11 หลายเดือนก่อน

    Love your Work

  • @jalananlurus
    @jalananlurus 2 ปีที่แล้ว

    Cool Bro..

  • @deanstarman1694
    @deanstarman1694 2 ปีที่แล้ว

    Two Thumbs Up!!

  • @ThatProject
    @ThatProject  2 ปีที่แล้ว +3

    That Project's Channel - th-cam.com/users/ThatProject
    Join FB Group - facebook.com/groups/138965931539175

  • @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 !!!

  • @alexchan5331
    @alexchan5331 2 ปีที่แล้ว +1

    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.

  • @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 หลายเดือนก่อน +1

      Unfortunately, I was not able to find a good solution for real-time.

  • @isabelsoares4315
    @isabelsoares4315 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      This may be more helpful than my explanation.
      ahrs.readthedocs.io/en/latest/filters/mahony.html

  • @susovanpatra00
    @susovanpatra00 8 หลายเดือนก่อน +1

    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?

  • @Sam-ch4jh
    @Sam-ch4jh 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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.

  • @anakbandung196
    @anakbandung196 7 หลายเดือนก่อน +1

    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 หลายเดือนก่อน +3

      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.

  • @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?

  • @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

  • @ghiblistdio7432
    @ghiblistdio7432 ปีที่แล้ว +1

    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!

  • @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 ปีที่แล้ว +1

      Unfortunately, I don't have a solution for that.

  • @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?

  • @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 ปีที่แล้ว +1

      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.

  • @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?

  • @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.

  • @joaquinmarianopineiro2716
    @joaquinmarianopineiro2716 9 หลายเดือนก่อน

    Are you using Kalman Filter?

    • @ThatProject
      @ThatProject  9 หลายเดือนก่อน

      It's using High-pass filter. Check the matlab code.

  • @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.

  • @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.

  • @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.

  • @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!

  • @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?

  • @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?

  • @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 ปีที่แล้ว +1

      @@ivansucec2510 I don't have a plan to work yet, but I'll let you know when it's completed.

  • @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.

  • @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.

  • @DooDeeDarren
    @DooDeeDarren ปีที่แล้ว

    Could you 3d plot this all on arduino with a screen or does it have to use matlabs?

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      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.

  • @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.

  • @barajr1349
    @barajr1349 28 วันที่ผ่านมา

    Nice video, but can the position display be shown directly on the arduino serial monitor without entering matlab?

    • @ThatProject
      @ThatProject  27 วันที่ผ่านมา

      The reason Matlab is used here is to calculate the position using data obtained from the IMU. Without it, this is nothing.

    • @barajr1349
      @barajr1349 25 วันที่ผ่านมา

      @@ThatProject Do you know of a sensor that can get a position like your video, but doesn't use matlab?

    • @ThatProject
      @ThatProject  25 วันที่ผ่านมา

      @@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 ปีที่แล้ว

    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.

  • @tanspidy5109
    @tanspidy5109 2 ปีที่แล้ว +1

    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

  • @subodhkumarsuman5509
    @subodhkumarsuman5509 ปีที่แล้ว

    Nice video. I need some help with my project.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      How can I help you? We can talk about it here.

  • @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

  • @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!🙂

  • @kiettran1125
    @kiettran1125 หลายเดือนก่อน +1

    Hello,can you show me the circuit diagram to see how the components are connected together?

    • @ThatProject
      @ThatProject  หลายเดือนก่อน +1

      There is a video showing the connection of each device in the video description.

  • @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 ปีที่แล้ว +1

      @@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

  • @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.

  • @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

  • @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.

  • @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.

  • @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 :- th-cam.com/video/8jt-9f7Tbi0/w-d-xo.html
      Source :- riccardogiubilato.github.io/visual/odometry/2017/12/12/Visual-Inertial-Odometry-On-A-Budget.html
      Project 2
      Video :- th-cam.com/video/2RwymYYxd5s/w-d-xo.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  ปีที่แล้ว +1

      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  ปีที่แล้ว +1

      @@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

  • @wanachaitavakan2402
    @wanachaitavakan2402 ปีที่แล้ว

    very good i need help

  • @SpaceDragonYT
    @SpaceDragonYT 2 หลายเดือนก่อน +1

    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 :)

  • @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.

  • @npraam5176
    @npraam5176 5 วันที่ผ่านมา

    hi.. can we do it in realtime ?

    • @ThatProject
      @ThatProject  5 วันที่ผ่านมา

      I don't have a good solution yet.

  • @ientucamranh9270
    @ientucamranh9270 2 ปีที่แล้ว

    Hi. I can use mpu9250 for project ?

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 ?

  • @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 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

  • @Samuel-is8mk
    @Samuel-is8mk ปีที่แล้ว

    No velocity drifting?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Well, it has. Calibrating on Matlab.

  • @wilfriedpacomemenye739
    @wilfriedpacomemenye739 4 หลายเดือนก่อน

    Can we have the code as an .ino file please

    • @ThatProject
      @ThatProject  4 หลายเดือนก่อน

      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

  • @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  ปีที่แล้ว +1

      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