Difference between revisions of "SmartRobotinoBatteryChargerDocking4"
From RobotinoWiki
(→Python interface) |
(→Python interface) |
||
Line 5: | Line 5: | ||
|- | |- | ||
|get_bumper | |get_bumper | ||
− | | | + | |return an integer with the bumper state. 0 not pressed. 1 pressed. |
+ | |- | ||
+ | |get_extpower | ||
+ | |return an integer with the ext_power state. 0 not connected. 1 connected. | ||
+ | |- | ||
+ | |get_pos | ||
+ | |return (x,y,phi) in world coordinates | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | | ||
+ | | | ||
|} | |} |
Revision as of 10:18, 18 July 2022
Python interface
Command | Description |
---|---|
get_bumper | return an integer with the bumper state. 0 not pressed. 1 pressed. |
get_extpower | return an integer with the ext_power state. 0 not connected. 1 connected. |
get_pos | return (x,y,phi) in world coordinates |