|
Goby3 3.7.0
2026.11.12
|
Goby's groups, types and schemes are known at compile time, so the publish/subscribe interface of every application can be read from its source. goby_clang_tool -gen writes it to an interface file, and a deployment file says which applications run where. From these, goby interface checks and draws a whole system of vehicles and applications without running it.
goby_clang_tool -gen -target <target>, usually through goby_export_interface() in cmake_modules/GobyClangTool.cmake; Goby's own are installed in share/goby/interfaces.application:, then interthread (per thread, with bases), interprocess, intermodule and intervehicle, each with publishes and subscribes.group, scheme, type, thread; subscriptions add necessity; inner: true marks a publication repeated on an inner layer; is_regex: true marks a type-regex subscription.-gen on the generated glue target to get the same file.required, recommended, optional (default): the template parameter of subscribe(), subscribe_dynamic() and subscribe_type_regex(), or necessity: in a Python or Julia interface.yml.-gen can tell about a DynamicGroup: the whole group (dynamic: true), its string but not its numeric (numeric: runtime), or neither (group: "*", with expr).reset(new DynamicGroup(...)).deployment: name; platforms: each with name: and either run: or modules: (each with name: and run:).run: entries: an application name, or { application, name, plugins, file, bind }.instances:, bind: and the top-level necessity: overrides.${NAME} variables.interfaces: list of files.gobyd)goby interface validate: issue codes and exit status (see goby interface).goby interface explain for a single group; list and diff for inventories and regressions; init to start a deployment file.run entry (process, exec, config, args, env, kill, when, enabled) and a platform's launch: { flags, defaults }.hold: auto for gobyd, expected: auto for goby_coroner.goby interface launch, goby launch <deployment>.yml, and launch_check for moving existing launch files over.goby interface systemd: systemd: settings, templates, when decided at write time, and --check against installed units.goby interface visualize and goby_clang_tool -viz.goby_validate_interfaces() in CMake.