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

bdaiinstitute / spot_ros2 / 7787094443
40%

Build:
DEFAULT BRANCH: main
Ran 05 Feb 2024 03:52PM UTC
Jobs 1
Files 52
Run time 6s
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

05 Feb 2024 03:46PM UTC coverage: 22.193% (+0.04%) from 22.152%
7787094443

push

github

web-flow
[SW-632] Check config file path exists in spot_ros2 (#246)

## Change Overview
The goal of this PR is to check if the `config_file` launch argument for `spot_driver.launch.py` has been set, and if so, checks if it is a valid path. If this file is not valid, an exception is thrown. This happens before any nodes get launched so that there is no chance of partially launched "zombie nodes". 
## Testing Done
I tested by running the spot driver with a physical Spot, passing in a nonexistent config file path. In this case the driver exits before any nodes get launched. If the config file was a real file, or if no config file was passed in (for example, if the user chooses to set parameters through environment variables instead) the behavior is unchanged. 
Example of the failure state:
```
$ ros2 launch spot_driver spot_driver.launch.py config_file:=notarealfile.yaml
[INFO] [launch]: All log files can be found below /home/khughes/.ros/log/2024-01-31-10-17-41-390265-khughes-LT-900652
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Configuration file 'notarealfile.yaml' does not exist!
$ 
```

377 of 3344 branches covered (0.0%)

Branch coverage included in aggregate %.

5348 of 22453 relevant lines covered (23.82%)

0.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unittests - 7787094443.1 05 Feb 2024 03:52PM UTC 0
22.18
GitHub Action Run
Source Files on build 7787094443
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7787094443
  • 2a624f9f on github
  • Prev Build on main (#7758728852)
  • Next Build on main (#7802269155)
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