Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Add loops for light_intensity_red, white, blue #132

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 21 additions & 5 deletions fixtures/personal_food_computer_v2.json
Expand Up @@ -7,7 +7,7 @@
"type": "pwm_actuator",
"inputs": {
"cmd": {
"variable": "light_illuminance"
"variable": "light_intensity_red"
}
}
},
Expand All @@ -18,7 +18,7 @@
"type": "pwm_actuator",
"inputs": {
"cmd": {
"variable": "light_illuminance"
"variable": "light_intensity_blue"
}
}
},
Expand All @@ -29,7 +29,7 @@
"type": "pwm_actuator",
"inputs": {
"cmd": {
"variable": "light_illuminance"
"variable": "light_intensity_white"
}
}
},
Expand Down Expand Up @@ -218,11 +218,27 @@
}
},
{
"_id": "light_controller_1",
"_id": "light_controller_red_1",
"type": "openag_brain:direct_controller.py",
"environment": "environment_1",
"parameters": {
"variable": "light_illuminance"
"variable": "light_intensity_red"
}
},
{
"_id": "light_controller_blue_1",
"type": "openag_brain:direct_controller.py",
"environment": "environment_1",
"parameters": {
"variable": "light_intensity_blue"
}
},
{
"_id": "light_controller_white_1",
"type": "openag_brain:direct_controller.py",
"environment": "environment_1",
"parameters": {
"variable": "light_intensity_white"
}
},
{
Expand Down