RcCarCpp/lib/madgwickFilter/madgwickFilter.h
static inline void quat_scalar(struct quaternion * q, float scalar){
    q -> q1 *= scalar;
    q -> q2 *= scalar;
    q -> q3 *= scalar;
    q -> q4 *= scalar;
}
//Multiply a reference of a quaternion by a scalar, q = s*q
Multiply a reference of a quaternion by a scalar, q = s*q
Multiply a reference of a quaternion by a scalar q = s * q
static inline void quat_scalar(struct quaternion * q, float scalar){
    q -> q1 *= scalar;
    q -> q2 *= scalar;
    q -> q3 *= scalar;
    q -> q4 *= scalar;
}
static inline void quat_scalar ( struct quaternion * q , float scalar ) { q -> q1 *= scalar ; q -> q2 *= scalar ; q -> q3 *= scalar ; q -> q4 *= scalar ; }
Multiply a reference of a quaternion by a scalar, q = s*q
Multiply a reference of a quaternion by a scalar q = s * q