MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / integer

Function integer

pj_plotting/tests/parameter_form_test.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 return p;
28}
29ParamSpec integer(const std::string& name, int def) {
30 ParamSpec p;
31 p.name = name;
32 p.type = ParamType::kInteger;
33 p.default_value = def;
34 p.min = 1.0;
35 p.max = 1000.0;
36 return p;
37}
38ParamSpec boolean(const std::string& name, bool def) {
39 ParamSpec p;
40 p.name = name;

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected