Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Set delay accordingly |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a87d6756b0cc82300034362e6d782c4e |
User & Date: | bernd 2014-01-13 02:46:03.584 |
Context
2014-01-13
| ||
03:06 | Made clear that delay may mean us check-in: 49c4425922 user: bernd tags: trunk | |
02:46 | Set delay accordingly check-in: a87d6756b0 user: bernd tags: trunk | |
01:12 | Sensor stuff (getting sensor data crashes after a while) check-in: 6c22b329d1 user: bernd tags: trunk | |
Changes
Changes to gles2/jni-location.fs.
︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | $0E Constant TYPE_MAGNETIC_FIELD_UNCALIBRATED $0F Constant TYPE_GAME_ROTATION_VECTOR $10 Constant TYPE_GYROSCOPE_UNCALIBRATED $11 Constant TYPE_SIGNIFICANT_MOTION $12 Constant TYPE_STEP_DETECTOR $13 Constant TYPE_STEP_COUNTER $14 Constant TYPE_GEOMAGNETIC_ROTATION_VECTOR jni-method: getName getName ()Ljava/lang/String; jni-method: getResolution getResolution ()F jni-method: getType getType ()I jni-method: getPower getPower ()F jni-method: toString toString ()Ljava/lang/String; | > > > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | $0E Constant TYPE_MAGNETIC_FIELD_UNCALIBRATED $0F Constant TYPE_GAME_ROTATION_VECTOR $10 Constant TYPE_GYROSCOPE_UNCALIBRATED $11 Constant TYPE_SIGNIFICANT_MOTION $12 Constant TYPE_STEP_DETECTOR $13 Constant TYPE_STEP_COUNTER $14 Constant TYPE_GEOMAGNETIC_ROTATION_VECTOR 0 Constant SENSOR_DELAY_FASTEST 1 Constant SENSOR_DELAY_GAME 2 Constant SENSOR_DELAY_UI 3 Constant SENSOR_DELAY_NORMAL jni-method: getName getName ()Ljava/lang/String; jni-method: getResolution getResolution ()F jni-method: getType getType ()I jni-method: getPower getPower ()F jni-method: toString toString ()Ljava/lang/String; |
︙ | ︙ | |||
86 87 88 89 90 91 92 | : start-gps ( -- ) clazz >o startgps gforth-handler >o post o> drop o> ; : stop-gps ( -- ) clazz >o stopgps gforth-handler >o post o> drop o> ; | | > > > | | > > | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | : start-gps ( -- ) clazz >o startgps gforth-handler >o post o> drop o> ; : stop-gps ( -- ) clazz >o stopgps gforth-handler >o post o> drop o> ; : start-sensor ( type delay -- ) clazz >o argj0 2>r 0 to argj0 sensorManager >o getDefaultSensor o> to argsensor startsensor gforth-handler >o post o> drop 2r> to argj0 o> ; : stop-sensor ( -- ) clazz >o stopsensor gforth-handler >o post o> drop o> ; : .deg ( degree -- ) fdup f0< IF ." -" fnegate THEN fdup floor fdup f>s 0 .r '°' xemit f- 60e f* |
︙ | ︙ |
Changes to jni-location.fs.
︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | $0E Constant TYPE_MAGNETIC_FIELD_UNCALIBRATED $0F Constant TYPE_GAME_ROTATION_VECTOR $10 Constant TYPE_GYROSCOPE_UNCALIBRATED $11 Constant TYPE_SIGNIFICANT_MOTION $12 Constant TYPE_STEP_DETECTOR $13 Constant TYPE_STEP_COUNTER $14 Constant TYPE_GEOMAGNETIC_ROTATION_VECTOR jni-method: getName getName ()Ljava/lang/String; jni-method: getResolution getResolution ()F jni-method: getType getType ()I jni-method: getPower getPower ()F jni-method: toString toString ()Ljava/lang/String; | > > > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | $0E Constant TYPE_MAGNETIC_FIELD_UNCALIBRATED $0F Constant TYPE_GAME_ROTATION_VECTOR $10 Constant TYPE_GYROSCOPE_UNCALIBRATED $11 Constant TYPE_SIGNIFICANT_MOTION $12 Constant TYPE_STEP_DETECTOR $13 Constant TYPE_STEP_COUNTER $14 Constant TYPE_GEOMAGNETIC_ROTATION_VECTOR 0 Constant SENSOR_DELAY_FASTEST 1 Constant SENSOR_DELAY_GAME 2 Constant SENSOR_DELAY_UI 3 Constant SENSOR_DELAY_NORMAL jni-method: getName getName ()Ljava/lang/String; jni-method: getResolution getResolution ()F jni-method: getType getType ()I jni-method: getPower getPower ()F jni-method: toString toString ()Ljava/lang/String; |
︙ | ︙ | |||
86 87 88 89 90 91 92 | : start-gps ( -- ) clazz >o startgps gforth-handler >o post o> drop o> ; : stop-gps ( -- ) clazz >o stopgps gforth-handler >o post o> drop o> ; | | > > > | | > > | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | : start-gps ( -- ) clazz >o startgps gforth-handler >o post o> drop o> ; : stop-gps ( -- ) clazz >o stopgps gforth-handler >o post o> drop o> ; : start-sensor ( type delay -- ) clazz >o argj0 2>r 0 to argj0 sensorManager >o getDefaultSensor o> to argsensor startsensor gforth-handler >o post o> drop 2r> to argj0 o> ; : stop-sensor ( -- ) clazz >o stopsensor gforth-handler >o post o> drop o> ; : .deg ( degree -- ) fdup f0< IF ." -" fnegate THEN fdup floor fdup f>s 0 .r '°' xemit f- 60e f* |
︙ | ︙ |