Skip to content

Latest commit

 

History

History
73 lines (68 loc) · 1.77 KB

HiTechnic-NXT-Angle-Sensor-(NAA1030).md

File metadata and controls

73 lines (68 loc) · 1.77 KB

General

This sensor uses the [[msensor|Using the Mindstorms Sensor Device Class]] device class.

Value
type_id 55
# Modes 4
Connection I2C/M
Vendor ID HITECHNC
Product ID AnglSnsr

Modes

Mode 0 Mode 1 Mode 2 Mode 31
mode HT-ANG-DEG2 HT-ANG-ACC HT-ANG-RPM HT-ANG-RSET
Description Angle Accumulated angle Rotational speed Reset Angle
num_values 1 1 1 1
value0 Angle Angle Rotational speed Angle
 Min 0 -2147483648 -32768 0
 Max 180 2147483647 32767 180
units deg (degrees) deg (degrees) RPM (revolutions per minute) deg (degrees)
dp (decimal places) 0 0 0 0
Values in the tables that look like ```this``` are the names of sysfs attributes or values returned by said attributes.

[1]: HT-ANG-RSET mode is exactly the same as HT-ANG-DEG2 except that the angle is reset each time the mode is set to HT-ANG-RSET.