Changeset 74 in flair-dev for trunk/include/FlairSensorActuator


Ignore:
Timestamp:
May 24, 2018, 11:46:38 AM (3 years ago)
Author:
Sanahuja Guillaume
Message:

added simupressuresensor

Location:
trunk/include/FlairSensorActuator
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/FlairSensorActuator/HostEthController.h

    r68 r74  
    2525
    2626namespace 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  }
    3838}
    3939
     
    4747*through ethernet connection
    4848*
    49 * There are 2 communication channels:
     49* There are 3 communication channels:
    5050*   - 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 receive
    53 *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)
    5454*/
    5555class HostEthController : public core::Thread, public core::IODevice {
     
    107107
    108108  bool ControllerInitialization();
    109   bool ConnectedWithTarget();
     109  bool ConnectWithTarget();
    110110  void SendControllerInfo();
    111111  void Run();
Note: See TracChangeset for help on using the changeset viewer.