Robot Experiment Graphs and Repeatability in Webots
How to change one condition at a time in a robot experiment, read wheel speed and distance on a graph, and check repeatability in the Webots robot simulator.

Summary
- Change one condition and keep all the others the same. If you change several conditions at once, it is hard to tell which one affected the result.
- Put wheel speed on the horizontal axis and distance traveled on the vertical axis, then check how close the measured points are to the expected straight line through the origin.
- I ran the e-puck robot model in Webots, a robot simulator, five times under each condition. Under the same condition, all five measurements matched, and the robot traveled 0.160% less than expected. When the run time went from 5.0 seconds to 10.0 seconds, the slope of the graph also doubled.
When a company is thinking about a delivery robot or a serving robot, the person in charge wants to know one thing: will the robot that worked well today work the same way tomorrow? To judge whether a robot is stable enough to use, you repeat trial runs under the same conditions and check how closely the results agree.
Below, I go through how to choose the condition to change, how to read the graph, and how to repeat measurements. In the second half, I share the results of driving tests in Webots, a robot simulator.
In Robot Experiments, Change Only One Condition
What to Change and What to Keep the Same
If you change both the amount of curry roux and the simmering time, it is hard to tell which one changed the taste. To see what the amount of roux does, you keep the simmering time and the pot the same, and change only the roux.
Robot experiments work the same way. You test the conditions that affect the result one at a time. For example, these conditions affect the distance a robot travels:
- Wheel speed (the angle a wheel turns in one second, in rad/s)
- Run time (seconds)
- Wheel radius (m)
If you compare distances at wheel speeds of 1.0, 2.0 and 4.0 rad/s, you use the same robot, the same run time and the same starting position every time.
Set the Expected Value and Pass Criterion Before Measuring
I first predict the distance with a formula, then set a pass criterion before the experiment. This time, a result passes if it is within 5% of the expected value.
When the wheels do not slip and the robot moves straight at a steady speed, you can predict the distance with this formula:
Distance = wheel radius × wheel speed × run time
With a wheel radius of 0.02 m, a wheel speed of 1.0 rad/s and a run time of 5.0 seconds, 0.02 × 1.0 × 5.0 = 0.1, so the expected distance is 0.1 m.
The difference from the expected value (%) is "(measured value − expected value) ÷ expected value × 100." Take a robot that carries parts in a factory and is expected to travel 20 m.
- If it travels 19.5 m: (19.5 − 20) ÷ 20 × 100 = −2.5%. The size of the error is 2.5%, so it passes.
- If it travels 18 m: (18 − 20) ÷ 20 × 100 = −10%. The size of the error is 10%, so it fails.
When you set the criterion before measuring, you avoid shifting the judgment after you see the results. I cover expected values, test conditions, what to record and pass criteria in Robot Experiment Basics.
Change any result. Bars inside the green band pass.
- Run 1: 98 cm(difference -2 cm)→ Pass
- Run 2: 101 cm(difference +1 cm)→ Pass
- Run 3: 97 cm(difference -3 cm)→ Pass
- Run 4: 103 cm(difference +3 cm)→ Pass
- Run 5: 100 cm(difference +0 cm)→ Pass
5 of 5 runs passed. Average of the runs: 99.8 cm
Reading the Results on a Graph
Wheel Speed on the Horizontal Axis, Distance on the Vertical Axis
On the graph, the horizontal axis shows the condition you changed, and the vertical axis shows the measured result. Here, the horizontal axis is wheel speed and the vertical axis is distance traveled.
For example, take a robot that moves goods in a warehouse in the Philippines. With a wheel radius of 0.1 m and a run time of 60 seconds, you can predict the distance like this:
- At a wheel speed of 5 rad/s: 0.1 × 5 × 60 = 30, so 30 m
- At a wheel speed of 10 rad/s: 0.1 × 10 × 60 = 60, so 60 m
When you double the wheel speed, the distance also doubles. This relationship is called direct proportion, and on a graph it appears as a straight line through the origin (0, 0).
What the Slope and Intercept Tell You
- The slope shows how much the vertical value goes up when the horizontal value goes up by 1. In this example, it is the extra distance you get when you raise the wheel speed by 1 rad/s. From the distance formula, the slope is "wheel radius × run time."
- The intercept is the vertical value when the horizontal value is 0. If the wheel speed is 0, the robot does not move, so the expected intercept is 0.
With a wheel radius of 0.02 m and a run time of 5.0 seconds, the expected slope is 0.02 × 5.0 = 0.1. If the line fitted to the measured points has a slope close to 0.1 and an intercept close to 0, the results roughly match the prediction. I cover proportional graphs and how to read slope and intercept in functions and graphs for robot motion.
| x = 0 | y = 0 |
| x = 1 | y = 1 |
| x = 2 | y = 2 |
| x = 3 | y = 3 |
| x = 4 | y = 4 |
dotted: before shifting / solid: after shifting
Finding the Best-Fit Line with Least Squares
Measured points do not always line up perfectly. So you take the vertical gap between each point and the line, square it, and find the line that makes the total of those squares as small as possible. This is the least squares method. The statistics handbook from NIST (the U.S. National Institute of Standards and Technology) describes it as a widely used method.
I store the measurement data in a database together with its sources, and I use Python to calculate the line. I use AI to write the text based on the calculated results.
Repeating Measurements Under the Same Conditions
Check the Average and the Spread
When you measure several times under the same conditions, you can see the average result and how much the value changes from one measurement to the next. Here, I use the difference between the largest and smallest values as a simple measure of spread.
Say a serving robot at a restaurant is set to travel 10 m from the kitchen to a table. If five runs give these results, the average and spread look like this:
- Measured values: 10.0 m, 10.2 m, 9.8 m, 10.1 m, 9.9 m
- Average: 10 m
- Difference between the largest and smallest values: 10.2 − 9.8 = 0.4 m
Even when the average matches the setting, a single run may stop short of the table or go past it. When you check the average and the spread together, you can judge how steadily the robot runs each time.
When I build business systems that must give stable results for the same input, I also run them 10 times under the same conditions and check the spread of the results.
Repeatability vs. Reproducibility
NIST's measurement terms separate repeatability from reproducibility, based on the conditions under which results are compared.
- Repeatability shows how closely results agree when measured under the same conditions. NIST gives examples such as using the same measurement procedure and location, and repeating measurements over a short period.
- Reproducibility shows how closely results agree when some of the measurement conditions change. To state reproducibility, you need to say which conditions changed.
Running the same robot five times on the same day under the same conditions is a check of repeatability. If another person runs the experiment on another computer to check reproducibility, you also record that the person and the computer changed.
In the experiment record, keep items like these:
- Software and version (for example, Webots R2025a)
- Robot model and dimensions (for example, e-puck, wheel radius 0.02 m)
- Conditions changed and conditions kept the same (for example, wheel speed changed, run time kept at 5.0 seconds)
Webots Settings That Affect Results
If repeated measurements in Webots do not agree, check settings like these:
- synchronization is TRUE by default. The simulation and the control program run in step with each other. If you set it to FALSE, results can change with the computer's processing speed and load.
- randomSeed is the value used to generate random numbers, and it affects things like sensor noise. If the setting generates random numbers from the clock time, you cannot reproduce the same result each time you run it.
- For the position sensor (encoder, which measures how far a wheel turns), noise sets the size of the noise added to the output, and resolution sets the smallest change the sensor can tell apart.
Results from Testing in Webots
Test Conditions
I ran the e-puck in Webots R2025a and looked at the relationship between wheel speed and distance traveled.
- Robot: e-puck (wheel radius 0.02 m)
- Simulation time step (basicTimeStep): 32 ms
- Both wheels turn at the same speed, so the robot moves straight
- Wheel speeds: 1.0, 2.0 and 4.0 rad/s (the e-puck's maximum wheel speed is 6.28 rad/s)
- Run time: 5.0 seconds, with the same starting position
- Five measurements at each wheel speed
I calculated the distance from the coordinates the Supervisor reads. This feature gives the robot's position in coordinates based on the whole simulation space (world coordinates). Here, I use the distance calculated from that position as the reference, and later compare it with the distance estimated from the encoders. Before each trial, I used the Supervisor to move the robot back to the starting position. I explain the difference between Supervisor coordinates and encoder estimates in our Webots simulation tutorial.
Results with a 5.0-Second Run Time
| Wheel speed | Expected distance | Measured distance | Difference from expected | Largest minus smallest |
|---|---|---|---|---|
| 1.0 rad/s | 0.1 m | 0.09984 m | −0.160% | 0.00000 m |
| 2.0 rad/s | 0.2 m | 0.19968 m | −0.160% | 0.00000 m |
| 4.0 rad/s | 0.4 m | 0.39936 m | −0.160% | 0.00000 m |
At every wheel speed, all five measurements matched to the digits shown in the table. The distance was 0.160% shorter than expected, which is within the 5% pass criterion. At 1.0 rad/s, the gap from the expected distance is 0.16 mm.
The line fitted to the three measured points had a slope of 0.09984 and an intercept of 0.00000. The slope is close to the expected 0.1, and the line passes through the origin.
Results with a 5.0-second run time. At every wheel speed, all five measurements match.
Graph for a 5.0-second run time. The measured points sit close to the expected line through the origin.
Results with the Run Time Extended to 10.0 Seconds
Next, I changed only the run time, from 5.0 seconds to 10.0 seconds, and measured five times at each of the same three wheel speeds.
| Wheel speed | Expected distance | Measured distance | Difference from expected | Largest minus smallest |
|---|---|---|---|---|
| 1.0 rad/s | 0.2 m | 0.19968 m | −0.160% | 0.00000 m |
| 2.0 rad/s | 0.4 m | 0.39936 m | −0.160% | 0.00000 m |
| 4.0 rad/s | 0.8 m | 0.79872 m | −0.160% | 0.00000 m |
Again, the five measurements at each wheel speed matched to the digits shown in the table. The line had a slope of 0.19968 and an intercept of 0.00000. The slope is close to the value expected from the formula (0.02 × 10.0 = 0.2), and it is exactly twice the slope for the 5.0-second run time (0.09984). At 4.0 rad/s, the gap from the expected distance is 1.28 mm.
With the run time extended to 10.0 seconds, the robot traveled twice as far at the same wheel speed.
Graph for a 10.0-second run time. The slope is twice that of the 5.0-second run.
Because I kept the wheel speeds and starting position the same and doubled only the run time, I could confirm how run time affects the slope of the graph.
Comparing Encoder Estimates with Supervisor Measurements
In the same experiment, I also estimated the distance from the encoders, which measure how far the wheels turn. The encoder estimates differed slightly from one trial to the next.
- With a 5.0-second run time at 4.0 rad/s, the values alternated between 0.39891 m and 0.39878 m. The gap is 0.13 mm.
- With a 5.0-second run time at 1.0 rad/s, only the fourth run gave 0.09973 m. The other four runs gave 0.09985 m.
- With a 10.0-second run time at 4.0 rad/s, there was a 0.13 mm gap between 0.79769 m and 0.79756 m.
At 4.0 rad/s, the smaller encoder value was shorter than the Supervisor distance by 0.58 mm for the 5.0-second run and by 1.16 mm for the 10.0-second run.
Even when you measure the same run, different measurement methods give different values and different spreads. So that you can compare results later, record the measurement method along with the measured values.
Steps for Testing a Robot at Work
Japanese companies in the Philippines that are thinking about delivery robots or serving robots can test them with the same steps.
- Pick one condition to change. Choose from wheel speed, run time, distance to the destination and so on.
- Predict the result with a formula and set a pass criterion. This time, a result passed if it was within 5% of the expected value.
- Plot the measured values on a graph and compare the slope and intercept with the prediction.
- Repeat the measurement under the same conditions and check the average and the spread.
- Record the equipment and settings used, the conditions changed and the measurement method.
With records from these steps, you can identify the conditions under which the robot runs steadily, and use those records when deciding whether to adopt the robot.
FAQ
Q: If one trial run goes well, is it safe to adopt the robot?
A: One good run does not show that the robot will behave the same way tomorrow. To check that it runs steadily, repeat trial runs under the same conditions and judge by the average and the spread.
Q: How many times should we repeat the test?
A: In this Webots test, I measured five times at each wheel speed. When I test business systems that must give stable results, I run them 10 times under the same conditions and check the spread.
Q: What should we do if the points on the graph move away from the expected line?
A: First, use least squares to find the line that fits the measured points, then compare its slope and intercept with the prediction. If the intercept is far from 0, or the slope is very different from the prediction, review the measurement method and test conditions. In Webots, also check settings such as synchronization, randomSeed and sensor noise.
Q: What is the difference between repeatability and reproducibility?
A: Repeatability shows how closely results agree when measured under the same conditions. Reproducibility shows how closely results agree when some conditions change, such as the person measuring or the equipment. When you check reproducibility, record what you changed.
Conclusion
In a robot experiment, you change only one condition and plot the measured results on a graph. When you repeat measurements under the same conditions, you can also check the average and the spread.
In this Webots experiment, the distance from the Supervisor matched in all five runs under the same conditions and was 0.160% shorter than expected. When the run time went from 5.0 seconds to 10.0 seconds, the slope of the graph also doubled. The distance estimated from the encoders, on the other hand, showed a small spread: 0.13 mm at 4.0 rad/s. To compare results correctly later, record the measurement method as well.
PH AI Works is based in Manila, Philippines, and helps small and mid-sized businesses with AI adoption, business automation and web development. If you want to test robots or AI before adopting them, or build a system to manage measurement data, book a free consultation.
References
About the author

Founder / AI Engineer (36+ years in IT)
- ●From Tokyo · based in Manila for 13+ years
- ●36+ years in IT (development, SEO, AI)
- ●Google Certified AI Professional
- ●IBM Certified Generative AI Engineer
- ●AI chatbots, RAG & AI agent development
- ●Physical AI Engineer
A Japanese AI engineer with 36+ years in IT and 13+ years on the ground in the Philippines. I write from hands-on experience to help Japanese companies adopt AI that actually delivers results — chatbots, workflow automation, AI agents, and AI-driven marketing. Feel free to reach out in Japanese or English.
Your Competitors Are Already Using AI!
Is your business keeping up?
Related Articles

Robot Motion in Functions and Graphs: Tested in Webots
See how robot wheel motion fits proportional, inverse, linear, quadratic, exponential and log functions, and how each held up in our e-puck tests in Webots.
11/24/2026

Webots Simulation Tutorial: Basics and Ground Truth Checks
Learn the basics of a Webots simulation: worlds, robots, controllers, time steps, sensors and Supervisor, and how I test wheel odometry against the true values.
11/24/2026

Robot Math Equations: 8 High School Topics Tested in Webots
Moving a robot precisely comes down to rearranging high school equations. Learn 8 math topics using position, speed and time, with real results from Webots.
11/17/2026

Robot Units Explained: Radians, Torque and Power
Learn the units in robot spec sheets: m/s, radians, rad/s, torque in N·m and power in W, with worked examples and a robot simulator test.
11/16/2026

Robot Experiment Basics: 5 Things to Decide Before You Start
Before a robot experiment, decide five things: your prediction, the one thing you will change, what to record, success criteria and how many times to run it.
11/16/2026
