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

Latest commit

 

History

History
35 lines (25 loc) · 1.23 KB

cmd_capture_input.wiki

File metadata and controls

35 lines (25 loc) · 1.23 KB

  1. summary capture-input command documentation

Table of Contents

capture-input

Store the input wmes in a file for reloading later.

Synopsis

Options

|| `filename` || Open filename and begin recording input. || || `-o, --open` || Writes captured input to file overwriting any existing data. || || `-f, --flush` || Writes input to file as soon as it is encountered instead of storing it in RAM and writing when capturing is turned off. || || `-q, --query` || Returns open if input capturing is active or closed if capturing is not active. || || `-c, --close` || Stop capturing input and close the file, writing captured input unless the flush option is given. ||

Description

Save agent commands issued from the input cycle function in a file for reloading later.

This command may be used to start and stop the recording of input function commands as created by an external simulation. Commands are recorded decision cycle by decision cycle. Use the command [cmd_replay_input] to replay the sequence.

Note that this command seeds the random number generator and writes the seed to the capture file.

See Also

[cmd_replay_input]