Tools¶
There is a collection of command line tools to communicate with a running program instance.
Common command line parameters are:
-n <node>
- supply a way to connect to the process. It can be a UNIX socket or
a network address in the form
host:port
. -u <user>
- authenticate with the given user name. You will be asked to enter the password before the connection is made.
On Linux the tools are found in /opt/neobotix/pilot-core/bin/
or /opt/neobotix/pilot-gtkgui/bin/
.
On Windows the tools are found in the bin
folder.
pilot_execute¶
To execute a custom Lua Script on the platform:
pilot_execute -n localhost:5555 -u neo-admin -f my_script.lua
Above command will run until the script exits. To return immediately add the -a
option.
Requires permission UPLOAD_SCRIPT
.
vnxservice¶
To call a method on a module:
vnxservice -n localhost:5555 -u neo-user -x HybridPlanner move_to_station Station1 {"max_velocity": 0.5}
To get an overview of available methods:
vnxservice -n localhost:5555 -i HybridPlanner
vnxgraph¶
To create a graph of a running VNX process:
vnxgraph -n localhost:5555 > graph.dot
dot -Tsvg graph.dot > graph.svg