Functions | |
def | callback (data) |
Variables | |
anonymous | |
left = robot.getMotor('motor.left') | |
string | message = '' |
pub = rospy.Publisher('sensor', Float64, queue_size=10) | |
right = robot.getMotor('motor.right') | |
robot = Robot() | |
sensor = robot.getDistanceSensor('prox.horizontal.2') | |
timeStep = int(robot.getBasicTimeStep()) | |
int | velocity = 0 |
def ros_python.callback | ( | data | ) |
Definition at line 28 of file ros_python.py.
ros_python.anonymous |
Definition at line 49 of file ros_python.py.
ros_python.left = robot.getMotor('motor.left') |
Definition at line 37 of file ros_python.py.
string ros_python.message = '' |
Definition at line 46 of file ros_python.py.
ros_python.pub = rospy.Publisher('sensor', Float64, queue_size=10) |
Definition at line 53 of file ros_python.py.
ros_python.right = robot.getMotor('motor.right') |
Definition at line 38 of file ros_python.py.
ros_python.robot = Robot() |
Definition at line 35 of file ros_python.py.
ros_python.sensor = robot.getDistanceSensor('prox.horizontal.2') |
Definition at line 39 of file ros_python.py.
ros_python.timeStep = int(robot.getBasicTimeStep()) |
Definition at line 36 of file ros_python.py.
int ros_python.velocity = 0 |
Definition at line 43 of file ros_python.py.