-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SW-1142] Add cameras_used parameter (#423)
## Change Overview Allows the user to specify the cameras they want to stream from in their config file. This can help alleviate some bandwidth problems from streaming from all cameras all the time. For example, to only stream from the frontleft, frontright, and hand cameras, you can add the following to the config yaml: ``` cameras_used: ["frontleft", "frontright", "hand"] ``` ## Testing Done - [x] when updating `cameras_used` in the config file, only those camera streams get published. - [x] default launch with no specification of `cameras_used` still publishes all camera streams - [x] stress testing with badly formed config yamls / no config file - [x] driver launches with all cameras if no config file is used - [x] if there are nonexistent cameras in the parameter `cameras_used` this logs a warning and defaults to all cameras used. This includes if the user specifies the hand camera when the robot doesn't have an arm - [x] image stitcher won't launch unless frontleft and frontright are also enabled (in addition to the launch argument `stitch_front_images` being set to true) - [x] Test that things still work as expected on Spots without arms - [x] update unit tests
- Loading branch information
1 parent
6b94802
commit 1776f68
Showing
14 changed files
with
348 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.