In general the project is to debug a tilt compensated compass algorithm, written in MatLab.
Basically the raw magnetometer and accelerometer values (3DoF) are provides by a microcontroller and send to the PC via serial interface (I can provide test sensor values in a txt-file, if no sensors are available). The MatLab application reads these raw values and computes pitch, roll and yaw. The data transfer works find. Unfortunatly there is an error inside the pith, roll and yaw calculation.
The algorithm is based on a posted source code:
[login to view URL]
## Deliverables
MatLab source code will be provided (if necessary also in advance)