]> rtime.felk.cvut.cz Git - orte/eurobot.git/commit
ROBOT_DEMO: decrease CPU usage
authorMartin Vajnar <martin.vajnar@gmail.com>
Sat, 13 Jul 2013 16:50:14 +0000 (18:50 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:25 +0000 (11:06 +0200)
commitb0c707156d0060800d2bb50cd0512fde413b1633
tree25e1980e2144a5099ac4e5cbded9a0bb59888889
parent08ee87d5aff47fe79c879097f0052d359485037a
ROBOT_DEMO: decrease CPU usage

Now there are 2 major threads on the Java side. The first one is main which
takes care of drawing GUI and receives callbacks from accelerometer.
The second one computes and sends values to the robot's motors.
orte/Robot_Demo/src/org/ocera/orte/demo/MainActivity.java