Skip to content

Commit 55a6887

Browse files
committed
docs: fix typos and work around auto-alignment
1 parent ac2c5af commit 55a6887

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.cspell.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"version": "0.2",
33
"words": [
4+
"Allman",
45
"cppcheck",
6+
"mrad",
7+
"multirobot",
58
"pacman",
69
"teleop",
710
"Ulzer",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ PlatformIO project tasks --> <APP-NAME> --> Custom --> Launch
109109

110110
#### Run without Webots launcher
111111

112-
This can be choosen in case the simulation waits just for one robot.
112+
This can be chosen in case the simulation waits just for one robot.
113113

114114
PlatformIO project tasks --> <APP-NAME> --> General --> Upload
115115

doc/ROS2/setup/Webots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The setup procedure is described on [this page](https://docs.ros.org/en/jazzy/Tu
2323

2424
### Running Webots ROS2 Universal Robot (on Windows)
2525

26-
See Task 2 from this [Jazzy documentaion page](https://docs.ros.org/en/jazzy/Tutorials/Advanced/Simulators/Webots/Installation-Ubuntu.html#launch-the-webots-ros2-universal-robot-example)
26+
See Task 2 from this [Jazzy documentation page](https://docs.ros.org/en/jazzy/Tutorials/Advanced/Simulators/Webots/Installation-Ubuntu.html#launch-the-webots-ros2-universal-robot-example)
2727

2828
Replace ```<DRIVE>/<WEBOTS-INSTALLATION_DIRECTORY>``` in the following terminal commands:
2929

lib/APPTurtle/src/App.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,12 @@ void App::handleTurtle()
293293
/* Check for new data. */
294294
if (true == m_isNewTurtleSpeedSetpoint)
295295
{
296+
// clang-format off
296297
RobotSpeed payload;
297298
const int32_t MILLI_CONVERSION_FACTOR = 1000;
298-
int32_t linearSpeed = m_turtleSpeedSetpoint.linear.x * MILLI_CONVERSION_FACTOR; /* Linear speed in mm/s */
299-
int32_t angularSpeed = m_turtleSpeedSetpoint.angular.z * MILLI_CONVERSION_FACTOR; /* Angular speed in mrad/s */
299+
int32_t linearSpeed = m_turtleSpeedSetpoint.linear.x * MILLI_CONVERSION_FACTOR; // Linear speed in mm/s
300+
int32_t angularSpeed = m_turtleSpeedSetpoint.angular.z * MILLI_CONVERSION_FACTOR; // Angular speed in mrad/s
301+
// clang-format off
300302

301303
payload.linearCenter = linearSpeed;
302304
payload.angular = angularSpeed;

0 commit comments

Comments
 (0)