24 return ((random() % 100)-50) * 0.001f;
39 float output = derivative.
slope() * 1.0e6f;
40 hal.
console->
printf(
"%f %f %f %f\n", (
double)t, (
double)output, (
double)s, (
double)cosf(t));
AP_HAL::UARTDriver * console
void update(T sample, uint32_t timestamp)
virtual void delay(uint16_t ms)=0
virtual void printf(const char *,...) FMT_PRINTF(2
DerivativeFilter< float, 11 > derivative
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
AP_HAL::Scheduler * scheduler