Windows:
Run as administrator
on MATLAB shortcut, this is sometimes required to be able to access serial devices).test_razorahrs.m
, test_rplidar.m
, etc. files for usage information.Linux, macOS, or other problem:
Makefile
, note that a CMakeLists.txt
with multiple options is also provided for CMake.Change the device path (e.g. COM9
) and other parameters in the configuration files (RazorAHRS0.txt
, RPLIDAR0.txt
, etc.) if necessary. Mind the line endings in the configuration files depending on the OS (use e.g. the command dos2unix *.txt
to convert line endings for Linux)! Ensure that you closed any other application that might use the devices (reboot if unsure). Note that you need to press the ESC key to exit cleanly the test script, if you interrupt the script by CTRL+C
, MATLAB might crash or you might not be able to launch successfully again the test script...
Sample: http://www.ensta-bretagne.fr/lebars/Share/buggy_real_gps.zip for the buggy based on an Android smartphone described on http://www.ensta-bretagne.fr/lebars/buggy_android_full.pdf .
Tested on Windows 10 64 bit using MATLAB R2022b 64 bit and MATLAB R2015b 32 bit.
Hardware support:
3rd_support
folder if needed to rebuild) : ArduPilot/ArduFlyer/HKPilot Mega (APM 2.5), PX4FLOW.3rd_support
folder if needed to rebuild with RPLIDAR SDK): RPLIDAR A1, A2, A3, S2 laser telemeters.3rd_support
folder if needed to rebuild with SBG SDK): SBG Systems Ellipse AHRS.See also https://github.com/ENSTABretagneRobotics/Hardware-CPP , https://github.com/ENSTABretagneRobotics/Hardware-Python , https://github.com/ENSTABretagneRobotics/Hardware-Java , https://github.com/ENSTABretagneRobotics/Android .