set to use one camera, add Grub instructions

This commit is contained in:
Brandon Thomas committed 2021-01-16 00:25:32 -05:00
1 parent 0cd71d1626
commit 37eee321e5
2 files changed
+18 -1

No files matched your search

+17
View File
@@ -37,6 +37,23 @@ sudo apt install k4a-tools
sudo apt install libk4a1.1-dev
```
Modify this:
```
sudo sh -c 'echo 2047 > /sys/module/usbcore/parameters/usbfs_memory_mb'
```
Grub bootloader modifications:
```
sudo vi /etc/default/grub
```
Then modify this directive to add the following:
```
GRUB_CMDLINE_LINUX_DEFAULT="[KEEP EXISTING PARTS THE SAME] usbcore.usbfs_memory_mb=2047"
```
Ubuntu 20.04 LTS Support
+1 -1
View File
@@ -110,7 +110,7 @@ pub fn main() -> AnyhowResult<()> {
};
let capture_provider: Arc<dyn CaptureProvider> = if opts.enable_cameras {
let multi_device = MultiDeviceCapturer::new(2, Some(1))
let multi_device = MultiDeviceCapturer::new(1, Some(1))
.expect("multi-device create");
multi_device.start_cameras().expect("start cameras");