Integration Manual
Mandala variables
Autopilot algorithms
shiva
Comm ports
vcp
Controls mixer
controls
Core modules
mod
Data Broker
mdb
GPIO ports
controls.gpio
Inertial Navigation
ahrs
Node modules tree
node
PHY Multiplexer
ifc.mux
Protocols
protocols
Telemetry streamer
telemetry
Vehicle Identity
identity
Vehicle limits
vehicle
WASM engine
script
Node modules tree
Module:node
| Parameters:label
This module provides management of requests from the GCS to:
- lookup the tree of node modules;
- display module statistics and errors;
- monitor probes of a module;
The purpose of this feature is to check the system health during the integration, f.ex. check data interfaces bandwidth limits, MCUs overload, sensors malfunctions, etc.
The GCS also provides UI for modules inspection under the Tools
fact of a node.
Each node module could be any of the following:
- device driver, i.e. imu chip, memory, sensor chip, etc.;
- software module which provides some functionality, i.e. ahrs, identity, scripting engine, etc.;
- performance counter (probe), i.e. cpu load counter, data rate counter, etc;
GCS modules shell
GCS terminal widget can be used to interact with node modules. Any command, started with sh
will be processed by this module and the result is printed as a vehicle message in the terminal.
The syntax is as follows:
sh [<node name>] [<module name>] [<module name>...] [*] [ls|rst]
- node name - is the name of a node (f.ex.
nav
) to be accessed. If not specified - the request will be sent to all nodes; - module name - is the name of a module addressed, when several modules are specified, the tree is searched for children modules to match module names;
- * - asterisks will address all underlying modules recursively;
- ls - special command which is reporting the modules tree in the terminal;
- rst - special command which resets any addressed probes;
Examples
sh cpu
- will print cpu usage for all nodes;sh nav cpu
- will print cpu usage fornav
node;sh nav ahrs *
- will print allahrs
related modules and their stats fornav
node;sh nav * rst
- resets all performance counters (probes) fornav
node;sh nav hub ls
- print modules tree structure underhub
module fornav
node;sh imon
- print power usage monitors data for all nodes;
Configuration parameters
-
label
string
Node label. User comment for the node configuration used for display purposes only.