74extern MyRio_IrqTimer
timer;
78#define MOTOR_V_LIM_H 10.000
80#define MOTOR_V_LIM_L -10.000
99#define FORCE_TO_VOLTAGE(force) \
100 (force) * R / (K_a * K_m)
110#define VOLTAGE_TO_FORCE(voltage) \
111 (voltage) * (K_a * K_m) / R
int GetTrolleyVelocity(Velocities *result)
Definition io.c:429
int SetXVoltage(Voltage voltage)
Definition io.c:488
void Reset()
Definition io.c:339
int SetYVoltage(Voltage voltage)
Definition io.c:493
int KeyboardControlJoin()
Definition io.c:528
float Position
Alias for a Position.
Definition io.h:26
float Voltage
Alias for Voltage.
Definition io.h:30
int GetAngle(Angles *result)
Definition io.c:378
int IOShutdown()
Definition io.c:314
bool PressedDelete()
Definition io.c:502
int IOSetup()
Definition io.c:260
int GetReferenceAngleCommand(Angles *result)
Definition io.c:371
int GetReferenceVelocityCommand(Velocities *result)
Definition io.c:347
MyRio_IrqTimer timer
The Timer.
Definition io.c:153
int KeyboardControlFork()
Definition io.c:522
float Velocity
Alias for Velocity.
Definition io.h:28
int GetUserVelocity(Angles *angle, Velocities *vel, Velocities *result)
Definition io.c:478
int GetUserPosition(Angles *angle, Positions *pos, Positions *result)
Definition io.c:471
float Angle
Alias for an Angle.
Definition io.h:24
int GetTrolleyPosition(Positions *result)
Definition io.c:390
A 2D Angle.
Definition io.h:39
Angle y_angle
! Angle Parallel to Y Direction
Definition io.h:43
Angle x_angle
! Angle Parallel to X Direction
Definition io.h:41
A 2D Position.
Definition io.h:52
Position x_pos
! X Position
Definition io.h:54
Position y_pos
! Y Position
Definition io.h:56
A 2D Velocity.
Definition io.h:65
Velocity x_vel
! X Velocity
Definition io.h:67
Velocity y_vel
! Y Velocity
Definition io.h:69