Virtual Robot Racing League

Developer Center

VRRL
LucidSilenceGames.VirtualRobotRacing.Robots Namespace Reference

Classes

interface  IAccelerometerSensor
 A sensor to detect acceleration and force More...
 
interface  IConicalDistanceSensor
 A sensor that can detect the distance of 5 rays, roughly conical in shape, at once More...
 
interface  IDistanceSensor
 A sensor to detect the distance to the nearest object more solid than air More...
 
interface  IGoalSensor
 A directional sensor that detects the direction of the next goal More...
 
interface  IOrientedSensor
 A sensor that has a pre-defined orientation More...
 
interface  IRobotExplorer
 The base representation of the robot being controlled More...
 
interface  IRobotGyroscope
 A small rotational controller near the robots center of mass that can apply torque More...
 
interface  IRobotPropeller
 A representation of a propeller on the robot More...
 
interface  IRobotSensor
 Represents a sensor that the robot can use to learn about the world around it. More...
 
interface  IRobotThruster
 A representation of a rocket thruster on the robot More...
 
interface  IRobotWheel
 A representation of a wheel on a robot, with possible motor, braking, and steering controls More...
 
interface  ITimeSensor
 A sensor for detecting changes in the flow of time More...
 
interface  ITrackSensor
 A sensor to detect the left-right offset of an embedded track wire More...
 
interface  IVelocitySensor
 Senses velocity More...
 

Enumerations

enum  ConicalDistanceTargets {
  ConicalDistanceTargets.Unknown, ConicalDistanceTargets.Center, ConicalDistanceTargets.Left, ConicalDistanceTargets.Right,
  ConicalDistanceTargets.Top, ConicalDistanceTargets.Bottom
}
 The various raycast targets that can be queried by the conical distance sensor More...
 
enum  SensorOrientations {
  SensorOrientations.Custom, SensorOrientations.RobotForward, SensorOrientations.RobotBackward, SensorOrientations.RobotLeft,
  SensorOrientations.RobotRight, SensorOrientations.RobotDown, SensorOrientations.RobotUp, SensorOrientations.WithGravity,
  SensorOrientations.AntiGravity
}
 
enum  LEDColors {
  LEDColors.Off, LEDColors.White, LEDColors.Red, LEDColors.Orange,
  LEDColors.Yellow, LEDColors.Green, LEDColors.Cyan, LEDColors.Blue,
  LEDColors.Purple
}
 Colors that the LEDs can display on the robots More...
 

Enumeration Type Documentation

◆ ConicalDistanceTargets

The various raycast targets that can be queried by the conical distance sensor

Enumerator
Unknown 

Unknown or N/A

Center 

The center ray of the sensor; This is the unaltered orientation

Left 

A ray [ConeAngle] degrees to the left of the Center ray

Right 

A ray [ConeAngle] degrees to the right of the Center ray

Top 

A ray [ConeAngle] degrees above the Center ray

Bottom 

A ray [ConeAngle] degrees below the Center ray

◆ LEDColors

Colors that the LEDs can display on the robots

Enumerator
Off 

Off; no light is emitted

White 

Full-bright white

Red 

Bright red, #FF0000

Orange 

Orange, #FF8C00

Yellow 

Yellow, #FFFF00

Green 

Bright green, #00FF00

Cyan 

Cyan, #00FFFF

Blue 

Blue, #0000FF

Purple 

Purple, #C000FF

◆ SensorOrientations

Enumerator
Custom 

Custom direction. Call GetCustomOrientation() to determine it

RobotForward 

The robot's local forward direction

RobotBackward 

The robot's local rearward direction

RobotLeft 

The robot's local leftward direction

RobotRight 

The robot's local rightward direction

RobotDown 

The robot's local downward direction

RobotUp 

The robot's local upward direction

WithGravity 

Along the force of gravity (usually down towards ground) regardless of robot orientation

AntiGravity 

The opposite of the force of gravity (usually up toward sky) regardless of robot orientation