ami-iit / yarp-openmct

Repo for YARP and OpenMCT integration.
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

1,4,11: Minor fixes on the ports configuration #65

Closed nunoguedelha closed 2 years ago

nunoguedelha commented 2 years ago
nunoguedelha commented 2 years ago

1: The force visualization connects to the legs' ports, instead of the ones of the feet

Replaced visualization of EE wrench on Hip by the one on the foot:

nunoguedelha commented 2 years ago

4: The Yarp port names in the script configuration have the hardcoded prefix icubSim

Note

Importing a Javascript (JSON syntax) object from a JSON file can be done through the usual require primitive but doesn't require exporting the object in the JSON file using module.exports.

Additional references

Configuration Files

nunoguedelha commented 2 years ago

11: Telemetry and Visualization Servers log "localhost" instead of the raw IP address on the output stream

This was fixed by using directly the address and port bound to the net.Server class object returned by the server creation and launch:

const telemServer = app.listen(<port>, <host>, function () {...});

References

https://nodejs.org/api/net.html#class-netserver https://nodejs.org/api/net.html#serveraddress

nunoguedelha commented 2 years ago

Updated the README. Work completed.

Implemented in #74 .

nunoguedelha commented 2 years ago

CC @traversaro @S-Dafarra @RiccardoGrieco