sk.robotics.robot classes

function robot_getsensors

^ 
Poll the robot sensors.

The command will determine the current reading of the 6 bottom light sensors. The sensors are placed and encoded as follows:

 (top view, Si corresponds to bit 2^i)

front end

S4

S3 S5 O S2 S0

S1

Source:
robotdll/robotdll.h:638
Author:
Version:
latest version
Param:
id robot object handle
Returns:
current sensor readings 0-63
See Also:
robot_getvoltage, robot_getactivity
Code:
public ROBOTDLL_API short robot_getsensors ( short id )

(c) FMFI UK Bratislava, robotika.sk
Dokumentácia vygenerovaná pomocou ccdoc