I have created my own loop functions with the name tracking_loop_functions.h, tracking_loop_functions.cpp. It is being called along with the controller epuck_tracking.cpp. This controller individually works fine (i.e. without using loop function along with it). But, along with the loop function, I am getting the following error while running the final code.
Code: Select all
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/epuck_tracking/libepuck_tracking.so"
[INFO] Loaded library "./build/loop_functions/tracking_loop_functions/libtracking_loop_functions.so"
argos3: symbol lookup error: ./build/loop_functions/tracking_loop_functions/libtracking_loop_functions.so: undefined symbol: _ZN22CTrackingLoopFunctionsC1Ev
CTrackingLoopFunctions is the class name in my loop function. I have attached the files below for reference.