增加差速电机前馈与控制器曲率预瞄
This commit is contained in:
@@ -365,7 +365,10 @@ namespace MultiWheelC
|
||||
projection.LateralErrorMeters,
|
||||
projection.HeadingErrorRadians,
|
||||
projection.DistanceToTrajectoryMeters,
|
||||
projection.RemainingDistanceMeters);
|
||||
projection.RemainingDistanceMeters,
|
||||
controller.LastCurvaturePreviewDistanceMeters ?? 0.0,
|
||||
controller.LastFeedforwardCurvaturePerMeter ??
|
||||
projection.ReferencePoint.CurvaturePerMeter);
|
||||
}
|
||||
|
||||
var command = controller.LastCommand.Value;
|
||||
@@ -728,7 +731,10 @@ namespace MultiWheelC
|
||||
projection.LateralErrorMeters,
|
||||
projection.HeadingErrorRadians,
|
||||
projection.DistanceToTrajectoryMeters,
|
||||
projection.RemainingDistanceMeters);
|
||||
projection.RemainingDistanceMeters,
|
||||
controller.LastCurvaturePreviewDistanceMeters ?? 0.0,
|
||||
controller.LastFeedforwardCurvaturePerMeter ??
|
||||
projection.ReferencePoint.CurvaturePerMeter);
|
||||
}
|
||||
|
||||
var command = controller.LastCommand.Value;
|
||||
|
||||
Reference in New Issue
Block a user