From d586b2b98769670592859ac5285902a6260306ab Mon Sep 17 00:00:00 2001 From: Abe Winter Date: Tue, 26 Sep 2023 13:07:40 -0400 Subject: [PATCH] paste in working config after test --- README.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1be3f0f..d56b3c7 100644 --- a/README.md +++ b/README.md @@ -10,19 +10,24 @@ For iterative development, you can run a module locally (laptop or robot) and te Create the binary with `make wifi`. -Your config will look something like this: +Your config will look something like this (replace /path/to/wifi-sensor with the actual path on your system): ```json { - "modules": [{ - "executable_path": "/path/to/project/wifi", - "name": "wifisensor" - }], - "components": [{ - "name": "wifi", - "type": "sensor", - "model": "viam-labs:sensor:linux-wifi" - }] + "components": [ + { + "name": "whatever", + "model": "viam:sensor:linux-wifi", + "type": "sensor" + } + ], + "modules": [ + { + "name": "wifi", + "executable_path": "/path/to/wifi-sensor/wifi", + "type": "local" + } + ] } ```