• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Scala-Robotics-Simulator / PPS-22-srs / #358

23 Aug 2025 10:18AM UTC coverage: 58.131% (+0.4%) from 57.73%
#358

Pull #55

github

sceredi
chore: remove print
Pull Request #55: fix: move illumination caching to simulation state

10 of 27 new or added lines in 11 files covered. (37.04%)

13 existing lines in 6 files now uncovered.

1126 of 1937 relevant lines covered (58.13%)

8.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/scala/io/github/srs/controller/protocol/Event.scala
1
package io.github.srs.controller.protocol
2

3
import scala.concurrent.duration.FiniteDuration
4

5
import io.github.srs.controller.message.RobotProposal
6
import io.github.srs.model.SimulationConfig.SimulationSpeed
7
import io.github.srs.utils.random.RNG
8

9
/**
10
 * Protocol defining the events that can occur in the simulation.
11
 */
12
enum Event:
13
  /**
×
14
   * Event indicating the simulation has stopped.
15
   */
16
  case Stop
17

×
18
  /**
19
   * Event indicating the simulation is paused.
20
   */
21
  case Pause
22

×
23
  /**
24
   * Event indicating the simulation has resumed.
25
   */
26
  case Resume
27

×
28
  /**
29
   * Event representing a tick in the simulation with a specified time delta.
30
   * @param delta
31
   *   the time duration for the tick.
32
   */
33
  case Tick(delta: FiniteDuration)
34

×
35
  /**
36
   * Event representing a change in the simulation speed.
37
   * @param speed
38
   *   the new [[SimulationSpeed]].
39
   */
40
  case TickSpeed(speed: SimulationSpeed)
41

×
42
  /**
43
   * Event representing a random event in the simulation.
44
   * @param rng
45
   *   the random number generator [[RNG]] used for the event.
46
   */
47
  case Random(rng: RNG)
48

×
49
  /**
50
   * Event representing a proposal for robot actions.
51
   * @param proposals
52
   *   the list of [[RobotProposal]] to be processed.
53
   */
54
  case RobotActionProposals(proposals: List[RobotProposal])
NEW
55

×
56
  case UpdateLightField
UNCOV
57
end Event
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc