Static class for getting information about available CAN buses.
More...
#include <ctre/phoenix6/CANBus.hpp>
|
static bool | IsNetworkFD (std::string const &canbus) |
| Gets whether the CAN bus is a CAN FD network. More...
|
|
static CANBusStatus | GetStatus (std::string const &canbus) |
| Gets the status of the CAN bus, including the bus utilization and the error counters. More...
|
|
Static class for getting information about available CAN buses.
◆ GetStatus()
static CANBusStatus ctre::phoenix6::CANBus::GetStatus |
( |
std::string const & |
canbus | ) |
|
|
static |
Gets the status of the CAN bus, including the bus utilization and the error counters.
- Parameters
-
canbus | Name of the CAN bus |
- Returns
- Status of the CAN bus
◆ IsNetworkFD()
static bool ctre::phoenix6::CANBus::IsNetworkFD |
( |
std::string const & |
canbus | ) |
|
|
static |
Gets whether the CAN bus is a CAN FD network.
- Parameters
-
canbus | Name of the CAN bus |
- Returns
- True if the CAN bus is CAN FD
The documentation for this class was generated from the following file: