Changeset 74 in flair-dev for trunk/include/FlairSensorActuator
- Timestamp:
- May 24, 2018, 11:46:38 AM (7 years ago)
- Location:
- trunk/include/FlairSensorActuator
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairSensorActuator/HostEthController.h
r68 r74 25 25 26 26 namespace flair { 27 namespace core {28 class Matrix;29 class TcpSocket;30 class UdpSocket;31 class Mutex;32 }33 namespace gui {34 class Tab;35 class TabWidget;36 class DataPlot1D;37 }27 namespace core { 28 class Matrix; 29 class TcpSocket; 30 class UdpSocket; 31 class Mutex; 32 } 33 namespace gui { 34 class Tab; 35 class TabWidget; 36 class DataPlot1D; 37 } 38 38 } 39 39 … … 47 47 *through ethernet connection 48 48 * 49 * There are 2communication channels:49 * There are 3 communication channels: 50 50 * - 1 connection with the ground station to display the values. Output for 51 *analog sticks is normalized in the range [-1, 1] (float values) 52 * - 1 connection with the target to send the controller values ( and receive53 * controller state modification requests)51 *analog sticks is normalized in the range [-1, 1] (float values) (through DrawUserInterface, use a UDT socket) 52 * - 1 connection with the target to send the controller values (through udp socket - high bandwitdh, packets may be discarded) 53 * - 1 connection with the target to receive controller state modification requests (through tcp socket - low bandwidth, packets must not be discarded) 54 54 */ 55 55 class HostEthController : public core::Thread, public core::IODevice { … … 107 107 108 108 bool ControllerInitialization(); 109 bool Connect edWithTarget();109 bool ConnectWithTarget(); 110 110 void SendControllerInfo(); 111 111 void Run();
Note:
See TracChangeset
for help on using the changeset viewer.