
#include "Beowulf/Beowulf.H"#include "Component/ModelManager.H"#include "Devices/JoyStick.H"#include "Util/Types.H"#include "Util/log.H"#include "Raster/Raster.H"#include <unistd.h>#include <signal.h>
Go to the source code of this file.
Classes | |
| class | TestJoyStickListener |
| A simple joystick listener. More... | |
Defines | |
| #define | COM_B_NODE 0 |
| #define | INIT_COMM 10000 |
| #define | JS_AXIS_UPDATE 20000 |
| #define | ABORT 90000 |
| #define | X_MIN -32767 |
| #define | X_MAX 32767 |
| #define | Y_MIN -32767 |
| #define | Y_MAX 32767 |
| #define | D_MIN -32767 |
| #define | D_MAX 32767 |
Functions | |
| void | terminate (int s) |
| Signal handler (e.g., for control-C). | |
| int | main (const int argc, const char **argv) |
| Test JoyStick code. | |
Variables | |
| nub::soft_ref< Beowulf > | beo |
| volatile bool | keepGoing = false |
test Joystick interface to SeaBee
Definition in file test-SeaBeeJoyStick.C.
| int main | ( | const int | argc, | |
| const char ** | argv | |||
| ) |
Test JoyStick code.
Test Joystick code.
Definition at line 134 of file test-SeaBeeJoyStick.C.
References TCPmessage::addInt32(), ModelComponent::addSubComponent(), ModelComponent::exportOptions(), ModelManager::getExtraArg(), MC_RECURSE, ModelManager::numExtraArgs(), ModelManager::parseCommandLine(), TCPmessage::reset(), nub::soft_ref< T >::reset(), ModelComponent::start(), ModelComponent::stop(), and Raster::waitForKey().
| void terminate | ( | int | s | ) |
Signal handler (e.g., for control-C).
Definition at line 127 of file test-SeaBeeJoyStick.C.
1.6.3