Communication

The hub of all incomming and outgoing connections
Source:
Author:
  • Eric Udlis

Methods

(static) commandTorque()

Source:
Sends command torque command

(static) disableHV()

Source:
Sends disable HV command

(static) enableHV()

Source:
Sends enable HV command

(static) enPrecharge()

Source:
Send precharge enable command

(static) primBrakeOff()

Source:
Sends primary brake off command

(static) primBrakeOn()

Source:
Send primary brake on command

(static) secBrakeOff()

Source:
Sends secondary brake off command

(static) secBrakeOn()

Source:
Sends Secondary brake on command

(static) sendEBrake()

Source:
Sends Emergency Brake Command

(static) sendHVPing()

Source:
Sends ping message to HV beaglebone

(static) sendLVPing()

Source:
Sends ping message to LV beaglebone

(static) sendOverride()

Source:
Sends Override state command

(static) sendPropulse()

Source:
Sends Propulsion command

(static) sendPumpDown()

Source:
Sends pumpdown command

(static) sendReadyCommand()

Source:
Sends Ready for pumpdown command

(static) sendReadyPump()

Source:
Sends ready for pumpdown command

(static) toggleLatch(state)

Source:
Sends toggle latch command
Parameters:
Name Type Description
state true for on false for off

(static) toggleSafety(state)

Source:
Sends toggle safety command
Parameters:
Name Type Description
state true of on false for off

(inner) sendHVCommand(msg)

Source:
Sends a message to the HV beaglebon
Parameters:
Name Type Description
msg String Message to send

(inner) sendLVCommand(msg)

Source:
Sends a message to the LV beaglebone
Parameters:
Name Type Description
msg String Message to send

(inner) sendPacket(ip, port, msg)

Source:
Sends a packet to given ip and port over TCP
Parameters:
Name Type Description
ip String IP to send packet to
port * Port to send packet to
msg * Message to include in packet