Skip to content

Commands#

This section describes each command of the repository. Each entry has a synopsis, the options and an example.

How to Read a Synopsis#

Form Meaning
[--opt X] An option. You can omit it.
--opt X A required option.
a\|b Use one of the values.
X... One or more values.
N, X, PATH, DIR, LIST An integer, a number, a file, a folder, a list with commas.
[OPTIONS] More options. The entry lists them.

Each Python command also prints its options with --help.

Pages#

Page Commands
Game Command Line The options of the game Packaged/Linux/Acres.sh.
Build and Test Commands Game/Core/build.sh, Vehicle/Runtime/build.sh, Tests/Game/run.sh, pytest, Tools/ci.sh, the package build, Vehicle/Runtime/Reference/refresh.sh, the documentation tools.
Simulation Commands The Core scripts and tools, the run-time library tools and modules, the LiDAR data set tools, the game control tools, the performance tools.
Map Commands The map builder, the map variants, the layer tools and the scene tools.
ROS 2 Commands sim_bridge, core_sim, vehicle_node, the launch files and the scripts of the ROS 2 workspace.

The Most Used Commands#

Task Command
Build ACRES Core Game/Core/build.sh
Build the run-time library Vehicle/Runtime/build.sh
Start the game with the Polaris Packaged/Linux/Acres.sh -VehicleDemo -Vehicle=polaris
Drive the cost tables of the map python -m acres_fleet.tables
Run the baseline of the scouting task python -m acres_fleet.baseline --out DIR
Build the map products cd Map && python -m acres_map.build_map
Start the ROS 2 bridge ros2 launch acres_sim sim_bridge.launch.py
Run ACRES Core on ROS 2 ros2 launch acres_core_sim core_sim.launch.py
Run the local continuous integration Tools/ci.sh

Environment Variables#

Variable Reader Function
ACRES_ROOT acres_fleet The repository.
ACRES_RUNTIME_BUILD acres_fleet The folder of _acres_runtime.
ACRES_MAP acres_fleet.maps The map of the process.
ACRES_MAPS_DIR acres_fleet.maps, sim_drive.launch.py The folder of the map variants.
ACRES_COST_TABLES acres_fleet.plans The cache of the cost tables. Default: Game/Saved/Costs.
ACRES_DRIVE_TABLES acres_fleet.plans The threads that drive missing cost tables. Default: 8 or fewer. 0: a missing table is an error.
ACRES_DATA acres_data The root of the LiDAR data sets. Default: ~/data/acres/lidar.
ACRES_GAME, ACRES_CORE_SIM Tools/SimControl The packaged game and core_sim.
ACRES_ROS_DOMAIN Vehicle/ROS/Env/dds_safety.sh The ROS domain, 1 to 101. Default: 77.
PYTHON, BUILD_DIR The build scripts The interpreter and the build folder.
UE package.sh, apply_patches.sh The folder of Unreal Engine.