The SDK Mode is suitable only for development, testing, and scenarios that require more manual or static control over execution, or for working with a-posteriori data collection or rosbag replay.
SDK Mode Prerequisites
- Heex SDK
- Your implementations executables
- A system configuration file of your production environment
- HeexCLI (only for Automated execution)
Running Heex locally in SDK Mode
(Recommended) Automated execution with the heex CLI
We assumes you already have:
- created a system and have its
SYSTEM_ID - the
heexCLI installed and have an API key (or login) - the Heex SDK downloaded and extracted
- your implementations executables copied in the
~/Heex_SDK_<version>/implementationsfolder.
heex CLI straightforward command:
Note that you can skip using the
You can also skip the
For more options, see the CLI page for the SDK Mode.
--api-key if you have already set up a userconfig with the CLI. This avoid having the API key on every CLI command.You can also skip the
--path-to-sdk if you are already inside the ~/Heex_SDK_<version> folder.For more options, see the CLI page for the SDK Mode.
Cleanup
We recommend that you stop
We recommend that you stop
Heex Orchestrator using CTRL+C.Individual execution
You can also have more control over how does your implementation and the Heex Kernel get run. Here are the indivudual steps:1
Get the system configuration
2
Run your implementations
You have 2 options to run your implementations:
- [RECOMMENDED] Automated execution: Delegate the launch of your implementation to the Heex Kernel.
- Put all your implementations inside the
~/Heex_SDK_<version>/implementationsfolder. - Let only the relevant implementations executable get launched and orchestrated by the Kernel.
- Put all your implementations inside the
- Manual execution: Manually handle the launch and orchestratation your implementations.
- Just run them independently as you see fit. Make sure not to place them in the
~/Heex_SDK_<version>/implementationsfolder. - It is then your responsibility to managed them (start, stop, restart, etc.).
- Just run them independently as you see fit. Make sure not to place them in the
3
Run the Kernel manually
Use: