accl_mario_orient.cpp File Reference
#include "postprocess.h"
Include dependency graph for accl_mario_orient.cpp:

Functions

int accl_mario_orient (double *quat_mario, double *quat)
 Calculate the transformation to convert from accelerometer's earth-global frame to MARIONET frame of ref.

Function Documentation

int accl_mario_orient ( double *  quat_mario,
double *  quat 
)

Calculate the transformation to convert from accelerometer's earth-global frame to MARIONET frame of ref.

The function calculates the transformation that converts data in accelerometer system's reference frame (which expresses orientation with respect to the earth-fixed global frame) to the co-ordinates expressed in terms of reference system fixed to the MARIONET.

Parameters:
[in]quat_marioQuaternion describing orientation of MARIONET w.r.t earth fixed system
[in,out]quatQuaternion describing orientation of acclerometer w.r.t earth fixed system. The function calculates the quaternion w.r.t MARIONET and stores it back here.

References quat_multiply().

Referenced by load_accl_data().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines