Page 73
get_create_play_button [Category: Create Sensor Function]
Format:
int
get_create_play_button();
Returns 1 if the play button (
>
)is being pressed, 0 otherwise.
get_create_rbump [Category: Create Sensor Function]
Format:
int
get_create_rbump();
Returns 1 if right bumper is pressed, 0 otherwise.
get_create_rcliff [Category: Create Sensor Function]
Format:
int
get_create_rcliff();
Returns 1 if right cliff sensor is over black or a cliff, 0 otherwise.
get_create_rfcliff [Category: Create Sensor Function]
Format:
int
get_create_rfcliff();
Returns 1 if right frontcliff sensor is over a surface that doesn't reflect IR (e.g., black) or over a
cliff, 0 otherwise.
get_create_rfcliff_amt [Category: Create Sensor Function]
Format:
int
get_create_rfcliff_amt();
Returns the right front cliff sensor (analog) reading as a 12 bit value (0 to 4095).
get_create_rwdrop [Category: Create Sensor Function]
Format:
int
get_create_rwdrop();
Returns 1 if right wheel has dropped, 0 otherwise.
get_create_vwall [Category: Create Sensor Function]
Format:
int
get_create_vwall();
Returns 1 if a iRobot virtual wall beacon is detected, 0 otherwise.
get_create_wall [Category: Create Sensor Function]
Format:
int
get_create_wall();
Returns 1 if a wall is detected by the right facing wall sensor, 0 otherwise. There is no left facing
wall sensor.
get_create_wall_amt [Category: Create Sensor Function]
Format:
int
get_create_wall_amt();
Returns the current wall sensor (analog) reading as a 12 bit value (0 to 4095).
Create battery functions
get_create_battery_capacity [Category: Create Battery Function]
Format:
int
get_create_battery_capacity();
Returns the battery capacity in mAh
get_create_battery_charge [Category: Create Battery Function]
Format:
int
get_create_battery_charge();
Returns the battery charge in mAh.
Содержание KIPR Link
Страница 1: ...KIPR Link Manual Version BB2014 1 1...