This is a repo storing the firmware of FREDO1. Within the firmware, we exploited ARDUINO + SERIAL and socket to achieve communication amongst each executables.
fo1fo1.ino: low-level communication for pulse sending and signal acquisition.
fo1_serial/srcserial_link.cpp: frontal communication via serial withARDUINO.serial_com.cpp: handling low raw signals and readable estimation and control inputs.com_util.cpp: communication libraries similar toROS.ctrl_test.cpp: angle testing.
Please refer to here.
- To bootload the code into
ARDUINO, do./bootload.sh fo1 - To launch
./launch.sh TWIN # TWIN mode for visualizing || ./launch.sh CTRL # CTRL mode for controlling