Skip to content

PlanSequence.jar usage

Jose Pinto edited this page Mar 7, 2017 · 1 revision

Introduction

PlanSequence.jar is a small java application that connects to a vehicle over TCP and executes a list of plans, sequentially.

Compiling

To generate a runnable jar file under the dist/ folder of IMCJava simply run:

ant PlanSequence.jar

Running

The vehicle must have a TCP Server that publishes PlanControlState, VehicleState and Abort messages.

The program accepts a series of arguments as follows:

java -jar dist/PlanSequence.jar --port=<port> --host=<host> --plans=<plans>

Example:

java -jar dist/PlanSequence.jar --port=6002 --host=127.0.0.1 --plans=plan1,plan2,plan3