![]() |
Holds information relating to a sonar. More...
#include <vexsonar.h>
Data Fields | |
| uint16_t | time_r |
| time of rising edge on receive pulse More... | |
| uint16_t | time_f |
| time of falling edge on receive pulse More... | |
| int32_t | time |
| receive pulse time More... | |
| int16_t | distance_cm |
| distance calculated as cm More... | |
| int16_t | distance_inch |
| distance calculated as inches More... | |
| int16_t | flags |
| flags, SONAR_INSTALLED & SONAR_ENABLED More... | |
| tVexDigitalPin | pa |
| Sonar digital pin a. More... | |
| tVexDigitalPin | pb |
| Sonar digital pin b. More... | |
| ioportid_t | pa_port |
| Sonar GPIO port a. More... | |
| int16_t | pa_pad |
| Sonar GPIO pad a. More... | |
| ioportid_t | pb_port |
| Sonar GPIO port b. More... | |
| int16_t | pb_pad |
| Sonar GPIO pad b. More... | |
Holds information relating to a sonar.
| uint16_t time_r |
time of rising edge on receive pulse
| uint16_t time_f |
time of falling edge on receive pulse
| int32_t time |
receive pulse time
| int16_t distance_cm |
distance calculated as cm
| int16_t distance_inch |
distance calculated as inches
| int16_t flags |
flags, SONAR_INSTALLED & SONAR_ENABLED
Sonar digital pin a.
Sonar digital pin b.
| ioportid_t pa_port |
Sonar GPIO port a.
| int16_t pa_pad |
Sonar GPIO pad a.
| ioportid_t pb_port |
Sonar GPIO port b.
| int16_t pb_pad |
Sonar GPIO pad b.