Home
last modified time | relevance | path

Searched refs:abs_value (Results 1 – 6 of 6) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgroverotary.cxx42 float abs_value = knob->abs_value(); // Absolute raw value in main() local
50 (int16_t)abs_value, abs_deg, abs_rad, (int16_t)rel_value, rel_deg, rel_rad); in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGroveRotarySample.java41 float abs_value = knob.abs_value(); // Absolute raw value in main() local
48 System.out.println("Absolute: " + abs_value + " raw, " + abs_deg + " deg, " + abs_rad in main()
/hardware/bsp/intel/peripheral/libupm/src/grove/
Dgrove.cxx187 float GroveRotary::abs_value() in abs_value() function in GroveRotary
194 return GroveRotary::abs_value() * (float) m_max_angle / 1023.0; in abs_deg()
204 return GroveRotary::abs_value() - 512.0; in rel_value()
Dgrove.h269 float abs_value();
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgroverotary.py33 abs = knob.abs_value()
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroverotary.js35 var abs = groveRotary.abs_value();