ListVariables (beta feature)#

This command returns the list of all variable names that exist on the robot.

For more information, see Variable management commands (beta).

Syntax#

ListVariables()

Responses#

  • [2550] [var1, var2, …]

  • [1550] [errorMsg]

    • errorMsg:

      • An error message explaining why the variable could not be listed.

Usage restrictions#

This command can be executed in any robot state.

Cyclic protocols#

This command is not available in cyclic protocols. See Managing variables with cyclic protocols.