Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix invalid condition #256

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

MishkaMN
Copy link

@MishkaMN MishkaMN commented Oct 17, 2023

PR Details

Description

Supports usdot-fhwa-stol/carma-platform#2179
The assumption being used here is wrong where if there is only 1 signal_state in SPAT, that signal continues in perpetuity. The signal in fact changes after this single state. If the requested time is further in time than the states available, the function should return RED.

Related GitHub Issue

usdot-fhwa-stol/carma-platform#2180

Related Jira Key

CDAR-125

Motivation and Context

See above

How Has This Been Tested?

Tested in cdasim

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@saina-ramyar saina-ramyar merged commit d56a5b7 into carma-develop Oct 17, 2023
1 check passed
@MishkaMN MishkaMN deleted the feature/update-spat-to-new-spec branch October 18, 2023 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants