![]() ![]() The output shows the incubator and components being monitored. ![]() The output will appear similar to the following: This command dumps the contents of the incubators' state and their sensors and fans to the screen. In the second terminal window, run the command: ![]() When the demo starts, it displays the following menu: In your first terminal window, run the command: You will run the demo in one and monitor it in the other. It is helpful to Have a couple of terminal windows running to see what happens 'in real time.'įirst, open two terminal windows. Running the demo is the next thing to do to see what it does, then we can explain how it works. README.md - Information about the example and troubleshooting instructions.Main.cpp - The incubator application that drives the simulation.leset - Defines the rules definitions for the example.incubator.ddl - Describes the schema to create the database.gaia_log.conf - configuration settings for the platform and application loggers that the Gaia Platform uses.nf - Configuration settings for the database and rules engine that comprise the Gaia Platform.CMakeLists.txt - Build instructions for setting up the necessary files for the example.The example includes the following files: To start the server on a machine that supports systemd:Ĭomplete setup of the build environment by issuing the following commands: mkdir build\ If the Gaia database server is not running, start it now. To copy the incubator demo into your current directory: Prerequisitesįor information about the Gaia Platform prerequisites and installing the SDK, see Getting Started with the Gaia Platform. To counteract the environment getting too hot for the young animals, the Gaia component invokes logic to turn on the fans. The simulation has two distinct components: A simulator component that models the environment and a Gaia component that controls the incubators' behavior in response to changes.Īs the simulation runs, you will notice that the temperature in both incubators tends to increase. It simulates temperature sensors and cooling fans. The following example models an incubator system for chickens and puppies. Features might change when the product is released for general availability. The information contained in this document represents information about preview features of the product. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |