Skip to content

Commit a1f33a5

Browse files
committed
Pre-commit checks.
1 parent dd42896 commit a1f33a5

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

com.unity.ml-agents/Runtime/Sensors/IJointExtractor.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ public interface IJointExtractor
1010
/// Determine the number of observations that would be generated for the particular joint
1111
/// using the provided PhysicsSensorSettings.
1212
/// </summary>
13-
/// <param name="settings">The settings used to configure the physics sensor.</param>
13+
/// <param name="settings">The settings used to configure the physics sensor.</param>
1414
/// <returns>Number of floats that will be written.</returns>
1515
int NumObservations(PhysicsSensorSettings settings);
1616

1717
/// <summary>
1818
/// Write the observations to the ObservationWriter, starting at the specified offset.
1919
/// </summary>
20-
/// <param name="settings">The settings used to configure the physics sensor.</param>
21-
/// <param name="writer">The writer to which observations are written.</param>
22-
/// <param name="offset">The starting index in the writer to begin writing observations.</param>
20+
/// <param name="settings">The settings used to configure the physics sensor.</param>
21+
/// <param name="writer">The writer to which observations are written.</param>
22+
/// <param name="offset">The starting index in the writer to begin writing observations.</param>
2323
/// <returns>Number of floats that were written.</returns>
2424
int Write(PhysicsSensorSettings settings, ObservationWriter writer, int offset);
2525
}

com.unity.ml-agents/Runtime/Sensors/PhysicsBodySensor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public class PhysicsBodySensor : ISensor, IBuiltInSensor
2121
/// <summary>
2222
/// Construct a new PhysicsBodySensor
2323
/// </summary>
24-
/// <param name="poseExtractor">The pose extractor used to obtain rigid body poses.</param>
25-
/// <param name="settings">The settings used to configure the physics sensor.</param>
26-
/// <param name="sensorName">The name assigned to the sensor.</param>
24+
/// <param name="poseExtractor">The pose extractor used to obtain rigid body poses.</param>
25+
/// <param name="settings">The settings used to configure the physics sensor.</param>
26+
/// <param name="sensorName">The name assigned to the sensor.</param>
2727
public PhysicsBodySensor(
2828
RigidBodyPoseExtractor poseExtractor,
2929
PhysicsSensorSettings settings,

com.unity.ml-agents/Runtime/Sensors/PoseExtractor.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public int NumPoses
140140
/// <summary>
141141
/// Get the parent index of the body at the specified index.
142142
/// </summary>
143-
/// <param name="index">The index of the body whose parent index is to be retrieved.</param>
143+
/// <param name="index">The index of the body whose parent index is to be retrieved.</param>
144144
/// <returns>The parent index of the body at the specified index.</returns>
145145
public int GetParentIndex(int index)
146146
{
@@ -155,8 +155,8 @@ public int GetParentIndex(int index)
155155
/// <summary>
156156
/// Set whether the pose at the given index is enabled or disabled for observations.
157157
/// </summary>
158-
/// <param name="index">The index of the pose to enable or disable.</param>
159-
/// <param name="val">Whether the pose is enabled (true) or disabled (false).</param>
158+
/// <param name="index">The index of the pose to enable or disable.</param>
159+
/// <param name="val">Whether the pose is enabled (true) or disabled (false).</param>
160160
public void SetPoseEnabled(int index, bool val)
161161
{
162162
m_PoseEnabled[index] = val;
@@ -443,7 +443,7 @@ public static class PoseExtensions
443443
/// P.Inverse() * P
444444
/// will equal the identity pose (within tolerance).
445445
/// </summary>
446-
/// <param name="pose">The pose to operate on.</param>
446+
/// <param name="pose">The pose to operate on.</param>
447447
/// <returns>Inverse `Pose`.</returns>
448448
public static Pose Inverse(this Pose pose)
449449
{
@@ -455,8 +455,8 @@ public static Pose Inverse(this Pose pose)
455455
/// <summary>
456456
/// This is equivalent to Pose.GetTransformedBy(), but keeps the order more intuitive.
457457
/// </summary>
458-
/// <param name="pose">The pose to transform by.</param>
459-
/// <param name="rhs">The pose to be transformed.</param>
458+
/// <param name="pose">The pose to transform by.</param>
459+
/// <param name="rhs">The pose to be transformed.</param>
460460
/// <returns>Multiplied `Pose`.</returns>
461461
public static Pose Multiply(this Pose pose, Pose rhs)
462462
{
@@ -468,8 +468,8 @@ public static Pose Multiply(this Pose pose, Pose rhs)
468468
/// as a 4x4 matrix and multiplying the augmented vector.
469469
/// See https://en.wikipedia.org/wiki/Affine_transformation#Augmented_matrix for more details.
470470
/// </summary>
471-
/// <param name="pose">The pose to transform by.</param>
472-
/// <param name="rhs">The vector to be transformed.</param>
471+
/// <param name="pose">The pose to transform by.</param>
472+
/// <param name="rhs">The vector to be transformed.</param>
473473
/// <returns>Multiplied `Pose`.</returns>
474474
public static Vector3 Multiply(this Pose pose, Vector3 rhs)
475475
{

0 commit comments

Comments
 (0)