JaiaBot  1.12.0+7+gdc1e5561
JaiaBot micro-AUV software
comms.h File Reference
#include <goby/acomms/acomms_constants.h>
#include "jaiabot/exception.h"
Include dependency graph for comms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jaiabot
 
 jaiabot::comms
 

Functions

void jaiabot::comms::check_bot_id_bounds (int bot_id)
 
void jaiabot::comms::check_hub_id_bounds (int hub_id)
 
int jaiabot::comms::modem_id_from_bot_id (int bot_id)
 
int jaiabot::comms::bot_id_from_modem_id (int modem_id)
 

Variables

constexpr int jaiabot::comms::broadcast_modem_id {goby::acomms::BROADCAST_ID}
 
constexpr int jaiabot::comms::hub_modem_id {1}
 
constexpr int jaiabot::comms::bot0_modem_id {2}
 
constexpr int jaiabot::comms::bot_id_min {0}
 
constexpr int jaiabot::comms::bot_id_max {150}
 
constexpr int jaiabot::comms::bot_id_total {bot_id_max - bot_id_min + 1}
 
constexpr int jaiabot::comms::hub_id_min {0}
 
constexpr int jaiabot::comms::hub_id_max {30}
 
constexpr int jaiabot::comms::hub_id_total {hub_id_max - hub_id_min + 1}