30 const struct sonar_hardware *
hw;
void hcsr04_init(struct hcsr04 *self)
int32_t hcsr04_get_distance(struct hcsr04 *self)
uint16_t detection_cone_deci_degrees
Definition: sonar_hcsr04.h:24
int16_t distance
Definition: sonar_hcsr04.h:27
Definition: sonar_hcsr04.h:22
uint16_t detection_cone_extended_deci_degrees
Definition: sonar_hcsr04.h:25
uint16_t max_range_cm
Definition: sonar_hcsr04.h:23
const struct sonar_hardware * hw
Definition: sonar_hcsr04.h:30
void hcsr04_start_reading(struct hcsr04 *self)
struct sonar_ops * ops
Definition: sonar_hcsr04.h:29