REVLib - C++
ServoHub.cpp File Reference
#include "rev/ServoHub.h"
#include <string>
#include <fmt/format.h>
#include "rev/CANServoHubDriver.h"

Macros

#define TO_SERVO_HUB_CHANNEL(channel)    static_cast<c_ServoHub_Channel>(static_cast<int>(channel))
 
#define TO_SERVO_HUB_BANK(bank)    static_cast<c_ServoHub_Bank>(static_cast<int>(bank))
 

Macro Definition Documentation

◆ TO_SERVO_HUB_CHANNEL

#define TO_SERVO_HUB_CHANNEL (   channel)     static_cast<c_ServoHub_Channel>(static_cast<int>(channel))

◆ TO_SERVO_HUB_BANK

#define TO_SERVO_HUB_BANK (   bank)     static_cast<c_ServoHub_Bank>(static_cast<int>(bank))