Skip to content

📦 Add Another Blackbox

Yaremadzulynsky edited this page Jun 29, 2024 · 1 revision

Overview

The system was designed to be flexible regarding the number of Blackboxes used. However, there is one crucial step to add a new Blackbox. This step is registering the new Iridium 9602N modem with the Rock 7 platform and configuring it.

Rock 7 - Registering

Once the Iridium 9602N modem has been purchased from Ground Control it needs to be registered with the Rock 7 platform. To register the new modem, someone must contact Ground Control customer support (email is best) and ask them to link the new modem to the Aerodrone Rock 7 account. Once they have done so, it should appear in the "My Rockblocks" tab.

Rock 7 - Configuring

Once the new modem has appeared in the "My Rockblocks" tab, you must purchase a line rental for the new modem in the "Credits and Line Rental" tab. Then, you must navigate to the "Delivery Groups" tab and configure the modem to deliver messages to the delivery address below.

Screenshot 2023-05-02 at 10 48 35 AM

Firebase Functions - Optional/Cosmetic

To set the name of the Blackbox shown on the website and in the flight logs you must add a new line to the Firebase Functions code.

// Map to store device IDs and their respective drone IDs
const imeiToDroneID: Map<string, string> = new Map<string, string>();
imeiToDroneID.set('MODEM_IMEI', 'Nimbus');

The code snippet above is responsible for mapping the Iridium 9602N modem's IMEI to the Blackbox's assigned name. To add a new name mapping:

// Map to store device IDs and their respective drone IDs
const imeiToDroneID: Map<string, string> = new Map<string, string>();
imeiToDroneID.set(`${MODEM_IMEI}`, 'Nimbus');
.
//Other name mappings
.
imeiToDroneID.set('NEW MODEM IME', 'BLACKBOX NAME');