IRNAS / koruza-rpi-package

Software package for KORUZA compute module
GNU General Public License v3.0
2 stars 1 forks source link

Add distance and remote unit IP to config #13

Closed SloMusti closed 6 years ago

SloMusti commented 6 years ago

Add distance and remote unit IP to config

kostko commented 6 years ago

Remote unit IP config added in 7b303cfa766282aa38118226576eeff63c9fd4dd.

The remote IP can be set by using:

sudo uci set koruza.@network[0].peer=10.10.254.101

The IP can be later retrieved in the script by accessing local_status['network']['peer']. Distance is currently already available in local_status['camera_calibration']['distance'] (it should probably be moved, but it should do for now).