Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Latest commit

 

History

History
78 lines (69 loc) · 2.42 KB

cmd_svs.wiki

File metadata and controls

78 lines (69 loc) · 2.42 KB

  1. summary svs command documentation

Table of Contents

svs

Control the behavior of the Spatial Visual System

Synopsis

Paths

SVS can be navigated by specifying a path after the svs command. This path mimicks a directory structure and is specified by dot notation.

|| *Path* || *Argument* || *Description* || || `connect_viewer` || `<port></port>` || Connects to a svs_viewer listening on the given port || || `disconnect_viewer` || || Disconnects from an active svs_viewer || || `filters` || || Prints out a list of all the filters || || `filters.<filter_name></filter_name>` || || Prints information about a specific filter || || `commands` || || Prints out a list of all the soar commands || || `commands.<command_name></command_name>` || || Prints information about a specific command || || `<state></state>.scene.world` || || Prints information about the world || || `<state></state>.scene.<node-path></node-path>` || || Prints information about a specific node || || `<state></state>.scene.properties` || || Prints pos/rot/scale/tag info about all nodes || || `<state></state>.scene.sgel` || `<sgel></sgel>` || Sends an sgel command to the scene || || `<state></state>.scene.draw` || `on` || Causes this scene to be the one drawn on the viewer || || `<state></state>.scene.draw` || `off` || Stops this scene from being drawn in the viewer || || `<state></state>.scene.clear` || || Removes all objects from the given scene ||

Description

Each path can be followed by `help` to print some help info, or followed by `dir` to see the children of that path. The `<state></state>` variable is the identifier for the substate you want to examine. For example, to do things to the topstate scene you would use `svs S1.scene`.

Examples

Print the full SVS directory structure

Print help information about connect_viewer

Print information about a distance filter

Print all the nodes in the scene for substate S17

Print information about the node wheel2 on car5

Add a new node to the scene using SGEL