mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-07 21:37:46 +08:00
docs: add examples for modifying launch parameters in English and Chinese documentation
This commit is contained in:
@@ -24,6 +24,12 @@ Launch parameters can be modified in two ways:
|
||||
|
||||
This is useful when you want a setting to become a long-term default, such as a fixed resolution, frame rate, camera name, or synchronization mode. Device launch files are located in [orbbec_camera/launch](https://github.com/orbbec/OrbbecSDK_ROS2/tree/v2-main/orbbec_camera/launch). Choose the `*.launch.py` file that matches your camera model.
|
||||
|
||||
For example, modify the default camera name to `camera_02`:
|
||||
|
||||
```python
|
||||
DeclareLaunchArgument('camera_name', default_value='camera_02')
|
||||
```
|
||||
|
||||
If you build from source and do not use `--symlink-install`, you usually need to rebuild the workspace and source it again after modifying a launch file:
|
||||
|
||||
```bash
|
||||
@@ -49,7 +55,7 @@ The following are the launch parameters available:
|
||||
* **`device_preset`**
|
||||
* The default value is determined by the launch file. See [predefined presets](../5_advanced_guide/configuration/predefined_presets.md) for available presets and recommended scenarios. You can use the following command to view the configurable modes; the tool also prints the preset list and preset version information.
|
||||
```bash
|
||||
ros2 run orbbec_camera list_camera_profile_mode_node
|
||||
ros2 run orbbec_camera list_devices_node
|
||||
```
|
||||
* **`[color|depth|left_ir|right_ir|ir]_[width|height|fps|format]`**
|
||||
* The resolution and frame rate of the sensor stream.
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
This document lists available presets, features, and recommended scenarios by product. Please select a preset name that matches the product model and set it as the value of the `device_preset` parameter.
|
||||
|
||||
For example, modify the default device preset to `High Accuracy` in the launch file:
|
||||
|
||||
```python
|
||||
DeclareLaunchArgument('device_preset', default_value='High Accuracy')
|
||||
```
|
||||
|
||||
## Gemini 330 / Gemini 330L / Gemini 335 / Gemini 335L
|
||||
|
||||
| Defaults | Features | Recommended usage scenarios |
|
||||
@@ -73,4 +79,4 @@ Please set `config_file_path` to `gemini305_dual_color.yaml`, the configuration
|
||||
|
||||
| Defaults | Features | Recommended usage scenarios |
|
||||
| --- | --- | --- |
|
||||
| G336X AMR Default | Optimized for reliable depth performance in sunlit and repetitively textured warehouse scenes<br> Recommended depth resolutions: 1280x800 / 640x400 / 424x266 | Warehouse AMRs |
|
||||
| G336X AMR Default | Optimized for reliable depth performance in sunlit and repetitively textured warehouse scenes<br> Recommended depth resolutions: 1280x800 / 640x400 / 424x266 | Warehouse AMRs |
|
||||
|
||||
Reference in New Issue
Block a user