Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Mar 27, 2024
1 parent 60a74e7 commit ba10c69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Assets/AWSIM/Scripts/Sensors/Camera/CameraSensorHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CameraSensorHolder : MonoBehaviour
/// Data output hz.
/// Sensor processing and callbacks are called in this hz.
/// </summary>
[Range(0, 30)] [SerializeField] private uint publishHz = 10;
[Range(0, 30)][SerializeField] private uint publishHz = 10;

/// <summary>
/// Rendering sequence type.
Expand Down
4 changes: 2 additions & 2 deletions Assets/AWSIM/Scripts/Vehicles/GroudSlipMultiplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace AWSIM
/// </summary>
public class GroudSlipMultiplier : MonoBehaviour
{
[Range(0, 1)] [SerializeField] float forwardSlip;
[Range(0, 1)] [SerializeField] float sidewaySlip;
[Range(0, 1)][SerializeField] float forwardSlip;
[Range(0, 1)][SerializeField] float sidewaySlip;

/// <summary>
/// Slip multiplier in foward direction.
Expand Down
2 changes: 1 addition & 1 deletion Assets/AWSIM/Scripts/Vehicles/Vehicle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public float SidewaySlipMultipler
// Coefficient for prevent skidding while stopping.
// Applies to each wheel.
// TODO: A more accurate calculation method.
[Range(0.05f, 1f)] [SerializeField] float SkiddingCancelRate;
[Range(0.05f, 1f)][SerializeField] float SkiddingCancelRate;

[Space()]
[Header("Axles Settings")]
Expand Down

0 comments on commit ba10c69

Please sign in to comment.