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

Scala-Robotics-Simulator / PPS-22-srs / #425
66%

Build:
DEFAULT BRANCH: main
Ran 28 Aug 2025 02:28PM UTC
Jobs 1
Files 113
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2025 02:24PM UTC coverage: 47.411% (+0.5%) from 46.919%
#425

push

github

web-flow
feat(obstacleAvoidance): implement obstacle avoidance behavior in policy (#67)

* feat(obstacleAvoidance): implement obstacle avoidance behavior in policy

* fix: sensor pointing direction

* chore(sensor-readings): add utility functions to extract prox and light sensors

* chore: use readings utility methods in collision avoidance

* refactor(policy): simplify behavior decision logic and remove unused methods

* feat(randomWalk): implement random walk behavior with speed and turning logic

# Conflicts:
#	src/main/scala/io/github/srs/utils/SimulationDefaults.scala

* feat(obstacleAvoidance): implement obstacle avoidance behavior with sensor integration

* refactor(MovementAction): replace minSpeed and maxSpeed with MinSpeed and MaxSpeed constants

* feat(alwaysForwardBehavior): add AlwaysForwardBehavior with decision logic

* feat(obstacleAvoidance): add speed constants for obstacle avoidance behavior

* feat(alwaysForwardBehavior): enhance decision logic and add utility functions for movement actions

* refactor(randomWalkBehavior): enhance doc and improve code formatting

* feat(obstacleAvoidance): enhance decision logic and add operational phases for obstacle avoidance

* refactor(obstacleAvoidance): code formatting and import statements

* fix: update obstacle avoidance to avoid more obstacles

* fix: negative wheels speed check

* feat: add sensor readings visualization

* chore: update default robot size and sensor range

---------

Co-authored-by: sceredi <ceredi.simone.iti@gmail.com>
Co-authored-by: David Cohen <david.cohen@studio.unibo.it>
Co-authored-by: Simone Ceredi <57034077+sceredi@users.noreply.github.com>

67 of 93 new or added lines in 10 files covered. (72.04%)

2 existing lines in 1 file now uncovered.

1282 of 2704 relevant lines covered (47.41%)

6.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
66.67
src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/behaviors/AlwaysForwardBehavior.scala
1
88.89
src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/behaviors/BehaviorCommon.scala
1
94.44
src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/behaviors/ObstacleAvoidanceBehavior.scala
1
57.32
2.53% src/main/scala/io/github/srs/utils/SimulationDefaults.scala
2
50.0
src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/behaviors/RandomWalkBehavior.scala
3
50.0
-38.24% src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/Policy.scala
4
80.39
-1.0% src/main/scala/io/github/srs/model/entity/dynamicentity/sensor/Sensor.scala
13
0.0
0.0% src/main/scala/io/github/srs/view/components/simulation/SimulationCanvas.scala

Uncovered Existing Lines

Lines Coverage ∆ File
2
50.0
-38.24% src/main/scala/io/github/srs/model/entity/dynamicentity/behavior/Policy.scala
Jobs
ID Job ID Ran Files Coverage
1 #425.1 28 Aug 2025 02:28PM UTC 113
47.41
Source Files on build #425
  • Tree
  • List 113
  • Changed 8
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bc8e3a24 on github
  • Prev Build on main
  • Next Build on main
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