UAVCAN Sensors: Improve error handling

Also add new 'generic' device types for UAVCAN sensors

Other misc. cleanup and style changes.
This commit is contained in:
JacobCrabill
2020-03-21 12:39:29 -04:00
committed by Daniel Agar
parent 693a47fca3
commit 1e5784609f
7 changed files with 67 additions and 36 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ public:
void update(hrt_abstime timestamp, float pressure);
int get_class_instance(void) { return _class_device_instance; };
int get_class_instance() { return _class_device_instance; };
void print_status();
@@ -60,7 +60,7 @@ public:
void update(hrt_abstime timestamp_sample, float x, float y, float z);
int get_class_instance(void) { return _class_device_instance; };
int get_class_instance() { return _class_device_instance; };
void print_status();