LibDS
Qt-based library for controlling FRC robots
|
Same as FRC_2015
, but with different robot address.
More...
#include <FRC_2016.h>
Public Member Functions | |
virtual QString | name () |
virtual QString | robotAddress () |
Public Member Functions inherited from FRC_2015 | |
FRC_2015 () | |
virtual int | fmsFrequency () |
virtual int | robotFrequency () |
virtual int | fmsInputPort () |
virtual int | fmsOutputPort () |
virtual int | robotInputPort () |
virtual int | robotOutputPort () |
virtual int | netconsoleInputPort () |
virtual int | maxPOVCount () |
virtual int | maxAxisCount () |
virtual int | maxButtonCount () |
virtual int | maxJoystickCount () |
virtual void | rebootRobot () |
virtual void | restartRobotCode () |
virtual void | onRobotWatchdogExpired () |
virtual qreal | nominalBatteryVoltage () |
virtual qreal | nominalBatteryAmperage () |
virtual DS::SocketType | fmsSocketType () |
virtual DS::SocketType | robotSocketType () |
virtual QString | radioAddress () |
virtual QByteArray | getFMSPacket () |
virtual QByteArray | getRobotPacket () |
virtual bool | interpretFMSPacket (const QByteArray &data) |
virtual bool | interpretRobotPacket (const QByteArray &data) |
Public Member Functions inherited from Protocol | |
virtual int | radioFrequency () |
virtual int | radioInputPort () |
virtual int | radioOutputPort () |
virtual int | netconsoleOutputPort () |
virtual qreal | nominalBatteryVOltage () |
virtual void | onFMSWatchdogExpired () |
virtual void | onRadioWatchdogExpired () |
virtual DS::SocketType | radioSocketType () |
virtual QString | fmsAddress () |
QByteArray | generateFMSPacket () |
QByteArray | generateRadioPacket () |
QByteArray | generateRobotPacket () |
bool | readFMSPacket (const QByteArray &data) |
bool | readRadioPacket (const QByteArray &data) |
bool | readRobotPacket (const QByteArray &data) |
void | resetLossCounter () |
int | sentFMSPackets () |
int | sentRadioPackets () |
int | sentRobotPackets () |
int | receivedFMSPackets () |
int | receivedRadioPackets () |
int | receivedRobotPackets () |
int | recvRobotPacketsSinceConnect () |
int | sentRobotPacketsSinceConnect () |
Additional Inherited Members | |
Protected Member Functions inherited from FRC_2015 | |
virtual QByteArray | getTimezoneData () |
virtual QByteArray | getJoystickData () |
virtual DS::Alliance | getAlliance (DS_UByte station) |
virtual DS::Position | getPosition (DS_UByte station) |
virtual void | readExtended (const QByteArray &data) |
virtual DS_UByte | getControlCode () |
virtual DS_UByte | getRequestCode () |
virtual DS_UByte | getFMSControlCode () |
virtual DS_UByte | getTeamStationCode () |
virtual DS_UByte | getJoystickSize (const DS::Joystick &joystick) |
Protected Member Functions inherited from Protocol | |
DS_Config * | config () |
DS_Joysticks * | joysticks () |
virtual QByteArray | getRadioPacket () |
virtual bool | interpretRadioPacket (const QByteArray &data) |
Same as FRC_2015
, but with different robot address.
|
virtual |
Returns the display name of the protocol
Reimplemented from FRC_2015.
|
virtual |
Default robot address is roboRIO-TEAM-FRC.local
Reimplemented from FRC_2015.
References Protocol::config().