Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
skidpadgenerator Namespace Reference

Variables

float centerX = 15.0
 
float centerY = 9.125
 
float radius = 8.7
 
int numPoints = 100
 
float entryspeed = 2.5
 
float exitspeed = 2.5
 
float circular_speed = 3.5
 
str file_name = "./src/planning/src/utils/skidpad.txt"
 
tuple theta = (2 * math.pi / numPoints) * i - math.pi / 2
 
float x = centerX + radius * math.cos(theta)
 
float y = centerY + radius * math.sin(theta)
 
 file_path = os.path.abspath(file_name)
 

Variable Documentation

◆ centerX

float skidpadgenerator.centerX = 15.0

Definition at line 4 of file skidpadgenerator.py.

◆ centerY

float skidpadgenerator.centerY = 9.125

Definition at line 5 of file skidpadgenerator.py.

◆ circular_speed

float skidpadgenerator.circular_speed = 3.5

Definition at line 11 of file skidpadgenerator.py.

◆ entryspeed

float skidpadgenerator.entryspeed = 2.5

Definition at line 9 of file skidpadgenerator.py.

◆ exitspeed

float skidpadgenerator.exitspeed = 2.5

Definition at line 10 of file skidpadgenerator.py.

◆ file_name

str skidpadgenerator.file_name = "./src/planning/src/utils/skidpad.txt"

Definition at line 13 of file skidpadgenerator.py.

◆ file_path

skidpadgenerator.file_path = os.path.abspath(file_name)

Definition at line 56 of file skidpadgenerator.py.

◆ numPoints

int skidpadgenerator.numPoints = 100

Definition at line 7 of file skidpadgenerator.py.

◆ radius

float skidpadgenerator.radius = 8.7

Definition at line 6 of file skidpadgenerator.py.

◆ theta

tuple skidpadgenerator.theta = (2 * math.pi / numPoints) * i - math.pi / 2

Definition at line 26 of file skidpadgenerator.py.

◆ x

float skidpadgenerator.x = centerX + radius * math.cos(theta)

Definition at line 27 of file skidpadgenerator.py.

◆ y

float skidpadgenerator.y = centerY + radius * math.sin(theta)

Definition at line 28 of file skidpadgenerator.py.