r-map/rmap

stimav4: slave_rain do not compile

pat1 opened this issue · 0 comments

pat1 commented

after apply those patch:

diff --git a/platformio/stima_v4/slave-rain/include/canard_class_rain.hpp b/platformio/stima_v4/slave-rain/include/canard_class_rain.hpp
index 64cd16d4a..59d972af9 100644
--- a/platformio/stima_v4/slave-rain/include/canard_class_rain.hpp
+++ b/platformio/stima_v4/slave-rain/include/canard_class_rain.hpp
@@ -46,8 +46,8 @@
 #include <uavcan/time/Synchronization_1_0.h>
 #include <uavcan/pnp/NodeIDAllocationData_1_0.h>
 // Namespace RMAP
-#include <rmap/_module/RAIN_1_0.h>
-#include <rmap/service/_module/RAIN_1_0.h>
+#include <rmap/_module/Rain_1_0.h>
+#include <rmap/service/_module/Rain_1_0.h>
 
 #ifndef _CANARD_CLASS_H
 #define _CANARD_CLASS_H
@@ -422,4 +422,4 @@ class canardClass {
         uint8_t _rxSubscriptionIdx;
 };
 
-#endif
\ No newline at end of file
+#endif
diff --git a/platformio/stima_v4/slave-rain/include/tasks/can_task.h b/platformio/stima_v4/slave-rain/include/tasks/can_task.h
index bd55fb4da..fdcb1732f 100644
--- a/platformio/stima_v4/slave-rain/include/tasks/can_task.h
+++ b/platformio/stima_v4/slave-rain/include/tasks/can_task.h
@@ -70,8 +70,8 @@
 #include <uavcan/time/Synchronization_1_0.h>
 #include <uavcan/pnp/NodeIDAllocationData_1_0.h>
 // Namespace RMAP
-#include <rmap/_module/RAIN_1_0.h>
-#include <rmap/service/_module/RAIN_1_0.h>
+#include <rmap/_module/Rain_1_0.h>
+#include <rmap/service/_module/Rain_1_0.h>
 // Standard Library
 #include <stdio.h>
 #include <stdlib.h>

I get:

Building in release mode
Compiling .pio/build/stimav4_slave/src/drivers/accelerometer.cpp.o
src/drivers/accelerometer.cpp:30:10: fatal error: drivers/Accelerometer.h: No such file or directory
   30 | #include "drivers/Accelerometer.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pio/build/stimav4_slave/src/tasks/wdt_task.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/HardwareTimer.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/IPAddress.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/Print.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/RingBuffer.cpp.o
Compiling .pio/build/stimav4_slave/FrameworkArduino/Stream.cpp.o
*** [.pio/build/stimav4_slave/src/drivers/accelerometer.cpp.o] Error 1
========================================================================================== [FAILED] Took 3.82 seconds