If you're integrating the Cognipilot software with the MR-CANHUBK344 and are not using a Power Distribution Board (PDB) with power measurement capability, 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.
When you are building the Cognipilot software CogniPilot: Prepare MR-CANHUBK344 for programming for the real robot operation on the MR-CANHUBK344, if its the case that you are not using PDB without power measurement capability, shown in the above picture you have to make the following update:
Initially, you must update a configuration line in the prj.conf file to reflect the absence of power measurement capabilities in your setup. Follow these instructions:
Navigate to the configuration file located at ~/cognipilot/ws/cerebri/app/b3rb/prj.conf
.
Locate the line CONFIG_CEREBRI_SENSE_POWER=y
and also the following line: CONFIG_CEREBRI_SENSE_SAFETY=y
Change this line to CONFIG_CEREBRI_SENSE_POWER=n
and also change the following line: CONFIG_CEREBRI_SENSE_SAFETY=n
This adjustment disables the power sensing 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 power measurement capability.