trackerstate
MotionTrackerController(config)
¤
Bases: StateMachine
State machine for webserver
Source code in motiontracker\trackerstate.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
|
on_enter_calibrated(event, state)
¤
This event should be called only after the calibration_points_pixels have been received and updated
Parameters:
Name | Type | Description | Default |
---|---|---|---|
event |
_type_
|
description |
required |
state |
_type_
|
description |
required |
Source code in motiontracker\trackerstate.py
154 155 156 157 158 159 160 161 162 163 164 165 |
|
on_enter_tracking(event, state, start=None)
¤
This event should be called only after the calibration_points_pixels have been received and updated
Parameters:
Name | Type | Description | Default |
---|---|---|---|
event |
_type_
|
description |
required |
state |
_type_
|
description |
required |
Source code in motiontracker\trackerstate.py
171 172 173 174 175 176 177 178 179 |
|