Skip to content

Commit 2f471bf

Browse files
committed
Removed Doxygen comments inside methods
1 parent 4fc4278 commit 2f471bf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lib/PlatoonService/src/Waypoint.cpp

+12-12
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ Waypoint* Waypoint::deserialize(const String& serializedWaypoint)
7676
}
7777
else
7878
{
79-
JsonVariant jsonXPos = jsonPayload["X"]; /**< X position [mm]. */
80-
JsonVariant jsonYPos = jsonPayload["Y"]; /**< Y position [mm]. */
81-
JsonVariant jsonOrientation = jsonPayload["Orientation"]; /**< Orientation [mrad]. */
82-
JsonVariant jsonLeft = jsonPayload["Left"]; /**< Left motor speed [steps/s]. */
83-
JsonVariant jsonRight = jsonPayload["Right"]; /**< Right motor speed [steps/s]. */
84-
JsonVariant jsonCenter = jsonPayload["Center"]; /**< Center speed [steps/s]. */
79+
JsonVariant jsonXPos = jsonPayload["X"]; /* X position [mm]. */
80+
JsonVariant jsonYPos = jsonPayload["Y"]; /* Y position [mm]. */
81+
JsonVariant jsonOrientation = jsonPayload["Orientation"]; /* Orientation [mrad]. */
82+
JsonVariant jsonLeft = jsonPayload["Left"]; /* Left motor speed [steps/s]. */
83+
JsonVariant jsonRight = jsonPayload["Right"]; /* Right motor speed [steps/s]. */
84+
JsonVariant jsonCenter = jsonPayload["Center"]; /* Center speed [steps/s]. */
8585

8686
if ((false == jsonXPos.isNull()) && (false == jsonYPos.isNull()) && (false == jsonOrientation.isNull()) &&
8787
(false == jsonLeft.isNull()) && (false == jsonRight.isNull()) && (false == jsonCenter.isNull()))
@@ -105,12 +105,12 @@ void Waypoint::serialize(String& serializedWaypoint) const
105105
{
106106
StaticJsonDocument<JSON_DOC_DEFAULT_SIZE> jsonPayload;
107107

108-
jsonPayload["X"] = xPos; /**< X position [mm]. */
109-
jsonPayload["Y"] = yPos; /**< Y position [mm]. */
110-
jsonPayload["Orientation"] = orientation; /**< Orientation [mrad]. */
111-
jsonPayload["Left"] = left; /**< Left motor speed [steps/s]. */
112-
jsonPayload["Right"] = right; /**< Right motor speed [steps/s]. */
113-
jsonPayload["Center"] = center; /**< Center speed [steps/s]. */
108+
jsonPayload["X"] = xPos; /* X position [mm]. */
109+
jsonPayload["Y"] = yPos; /* Y position [mm]. */
110+
jsonPayload["Orientation"] = orientation; /* Orientation [mrad]. */
111+
jsonPayload["Left"] = left; /* Left motor speed [steps/s]. */
112+
jsonPayload["Right"] = right; /* Right motor speed [steps/s]. */
113+
jsonPayload["Center"] = center; /* Center speed [steps/s]. */
114114

115115
size_t jsonBufferSize = measureJson(jsonPayload) + 1U;
116116
char jsonBuffer[jsonBufferSize];

0 commit comments

Comments
 (0)