(scf)
| 114 | |
| 115 | |
| 116 | def start_position_printing(scf): |
| 117 | log_conf = LogConfig(name='Position', period_in_ms=500) |
| 118 | log_conf.add_variable('kalman.stateX', 'float') |
| 119 | log_conf.add_variable('kalman.stateY', 'float') |
| 120 | log_conf.add_variable('kalman.stateZ', 'float') |
| 121 | |
| 122 | scf.cf.log.add_config(log_conf) |
| 123 | log_conf.data_received_cb.add_callback(position_callback) |
| 124 | log_conf.start() |
| 125 | |
| 126 | |
| 127 | def run_sequence(scf, sequence): |
nothing calls this directly
no test coverage detected