Virtual Robot Racing League

Developer Center

VRRL
IRobotPropeller Interface Reference

A representation of a propeller on the robot More...

Public Member Functions

void GetPropellerFacingDirection (out double x, out double y, out double z)
 Returns a unit vector representing the direction that this propeller pushes the robot when the current speed is more than zero. This unit vector is relative to the robot, not the world. More...
 
void GetOffsetFromRobotCenterOfMass (out double x, out double y, out double z)
 Returns the offset from the center of this propeller to the robot's center of mass, in meters.
This vector is relative to the robot, not the world. More...
 

Properties

IRobotExplorer Robot [get]
 The robot this propeller is attached to More...
 
int PropellerIndex [get]
 The index of this propeller in the robot's list of propellers More...
 
double MinSpeed [get]
 Minimum rotational speed of the propeller, in degrees per second (can be negative) More...
 
double MaxSpeed [get]
 Maximum rotational speed of the propeller, in degrees per second More...
 
double CurrentSpeed [get]
 Current rotational speed of the propeller, in degrees per second More...
 
double TargetSpeed [get, set]
 The target rotational speed of the propeller, in degrees per second More...
 
double HoverSpeed [get]
 The rotational speed of the propeller needed for the robot to hover, if propeller is facing up If this is not an upward-facing propeller, the Hover Speed will be zero More...
 

Detailed Description

A representation of a propeller on the robot

Member Function Documentation

◆ GetOffsetFromRobotCenterOfMass()

void IRobotPropeller.GetOffsetFromRobotCenterOfMass ( out double  x,
out double  y,
out double  z 
)

Returns the offset from the center of this propeller to the robot's center of mass, in meters.
This vector is relative to the robot, not the world.

◆ GetPropellerFacingDirection()

void IRobotPropeller.GetPropellerFacingDirection ( out double  x,
out double  y,
out double  z 
)

Returns a unit vector representing the direction that this propeller pushes the robot when the current speed is more than zero. This unit vector is relative to the robot, not the world.

Property Documentation

◆ CurrentSpeed

double IRobotPropeller.CurrentSpeed
get

Current rotational speed of the propeller, in degrees per second

◆ HoverSpeed

double IRobotPropeller.HoverSpeed
get

The rotational speed of the propeller needed for the robot to hover, if propeller is facing up If this is not an upward-facing propeller, the Hover Speed will be zero

◆ MaxSpeed

double IRobotPropeller.MaxSpeed
get

Maximum rotational speed of the propeller, in degrees per second

◆ MinSpeed

double IRobotPropeller.MinSpeed
get

Minimum rotational speed of the propeller, in degrees per second (can be negative)

◆ PropellerIndex

int IRobotPropeller.PropellerIndex
get

The index of this propeller in the robot's list of propellers

◆ Robot

IRobotExplorer IRobotPropeller.Robot
get

The robot this propeller is attached to

◆ TargetSpeed

double IRobotPropeller.TargetSpeed
getset

The target rotational speed of the propeller, in degrees per second