microsoft / ros_azure_iothub

This repository contains a ROS node for bidirectional communication with IoT Hub
38 stars 30 forks source link

Relay configuration is overwritten each run #2

Closed xinyi-joffre closed 4 years ago

xinyi-joffre commented 6 years ago

Each time the node is run, the persisted relays file is overwritten with an empty array. It looks like the self._relays is never populated, but it is used to save and dump to the file each time save_relays is called.

I am planning to make a PR on this soon.