Number of Waypoints with Navio+ and Raspberry Pi 2

Hello!

Could someone tell me how many waypoints we can use with Navio+ on Raspberry Pi 2? Can we increase this number? (and how?)
Also, what is the maximum number of waypoints you have used?

Thank you! :slight_smile:

@mariagf Hi! By default Navio+ should be able to store ~1400 waypoints. It can be increased by increasing HAL_STORAGE_SIZE here:

#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
#define AP_HAL_BOARD_DRIVER AP_HAL_Linux
#define HAL_BOARD_NAME "Linux"
#define HAL_CPU_CLASS HAL_CPU_CLASS_1000
#define HAL_OS_POSIX_IO 1
#define HAL_OS_SOCKETS 1
#define HAL_STORAGE_SIZE            16384
#define HAL_STORAGE_SIZE_AVAILABLE  HAL_STORAGE_SIZE

Many many thanks!

And what is the limit of ‘HAL_STORAGE_SIZE’? (I mean, what is the maximum value I can use instead of 16384?)

In Linux APM port storage is implemented as a file on SD card. It is hard to tell if there are limitations in the code. A few times should work probably.