Aligning the coordinate systems of accelerometer and vehicle?
I have an accelerometer located in an arbitrary position on a car. As the accelerometer already has a coordinate system by default, I want to find some method that allows transforming the data I have from the sensor and aligning them with the coordinate system of the car.
- When the vehicle is stationary on a flat, horizontal surface, use the three components relative to g-sensor, Gxs, Gys and Gzs(Gxs is the g value obtained on g-sensor Xs, the Gys and Gzs are g component relative to g-sensor Ys and Zs) and make rotation can rotate the Gzs aligned with gravity direction and Xs-Ys plane parallel to with horizontial. But how to align the Xs to vehicle X-axis?
- In theory, the euler angle can be obtained by rotating the coordinate axis of the G-sensor three times, and use this conversion matrix for conversion. But In practice this is not feasible.
Is there any simple way to aligning the coordinate systems of accelerometer and vehicle?
Thanks.
