top of page

Software

Public·126 members

Question about the IMU.

So far, the board accepts the toggle of 'V'. When it receives 'V', it displays the gyro, but it only shows yaw and pitch instead of YPR (I think?). I wanted to add acceleration and gyro. How can I do this?



I want to obtain data like this: https://github.com/PetoiCamp/OpenCat/blob/main/ModuleTests/testMPU/testMPU.ino#L319-L344, where they display OUTPUT_READABLE_YAWPITCHROLL and OUTPUT_READABLE_REALACCEL.



On a side note: I'm not very skilled with Arduino. I know basics like digital write and servo write. I just want to print the IMU data using gyro + accel for me to obtain from the pyserial. So I can just do the full work on python side.



Side question, is there a way to read the servo's current position? I'm expecting that its not available but if it is available, great! I'd like to follow up on the doc

131 Views

We are already sending out the new servos to flush the old inventories. If you have the P1L servo with production date after 2024, they probably have feedback.


With the latest OpenCatEsp32 firmware for BiBoard, if you enter 'f' in the serial monitor, it should print out the angles of feedback servos and bring a demo of controlling the robot with feedback.



About

Learn programming by teaching Nybble new tricks!

bottom of page