SCRC v0.2.0 API Reference
Modules
An Elixir Implementation of imulated Car Racing Championship Server and Client.
ActorData provides struct for SCRC actor data
Client implements boilerplate code for implementing an SCRC client.
It forwards the domain specific calls to it’s driver
Driver implements the framework to write custom drivers.
Simply use
this module and implement scrc_init
and scrc_drive
DriverBehaviour defines the functions to be implemented for custom drivers
This module implements several helper methods
InitData provides the struct for SCRC init data
Mapper implements a custom DSL to map an SCRC Binary string to typed native fields and vice versa
SampleDriver implements a sample driver based on the snakeoil example driver. It’s not fast, it’s not nice but it does make it around the track
SensorData provides the struct for SCRC sensor data
Server implements boilerplate code for implementing an SCRC Server.
It forwards the domain specific calls to it’s simulation
Simulation implements the framework to write custom simulations