Virtual Robot Racing League

Developer Center

VRRL
IConicalDistanceSensor Interface Reference

A sensor that can detect the distance of 5 rays, roughly conical in shape, at once More...

Inheritance diagram for IConicalDistanceSensor:
IRobotSensor

Public Member Functions

double GetDistance (ConicalDistanceTargets tgt)
 
void SetConeAngle (double angle)
 

Properties

double ConeAngle [get]
 The current angle, in degrees, of the edge targets from the center More...
 
double MinConeAngle [get]
 The minimum cone angle this sensor can handle More...
 
double MaxConeAngle [get]
 The maximum cone angle this sensor can handle More...
 
- Properties inherited from IRobotSensor
IRobotExplorer Robot [get]
 The robot this sensor is attached to More...
 
int SensorIndex [get]
 The index of this sensor in the robot's list of sensors More...
 

Detailed Description

A sensor that can detect the distance of 5 rays, roughly conical in shape, at once

Member Function Documentation

◆ GetDistance()

double IConicalDistanceSensor.GetDistance ( ConicalDistanceTargets  tgt)

Parameters
tgt
Returns

Property Documentation

◆ ConeAngle

double IConicalDistanceSensor.ConeAngle
get

The current angle, in degrees, of the edge targets from the center

◆ MaxConeAngle

double IConicalDistanceSensor.MaxConeAngle
get

The maximum cone angle this sensor can handle

◆ MinConeAngle

double IConicalDistanceSensor.MinConeAngle
get

The minimum cone angle this sensor can handle