Skip to content

Commit

Permalink
paste in working config after test
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Sep 26, 2023
1 parent 85184d5 commit d586b2b
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
```

Expand Down

0 comments on commit d586b2b

Please sign in to comment.