Skip to content

Commit

Permalink
enable motion_computation by default for vru use case (#334)
Browse files Browse the repository at this point in the history
<!-- Thanks for the contribution, this is awesome. -->

# PR Details
## Description
Supports
usdot-fhwa-stol/carma-platform#2351

<!--- Describe your changes in detail -->

## Related Issue

<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context
https://usdot-carma.atlassian.net/browse/CDAR-883
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] 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:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] 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.
[CARMA Contributing
Guide](https://github.com/usdot-fhwa-stol/carma-platform/blob/develop/Contributing.md)
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
  • Loading branch information
MishkaMN authored Apr 3, 2024
1 parent a16a2f0 commit 8fef003
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Time between predicted states in seconds
prediction_time_step: 0.2

# Period of prediction in seconds
prediction_period: 10.0

# CV Model X-Axis Acceleration Noise
cv_x_accel_noise: 9.0

# CV Model Y-Axis Acceleration Noise
cv_y_accel_noise: 9.0

# Maximum expected process noise. Used for mapping noise to confidence in [0,1] range
prediction_process_noise_max: 1000.0

# Percentage of initial confidence to propagate to next time step
prediction_confidence_drop_rate: 0.95

# Boolean: If true then BSM messages will be converted to ExternalObjects.
# If other object sources are enabled, they will be synchronized but no fusion will occur (objects may be duplicated)
enable_bsm_processing: false

# Boolean: If true then PSM messages will be converted to ExternalObjects.
# If other object sources are enabled, they will be synchronized but no fusion will occur (objects may be duplicated)
enable_psm_processing: false

# Boolean: If true then MobilityPath messages will be converted to ExternalObjects.
# If other object sources are enabled, they will be synchronized but no fusion will occur (objects may be duplicated)
enable_mobility_path_processing: false

# Boolean: If true then ExternalObjects generated from sensor data will be processed.
# If other object sources are enabled, they will be synchronized but no fusion will occur (objects may be duplicated)
enable_sensor_processing: true
1 change: 1 addition & 0 deletions ail_vru_uc1_scenario/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ services:
- ./carma-platform/inlanecruising_plugin/parameters.yaml:/opt/carma/install_ros2/inlanecruising_plugin/share/inlanecruising_plugin/config/parameters.yaml
- ./carma-platform/yield_plugin/parameters.yaml:/opt/carma/install_ros2/yield_plugin/share/yield_plugin/config/parameters.yaml
- ./carma-platform/lci_strategic_plugin/parameters.yaml:/opt/carma/install_ros2/lci_strategic_plugin/share/lci_strategic_plugin/config/parameters.yaml
- ./carma-platform/motion_computation/parameters.yaml:/opt/carma/install_ros2/motion_computation/share/motion_computation/config/parameters.yaml
command: >
bash -c 'export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
&& source /opt/carma/install_ros2/setup.bash
Expand Down

0 comments on commit 8fef003

Please sign in to comment.