2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
config_types.h File Reference
#include <string_view>

Go to the source code of this file.

Classes

struct  argos_lib::CANAddress
 

Namespaces

namespace  argos_lib
 

Enumerations

enum struct  argos_lib::RobotInstance { argos_lib::Competition , argos_lib::Practice }
 Differentiates between practice robot and competition robot. More...
 

Functions

RobotInstance argos_lib::GetRobotInstance ()
 Detect robot instance.
 
static int argos_lib::GetCANAddr (const argos_lib::CANAddress &compAddress, const argos_lib::CANAddress &practiceAddress, argos_lib::RobotInstance instance)
 Gets integer address from CANAddress objects based on robot instance.
 
static std::string_view argos_lib::GetCANBus (const argos_lib::CANAddress &compAddress, const argos_lib::CANAddress &practiceAddress, argos_lib::RobotInstance instance)
 Gets std::string_view bus name from CANAddress objects based on robot instance.