RIT VEXU Core API
Toggle main menu visibility
Loading...
Searching...
No Matches
robot_specs.h
1
#pragma once
2
#include "core/utils/controls/feedback_base.h"
3
#include "core/utils/controls/pid.h"
4
11
typedef
struct
{
12
double
13
robot_radius
;
14
15
double
odom_wheel_diam
;
16
double
odom_gear_ratio
;
17
double
dist_between_wheels
;
18
19
double
drive_correction_cutoff
;
22
23
Feedback
*
drive_feedback
;
24
Feedback
*
turn_feedback
;
25
PID::pid_config_t
correction_pid
;
26
27
}
robot_specs_t
;
Feedback
Definition
feedback_base.h:10
PID::pid_config_t
Definition
pid.h:43
robot_specs_t
Definition
robot_specs.h:11
robot_specs_t::correction_pid
PID::pid_config_t correction_pid
the pid controller to keep the robot driving in as straight a line as possible
Definition
robot_specs.h:25
robot_specs_t::robot_radius
double robot_radius
if you were to draw a circle with this radius, the robot would be entirely contained within it
Definition
robot_specs.h:13
robot_specs_t::drive_feedback
Feedback * drive_feedback
the default feedback for autonomous driving
Definition
robot_specs.h:23
robot_specs_t::odom_gear_ratio
double odom_gear_ratio
the ratio of the odometry wheel to the encoder reading odometry data
Definition
robot_specs.h:16
robot_specs_t::drive_correction_cutoff
double drive_correction_cutoff
Definition
robot_specs.h:19
robot_specs_t::odom_wheel_diam
double odom_wheel_diam
the diameter of the wheels used for
Definition
robot_specs.h:15
robot_specs_t::turn_feedback
Feedback * turn_feedback
the defualt feedback for autonomous turning
Definition
robot_specs.h:24
robot_specs_t::dist_between_wheels
double dist_between_wheels
the distance between centers of the central drive wheels
Definition
robot_specs.h:17
include
core
robot_specs.h
Generated by
1.17.0