Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
AutoTuningConfig Struct Reference

"autoTuning" block — the auto-tuning child process. More...

#include <config.h>

Collaboration diagram for AutoTuningConfig:
[legend]

Public Attributes

bool enabled = true
 
std::string binaryPath
 
uint16_t port = 63528
 

Detailed Description

"autoTuning" block — the auto-tuning child process.

The tuning calculations are a separate executable, which Motion Master starts at startup and reaches over HTTP on loopback. It computes on the numbers it is sent and drives no device.

It is optional because of what it is for: gains are computed while a drive is commissioned, and an installation that only runs already-configured drives never calls it. It is downloaded by the install scripts rather than shipped in a release, so a machine may not have it. That is not an error: Motion Master runs, and only the auto-tuning endpoints fail.

Member Data Documentation

◆ binaryPath

std::string AutoTuningConfig::binaryPath

"" = auto-tuning next to the Motion Master binary, which is where every install path puts it. Set an absolute path to run a copy from somewhere else.

◆ enabled

bool AutoTuningConfig::enabled = true

Start the executable at all. Set false on a machine that has the file but should not run it — a system in operation, where nothing is being commissioned.

◆ port

uint16_t AutoTuningConfig::port = 63528

Loopback port the child serves on. The default is the auto-tuning program's own, so a child started by hand and one started here answer on the same port. Must not be 0: the program reads 0 as "take any free port", and Motion Master would never learn which one it took.


The documentation for this struct was generated from the following file: