#include <goby/acomms/acomms_constants.h>
#include <goby/util/sci.h>
#include "jaiabot/exception.h"
#include "jaiabot/messages/link.pb.h"
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::hub_modem_id (unsigned subnet_mask, jaiabot::protobuf::Link link) |
int | jaiabot::comms::modem_id_from_bot_id (int bot_id, unsigned subnet_mask, jaiabot::protobuf::Link link) |
int | jaiabot::comms::bot_id_from_modem_id (int modem_id, unsigned subnet_mask) |
jaiabot::protobuf::Link | jaiabot::comms::link_from_modem_id (int modem_id, unsigned subnet_mask) |
template<typename DCCLMessageWithLinkField > | |
void | jaiabot::comms::set_link_type (DCCLMessageWithLinkField &msg, int src_modem_id, unsigned subnet_mask) |
Variables | |
constexpr int | jaiabot::comms::broadcast_modem_id {goby::acomms::BROADCAST_ID} |
constexpr int | jaiabot::comms::hub_base_modem_id {1} |
constexpr int | jaiabot::comms::bot0_base_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} |