Configuring Cerebri for MR-CANHUBK344 With PX4ARMINGBRD

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:

Step 1: Update Configuration

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:

  1. Navigate to the configuration file located at ~/cognipilot/ws/cerebri/app/b3rb/prj.conf.

  2. Locate the lines CONFIG_CEREBRI_SENSE_MAG=y and also the following line: CONFIG_CEREBRI_SENSE_UBX_GNSS=y

  3. Change this line to CONFIG_CEREBRI_SENSE_MAG=n and also change the following line: CONFIG_CEREBRI_UBX_GNSS=n

  4. This adjustment disables the magnetometer and GPS feature, accommodating the hardware limitation.

Step 2: Apply Changes and Build

After updating the configuration, proceed with the following steps to apply the changes and build the software:

cd ~/cognipilot/ws/cerebri
west update
cd ~/cognipilot/ws/cerebri/app/b3rb
west build -b mr_canhubk3 -p
west flash

By following these steps, you configure the Cognipilot software to operate correctly with your MR-CANHUBK344 hardware without GPS.

Step 3: Connecting the PX4ARMINGBRD

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:

Last updated