#include "callbacks.h"Go to the source code of this file.
Defines | |
| #define | ANGLE_DELTA 5 |
| #define | POWER_DELTA .05f |
Functions | |
| void | updatePower (float pwrDelta) |
| Short Description. | |
| void | updateAngle (int angDelta) |
| Short Description. | |
| void | sendAck (msg &m) |
| Short Description. | |
| string | EncData () |
| int | forward (msg &m) |
| Short Description. | |
| int | back (msg &m) |
| Short Description. | |
| int | left (msg &m) |
| Short Description. | |
| int | right (msg &m) |
| Short Description. | |
| int | stop (msg &m) |
| Short Description. | |
| int | position (msg &m) |
| Short Description. | |
| int | encoder (msg &m) |
| Short Description. | |
| int | servo (msg &m) |
| Short Description. | |
| void | msg_init (msg &msgSystem) |
| Short Description. | |
Variables | |
| hwInterface | truck_hw (1) |
| static float | power = 0 |
| static int | angle = 0 |
| SOCKET | sock |
|
|
Definition at line 5 of file callbacks.cpp. Referenced by Controller::left(), and Controller::right(). |
|
|
Definition at line 6 of file callbacks.cpp. Referenced by back(), Controller::back(), forward(), and Controller::forward(). |
|
|
Short Description. Long Description if necessary.
Definition at line 61 of file callbacks.cpp. References POWER_DELTA, sendAck(), and updatePower(). Referenced by GuiClientFrame::GuiClientFrame(), and msg_init(). |
|
|
|
|
|
Short Description. Long Description if necessary.
|
|
|
Short Description. Long Description if necessary.
Definition at line 44 of file callbacks.cpp. References POWER_DELTA, sendAck(), and updatePower(). Referenced by GuiClientFrame::GuiClientFrame(), msg_init(), and EncEstimator::update(). |
|
|
Short Description. Long Description if necessary.
|
|
|
Short Description. Long Description if necessary.
Definition at line 212 of file callbacks.cpp. References back(), encoder, forward(), left, right, servo(), and stop(). |
|
|
Short Description. Long Description if necessary.
Definition at line 132 of file callbacks.cpp. Referenced by main(). |
|
|
Short Description. Long Description if necessary.
|
|
|
Short Description. Long Description if necessary.
Definition at line 232 of file callbacks.cpp. References endmsg, startmsg(), and msg::type(). |
|
|
Short Description. Long Description if necessary.
Definition at line 167 of file callbacks.cpp. References endmsg, startmsg(), truck_hw, and msg::type(). Referenced by msg_init(). |
|
|
Short Description. Long Description if necessary.
Definition at line 115 of file callbacks.cpp. References power, sendAck(), hwInterface::setSCPower(), truck_hw, and hwInterface::writeControl(). Referenced by GuiClientFrame::GuiClientFrame(), and msg_init(). |
|
|
Short Description. Long Description if necessary.
Definition at line 197 of file callbacks.cpp. References hwInterface::setAngle(), truck_hw, and hwInterface::writeControl(). |
|
|
Short Description. Long Description if necessary.
Definition at line 181 of file callbacks.cpp. References power, hwInterface::setSCPower(), truck_hw, and hwInterface::writeControl(). |
|
|
Definition at line 17 of file callbacks.cpp. |
|
|
Definition at line 16 of file callbacks.cpp. Referenced by main(), stop(), and updatePower(). |
|
|
Definition at line 18 of file callbacks.cpp. Referenced by GuiClientFrame::GuiClientFrame(), main(), echoFrame::OnClient(), Daemon::processControlServer(), SocketTCP(), SocketUDP(), and testNamedSockets(). |
|
|
Referenced by servo(), stop(), updateAngle(), and updatePower(). |
1.4.4