#include <network_tables_wrapper.h>
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ NetworkTablesWrapper()
NetworkTablesWrapper::NetworkTablesWrapper |
( |
| ) |
|
◆ GetEntryDegrees()
std::optional< units::degree_t > NetworkTablesWrapper::GetEntryDegrees |
( |
const std::string & |
key | ) |
|
Get the entry's angle value.
- Parameters
-
- Returns
- std::optional<units::degree_t> Standard library optional value
◆ InitSwerveTable()
void NetworkTablesWrapper::InitSwerveTable |
( |
| ) |
|
|
private |
Create & configure all swerveHomes table instances.
◆ SetEntryDegrees()
void NetworkTablesWrapper::SetEntryDegrees |
( |
const std::string & |
key, |
|
|
const units::degree_t |
degrees |
|
) |
| |
Set the Entry Degrees object with an angle.
- Parameters
-
key | The key value for the NetworkTableEntry |
degrees | The angle value in degrees to write to the NetworkTableEntry |
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ m_blHome
nt::NetworkTableEntry NetworkTablesWrapper::m_blHome |
◆ m_brHome
nt::NetworkTableEntry NetworkTablesWrapper::m_brHome |
◆ m_flHome
nt::NetworkTableEntry NetworkTablesWrapper::m_flHome |
◆ m_frHome
nt::NetworkTableEntry NetworkTablesWrapper::m_frHome |
◆ m_NtInstance
nt::NetworkTableInstance NetworkTablesWrapper::m_NtInstance |
◆ m_swerveHomes
std::shared_ptr<nt::NetworkTable> NetworkTablesWrapper::m_swerveHomes |
The documentation for this class was generated from the following files: