HomeSort by relevance Sort by last modified time
    Searched refs:quat (Results 1 - 25 of 36) sorted by null

1 2

  /hardware/invensense/60xx/libsensors_iio/software/core/mpl/
quaternion_supervisor.h 21 void inv_set_quaternion(long *quat);
mag_disturb.h 17 int inv_check_magnetic_disturbance(unsigned long delta_time, const long *quat,
  /hardware/invensense/60xx/mlsdk/mllite/
mlMathFunc.c 227 * @param[in] quat 4-element quaternion in fixed point. One is 2^30.
234 void inv_quaternion_to_rotation(const long *quat, long *rot)
237 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0],
238 quat[0]) - 1073741824L;
239 rot[1] = inv_q29_mult(quat[1], quat[2]) - inv_q29_mult(quat[3], quat[0])
    [all...]
mlMathFunc.h 54 void inv_quaternion_to_rotation(const long *quat, long *rot);
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
quat-spec.js 23 describe("quat", function() {
29 beforeEach(function() { result = quat.create(); });
34 beforeEach(function() { result = quat.clone(quatA); });
39 beforeEach(function() { result = quat.fromValues(1, 2, 3, 4); });
44 beforeEach(function() { result = quat.copy(out, quatA); });
50 beforeEach(function() { result = quat.set(out, 1, 2, 3, 4); });
56 beforeEach(function() { result = quat.identity(out); });
62 beforeEach(function() { result = quat.setAxisAngle(out, [1, 0, 0], Math.PI * 0.5); });
69 beforeEach(function() { result = quat.add(out, quatA, quatB); });
78 beforeEach(function() { result = quat.add(quatA, quatA, quatB); })
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
quat.js 25 * @name quat
27 var quat = {};
30 * Creates a new identity quat
32 * @returns {quat} a new quaternion
34 quat.create = function() {
44 * Creates a new quat initialized with values from an existing quaternion
46 * @param {quat} a quaternion to clone
47 * @returns {quat} a new quaternion
50 quat.clone = vec4.clone;
53 * Creates a new quat initialized with the given value
    [all...]
  /hardware/invensense/65xx/libsensors_iio/software/core/mpl/
quaternion_supervisor.h 23 void inv_set_quaternion(long *quat);
mag_disturb.h 19 int inv_check_magnetic_disturbance(unsigned long delta_time, const long *quat,
  /hardware/invensense/60xx/libsensors_iio/software/core/mllite/
ml_math_func.c 36 * @param[in] quat Quaternion, Length 4
39 float inv_compass_angle(const long *compass, const long *grav, const float *quat)
51 inv_q_multf(quat, cgcross, q1);
52 inv_q_invertf(quat, qi);
234 double quaternion_to_rotation_angle(const long *quat) {
235 double quat0 = (double )quat[0] / 1073741824;
339 * @param[in] quat 4-element quaternion in fixed point. One is 2^30.
346 void inv_quaternion_to_rotation(const long *quat, long *rot)
349 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0]
    [all...]
ml_math_func.h 80 void inv_quaternion_to_rotation(const long *quat, long *rot);
92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot);
101 const float *quat);
109 double quaternion_to_rotation_angle(const long *quat);
hal_outputs.c 32 int accuracy_quat; /**< quat Accuracy */
352 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) {
353 sr = sensor_cal->quat.sample_rate_ms;
358 if (sensor_cal->quat.status & INV_SENSOR_ON) {
383 hal_out.nine_axis_status = (sensor_cal->quat.status & INV_NEW_DATA) ? 1 : 0;
384 hal_out.nav_timestamp = sensor_cal->quat.timestamp;
data_builder.c 276 /** Set Quat Sample rate in micro seconds.
277 * @param[in] sample_rate_us Set Quat Sample rate in us
288 sensors.quat.sample_rate_us = sample_rate_us;
289 sensors.quat.sample_rate_ms = sample_rate_us / 1000;
732 * @param[in] quat Quaternion data. 2^30 = 1.0 or 2^14=1 for 16-bit data.
741 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp)
747 fwrite(quat, sizeof(quat[0]), 4, inv_data_builder.file);
752 memcpy(sensors.quat.raw, quat, sizeof(sensors.quat.raw))
    [all...]
results_holder.h 27 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp);
data_builder.h 110 struct inv_quat_sensor_t quat; member in struct:inv_sensor_cal_t
182 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp);
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/
ml_math_func.c 36 * @param[in] quat Quaternion, Length 4
39 float inv_compass_angle(const long *compass, const long *grav, const float *quat)
51 inv_q_multf(quat, cgcross, q1);
52 inv_q_invertf(quat, qi);
234 double quaternion_to_rotation_angle(const long *quat) {
235 double quat0 = (double )quat[0] / 1073741824;
339 * @param[in] quat 4-element quaternion in fixed point. One is 2^30.
346 void inv_quaternion_to_rotation(const long *quat, long *rot)
349 inv_q29_mult(quat[1], quat[1]) + inv_q29_mult(quat[0]
    [all...]
ml_math_func.h 80 void inv_quaternion_to_rotation(const long *quat, long *rot);
92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot);
101 const float *quat);
109 double quaternion_to_rotation_angle(const long *quat);
results_holder.h 27 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp);
28 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp);
data_builder.c 308 /** Set Quat Sample rate in micro seconds.
309 * @param[in] sample_rate_us Set Quat Sample rate in us
320 sensors.quat.sample_rate_us = sample_rate_us;
321 sensors.quat.sample_rate_ms = sample_rate_us / 1000;
396 if (sensors.quat.status & INV_SENSOR_ON) {
397 if (timestamp < sensors.quat.timestamp)
398 timestamp = sensors.quat.timestamp;
854 * @param[in] quat Quaternion data. 2^30 = 1.0 or 2^14=1 for 16-bit data.
863 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp)
869 fwrite(quat, sizeof(quat[0]), 4, inv_data_builder.file)
    [all...]
data_builder.h 130 struct inv_quat_sensor_t quat; member in struct:inv_sensor_cal_t
236 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp);
results_holder.c 63 * @param[in] quat Length 4, Quaternion scaled by 2^30
65 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp)
68 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat));
75 * @param[in] quat Length 4, Quaternion scaled by 2^30
77 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp)
80 memcpy(&rh.accel_quat, quat, sizeof(rh.accel_quat));
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
BoneContext.java 136 DynamicArray<Number> quat = (DynamicArray<Number>) poseChannel.getFieldValue("quat"); local
139 poseTransform.setRotation(new Quaternion(quat.get(1).floatValue(), quat.get(3).floatValue(), -quat.get(2).floatValue(), quat.get(0).floatValue()));
143 poseTransform.setRotation(new Quaternion(quat.get(0).floatValue(), quat.get(1).floatValue(), quat.get(2).floatValue(), quat.get(3).floatValue()));
    [all...]
  /external/eigen/bench/
geometry.cpp 35 EIGEN_ASM_COMMENT("begin quat");
38 EIGEN_ASM_COMMENT("end quat");
52 EIGEN_ASM_COMMENT("begin quat via mat");
54 EIGEN_ASM_COMMENT("end quat via mat");
104 Quaternion<Scalar> quat;quat.setIdentity(); local
105 ToRotationMatrixWrapper<Quaternion<Scalar> > quatmat(quat);
119 bench("quaternion", quat);
120 bench("quat-mat ", quatmat);
  /hardware/invensense/60xx/libsensors/
MPLSensor.cpp 662 float quat[4]; local
667 r = inv_get_float_array(INV_QUATERNION, quat);
676 norm = quat[1] * quat[1] + quat[2] * quat[2] + quat[3] * quat[3]
683 quat[1] = quat[1] * inv_norm
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/material/
MatParam.java 248 Quaternion quat = (Quaternion) value; local
249 return quat.getX() + " " + quat.getY() + " "
250 + quat.getZ() + " " + quat.getW();
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Transform.java 146 * Stores this rotation value into the given Quaternion. If quat is null, a new Quaternion is created to
148 * @param quat The store location for this matrix's rotation.
151 public Quaternion getRotation(Quaternion quat) {
152 if (quat==null) quat=new Quaternion();
153 quat.set(rot);
154 return quat;

Completed in 1151 milliseconds

1 2