sensor Package

sensor Package

compass Module

class sensor.compass.Compass(body, north)[source]
get_angle()[source]

returns the angle from north in radiens in the x-y plane

contact Module

class sensor.contact.Contact(body)[source]
get_contact()[source]

returns the position vector of the contact

gps Module

class sensor.gps.GPS(body, time, latitude, longitude)[source]
get_string()[source]

returns the gps string of the contact

gyroscope Module

class sensor.gyroscope.Gyroscope(body, direction)[source]
get_angle()[source]

returns the angle of the sensor

inclinometer Module

class sensor.inclinometer.Inclinometer(body, axis, up, g)[source]
get_angle()[source]

returns the angle of the sensor

ray Module

class sensor.ray.Ray(body, pos, axis, max_range)[source]
get_distance()[source]

returns the distance to the nearest object

transponder Module

class sensor.transponder.Transponder_Reciever(body)[source]
get_distance(sender_id)[source]

returns the distance to the sender

get_sender()[source]

returns the sender idof the sender in range

class sensor.transponder.Transponder_Sender(body, max_range)[source]

velocity Module

class sensor.velocity.Velocity(body, axis)[source]
get_velocity()[source]

returns the velocity of the sensor

Table Of Contents

Previous topic

pypalgame Module

Next topic

test Module