It appears that the time it takes to get a ultrasonic sensor reading with icommand takes 100-200ms. Is that normal? Here's the code.
time = System.currentTimeMillis();
reading = sensor.getDistance();
logger.info("time "+ (System.currentTimeMillis()-time));
Is this due to the communication latency from the PC to the NXT?
This is where you talk about the NXJ software itself, installation issues, and programming talk.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 2 guests