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

Cannot engage CARMA vehicle when the cyclone_config parameters are added for ROS2 containers #1988

Closed
1 of 3 tasks
dan-du-car opened this issue Dec 12, 2022 · 2 comments
Closed
1 of 3 tasks
Labels
anomaly Something isn't working Severity 1 Critical fault in a mission essential capability

Comments

@dan-du-car
Copy link
Contributor

dan-du-car commented Dec 12, 2022

Types of Issue

  • Anomaly report (something appears to not work correctly)
  • Enhancement request (describe the enhancement being requested)
  • Other (please ensure the description clarifies why the issue doesn’t fall into either of the above categories)

Descriptive summary

During the WFD tool testing, Telematic vehicle unit running in a separate PC needs to communicate with CARMA platform running on Spectra PC. To ensure the ROS2 nodes in those two PCs communicate with each other, the cycloneDDS config parameters usdot-fhwa-stol/carma-config#216 are added to all the ROS2 containers: platform_ros2, ros1_bridge, other divers that use ROS2, telematic vehicle ROS2 Bridge. The Telematic ROS2 bridge was able to get all the available ROS2 topics from Platform and stream data from those topics. However, when login to the carma_web_ui to engage the vehicle, the UI engage button stays grey. Checked the /guidance/state topic, the state value equals to 2 which means system_ready. Normally the UI engage button turns green when the state value = 2. The below image is the issue screenshot:
IMG_6394

Remove the cyclone config parameters from the Platform ROS2 containers. The UI engage button turns green when the state = 2, and can engage the vehicle. However, without the cyclone config the Telematic ROS2 bridge cannot subscribe to the Platform ROS2 topics.

Carma version where this issue was discovered

v4.2.0

Expected behavior

Telematic ROS2 bridge can subscribe to ROS2 topics and the vehicle can also engage

Actual behavior

Telematic ROS2 bridge can subscribe to ROS2 topics but the vehicle cannot engage

Steps to reproduce the actual behavior

NA

Related work

@dan-du-car dan-du-car added anomaly Something isn't working CARMA Support Used to highlight issues submitted by third parties labels Dec 12, 2022
@msmcconnell msmcconnell added Severity 1 Critical fault in a mission essential capability and removed CARMA Support Used to highlight issues submitted by third parties labels Dec 13, 2022
@afrye51
Copy link
Contributor

afrye51 commented Dec 21, 2022

Resolved. Some ros2 containers did not have /opt/carma/maps volume mapped, so they did not have the cyclone configuration file. When this volume is added, carma is able to engage successfully.

@afrye51 afrye51 closed this as completed Dec 21, 2022
@maefromm
Copy link
Contributor

@afrye51 please attach the PRs associated to this change that you/anish did to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anomaly Something isn't working Severity 1 Critical fault in a mission essential capability
Projects
None yet
Development

No branches or pull requests

4 participants