Source: rock-master-20.06-drivers-orogen-controldev-websocket
Section: science
Priority: optional
Maintainer: Rock Packaging Daemon (based on apaka) <rock-dev@dfki.de>
Uploaders: Rock Packaging Daemon (based on apaka) <rock-dev@dfki.de>
Build-Depends: cdbs, debhelper (>= 8.0.0), pkg-config, dh-autoreconf, cmake, libjsoncpp-dev, rock-master-20.06-base-logging, rock-master-20.06-base-orogen-std, rock-master-20.06-drivers-controldev, rock-master-20.06-ruby-orogen, rock-master-20.06-tools-logger, rock-master-20.06-tools-orogen-cpp-proxies, rock-master-20.06-tools-orogen-metadata, rock-master-20.06-tools-orogen-model-exporter, rock-master-20.06-tools-seasocks, rock-master-20.06-tools-service-discovery
Standards-Version: 3.9.2
Homepage: http://www.rock-robotics.org

Package: rock-master-20.06-drivers-orogen-controldev-websocket
Architecture: any
Depends: ${shlibs:Depends}, libjsoncpp-dev, rock-master-20.06-base-logging, rock-master-20.06-base-orogen-std, rock-master-20.06-drivers-controldev, rock-master-20.06-tools-logger, rock-master-20.06-tools-orogen-cpp-proxies, rock-master-20.06-tools-orogen-metadata, rock-master-20.06-tools-orogen-model-exporter, rock-master-20.06-tools-seasocks, rock-master-20.06-tools-service-discovery, ruby
Description: 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.

