Closed nunoguedelha closed 3 years ago
Did a quick test and verified same functionality as in the old repo. Now YarpJS
is a dependency.
@traversaro , the PR is ready for review.
The code seems nice, but it may be difficult to use especially for someone without a lot of node experience. Do you plan to have a README (also something simple) to explain how to run the code?
Yes absolutely, I have another PR coming with the implementation of all the remaining ports with iCub data, After or with that one I can add a README. The commands for running the telemetry servers and the Client are really simple. I will add a short how-to for adding a port to read.
Merging ...
(This PR was moved from https://github.com/robotology/yarp.js/pull/21)
This PR implements the integration of a telemetry server on YarpJS for serving Open MCT telemetry visualizer.
We connect the robot interface Yarp ports to the Open MCT via the
yarp.js
Yarp-to-websocket server are listed below as follows:yarp.js
server reads the Yarp output ports, like for instance/icubSim/inertial
. => DONE (server created and working on http or https.)yarp.js
has two additional socketshttp://localhost:<port>/history
andhttp://localhost:<port>/realtime
where it listens to requests coming from OpenMCT, asking for new telemetry data. => DONEyarp.js
replies sending the buffered data within a range depending on the requested time boundaries. => DONE