]> rtime.felk.cvut.cz Git - orte.git/commit
ROBOT_DEMO: fix sync. problems in publisher for "motion_speed"
authorMartin Vajnar <martin.vajnar@gmail.com>
Mon, 5 Aug 2013 21:37:29 +0000 (23:37 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:27 +0000 (11:06 +0200)
commit7430eefa6fbdeda177d821b31940e315cb015bd3
treeb986cb05a93adbed0baf9744488e6089180bce2e
parent8fa95fd0cc6ac7e740cfbc85e8a38ce8843f513d
ROBOT_DEMO: fix sync. problems in publisher for "motion_speed"

Don't use synchronized(), because it may block the setSpeed() and prevent
receiving new data from accelerometer. The isSent variable is now used
to determine whether we need new data.

Add robot's IP address to the list of fellow managers.
orte/Robot_Demo/src/org/ocera/orte/demo/HokuyoScanSubscribe.java
orte/Robot_Demo/src/org/ocera/orte/demo/MainActivity.java
orte/Robot_Demo/src/org/ocera/orte/demo/MotionSpeedPublish.java