-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.xml
18 lines (15 loc) · 1.32 KB
/
manifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<package>
<description brief="A package to generate a `controldev/RawCommand` output port through joystick messages received from the WebSocket client. ">
The component receives a JSON from the WebSocket client, with `axis` and `buttons` attributes as in the Standard Gamepad from JS Gamepad library but with just the values at those fields. Also, the received JSON has a boolean `status` field with true indicating that it should write the command to the port. Note, the task just writes at `raw_command_port` when receives a message.
Finally, for each received message the server (task) sends a message back to its client with a JSON containing just a `result` field. That field receives true when the received message has all the attributes and was decoded translated correctly to `controldev/RawCommand` type being able to write at the port, and receives false otherwise. Note that the server just keeps one client, the lastest connected one.
</description>
<author>Henrique Ferreira Junior/[email protected]</author>
<license></license>
<depend package="drivers/controldev"/>
<depend package="tools/seasocks"/>
<depend package="base/logging"/>
<depend package="base/orogen/types"/>
<depend package="jsoncpp"/>
<test_depend name="tools/syskit" />
<test_depend name="kontena-websocket-client" />
</package>