Configuring Cerebri for MR-CANHUBK344 With PX4ARMINGBRD
Last updated
Last updated
If you're integrating the Cerebri software with the MR-CANHUBK344 and you are not using a GPS, but rather the PX4ARMINGBRD you'll need to make a specific configuration adjustment to ensure proper functionality. This guide walks you through the necessary steps to modify the configuration for compatibility with your hardware setup.
Please ensure you have the following PX4ARMINGBRD:
When building the Cognipilot software for real robot operation on the MR-CANHUBK344, if you lack GPS but possess the PX4ARMINGBRD as depicted above, you must perform the following update:
Initially, you must update a configuration line in the prj.conf file to reflect the absence of G MAG measurement capabilities in your setup. Follow these instructions:
Navigate to the configuration file located at ~/cognipilot/ws/cerebri/app/b3rb/prj.conf
.
Locate the lines CONFIG_CEREBRI_SENSE_MAG=y
and also the following line: CONFIG_CEREBRI_SENSE_UBX_GNSS=y
Change this line to CONFIG_CEREBRI_SENSE_MAG=n
and also change the following line: CONFIG_CEREBRI_UBX_GNSS=n
This adjustment disables the magnetometer and GPS feature, accommodating the hardware limitation.
After updating the configuration, proceed with the following steps to apply the changes and build the software:
By following these steps, you configure the Cognipilot software to operate correctly with your MR-CANHUBK344 hardware without GPS.
Get the PX4ARMINGBRD and the 10-Pin JST-GH to 10-Pin JST-GH cable that comes with it:
And connect it to the following pin on the MR-CANHUBK344: