swarmsim.metrics.SensorRotation#

class swarmsim.metrics.SensorRotation(sensor_index, history=100)[source]#
Attributes:
average
value

Methods

as_config_dict

attach_world

calculate

draw

out_average

out_current

reset

set_value

__init__(sensor_index, history=100)[source]#

Methods

__init__(sensor_index[, history])

as_config_dict()

attach_world(world)

calculate()

draw(screen[, zoom])

out_average()

out_current()

reset()

set_value(value)

Attributes

average

instantaneous

value