BroncBotz3481/YAGSL-Example

what is matter?

yahav32 opened this issue · 2 comments

I would like to know what class Matter means in your code ,and what each of its parameters in the constructor represents?
in your example
public static final Matter CHASSIS = new Matter(new Translation3d(0, 0, Units.inchesToMeters(8)), ROBOT_MASS);
How can I change according to my robot?

Matter in this case is mass and relative location. You can use it to limit your velocity and prevent tipping by characterizing the weight of every moving part of your robot with the center of gravities and use that to limit your speed fairly accurately and avoid tipping over.

Closing due to time elapsed with no response