Skip to content

Commit

Permalink
pushhhhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
Nischay2312 committed Jun 24, 2024
1 parent 20f65c4 commit b59bb7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/ConfigParse.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ typedef struct{
double KP;
double KI;
double KD;
double PID_ControlRate
double PID_ControlRate;
}PIDConfig_t ;

// Output data settings for each sensor
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void ComputePID(){
}

// make the Data packet
AngleData data = {setpoint, sensorData_inst.imuData.EulerAngles.v2, 0};
AngleData data = {setpoint* 0.01745, sensorData_inst.imuData.EulerAngles.v2* 0.01745, 0};
// send the data packet to the queue
sendSteeringData(data);

Expand Down

0 comments on commit b59bb7d

Please sign in to comment.