Configure the UM7 to send binary Euler angle packets at 115200 baud using the CH Robotics serial interface.
Connect the RX pin on the UM7 to TX1 (pin 18) on the DUE
Connect the TX pin on the UM7 to RX1 (pin 19) on the DUE
That’s it! I’ll add these comments to the example sketch.
It sounds like you need to reset the EKF. The command for that is:
RESET_EKF 0xB3 (179)
There are two ways to send this command.
You can send a write command as detailed in the data sheet, or you can use the CHR Serial Interface Software.
Those variables aren’t available in the binary parser, but you should be able to view them as ASCII output.
I’ve made available
roll_rate, pitch_rate, yaw_rate
in the binary parser code. Is that what you mean by gyro x,y,z?
You just have to enable the UM7 to send the gyro rate data over binary for my code read it.
Let me know how it goes.
Copyright (c) CHRobotics LLC. All rights reserved.