PASAN(1)

2024-09-01

NAME

pasan - simple remote control for rcssserver3d

SYNOPSIS

pasan [-bijkuVX] [-o playMode] [-T time] [host [port]]

DESCRIPTION

pasan provides a simple command line interface for accessing the monitor protocol of the RCSSServer3D. A host as well as a port can optionally specified. To specify a port, a host needs to be specified. Multiple options can be specified.

The options are as follows:

-b

Drop the ball.

-i

Reads newline-delimited commands from stdin and forwards them to the server. Incoming messages are printed to stdout.

-j

Make a kick-off for the right team. This option is ignored if a kick-off for the left team has been requested as well.

-k

Make a kick-off for the left team.

-o playMode

Set the play mode to the given value.

-T time

Set the game time in seconds.

-u

Request a full state update.

-V

Print the version information and exit.

-X

Kill the simulation server.

EXAMPLES

Killing the simulation server running on 192.168.0.42:

pasan -X 192.168.0.42

Beaming the ball to (0, 0, 0) with no velocity and setting the time to 0 seconds:

printf "(ball (pos 0 0 0) (vel 0 0 0))" | pasan -iT0

Moving and rotating the left player with the number 8 to (11, 0, 0.5):

printf "(agent (unum 8) (team Left) (pos 11 0 0.5))" | pasan -i

EXIT STATUS

pasan exits with 0 on success and with 1 otherwise.

SEE ALSO

printf(1)

AUTHORS

Created and maintained by Hannes Braun <hannes@hannesbraun.net>. Up-to-date sources can be found at https://git.sr.ht/~hannes/pasan. Bugs and patches can be submitted by email to ~hannes/public-inbox@lists.sr.ht.