Difference between revisions of "SmartRobotinoBatteryChargerDocking4"

From RobotinoWiki
(Python interface)
Line 13: Line 13:
 
|return (x,y,phi) in world coordinates
 
|return (x,y,phi) in world coordinates
 
|-
 
|-
|
+
|get_dist
|
+
|return (d0,...,d8) distance sensor readings in meters
 
|-
 
|-
|
+
|set_vel(vx, vy, omega)
|
+
|Set velocity in m/s and rad/s.
 
|-
 
|-
 
|
 
|

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
get_dist return (d0,...,d8) distance sensor readings in meters
set_vel(vx, vy, omega) Set velocity in m/s and rad/s.