Design Analysis Tool

Code behind image above:

celerate(4, 0, 25, 3);
motorSpeed(4, 25);
motorSpeed(4, 25);

According to the code written for the data analysis tool, the graph was sectioned off into parts with the following explanation:

  1. All motors accelerated to speed 25 in 3 seconds.
  2. The motors continued for 1 second with code. The speed was set to speed 25 and continued for 2 seconds. Since the code was already at speed 25, the graph displays a continuation 3 seconds.
  3. The motors direction was immediately reversed which required a lot of power.
  4. The motors continued to run for 2 seconds.
  5. The motors stopped running completely and 0 watts of power was used.