]> rtime.felk.cvut.cz Git - orte.git/commit
ROBOT_DEMO: use new constants and fix behavior of callback functions
authorMartin Vajnar <martin.vajnar@gmail.com>
Sun, 20 Oct 2013 16:07:55 +0000 (18:07 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Oct 2013 15:47:35 +0000 (16:47 +0100)
commite6042bded6cea4dc7736bcad763ef701ed9e28ca
tree1070f1e6609bdd5c2343a824b5f39ba19e8fe697
parente95a2a7263832d5f7f8eadb513d73ee3df3d1677
ROBOT_DEMO: use new constants and fix behavior of callback functions

Test the receive status to see whether the callback function was called
because of new new data reception or because of a deadline expiration.
orte/Robot_Demo/src/org/ocera/orte/demo/HokuyoScanSubscribe.java
orte/Robot_Demo/src/org/ocera/orte/demo/MotionSpeedSubscribe.java
orte/Robot_Demo/src/org/ocera/orte/demo/PwrVoltageSubscribe.java