You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/source/camera_devices/4_application_guide/launch_parameters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ The following are the launch parameters available:
252
252
* Shared SDK and ROS node log level. By default, only current device status is printed; set it to `debug` for more debug logs. Optional values: `none`, `debug`, `info`, `warn`, `error`, `fatal`.
253
253
* SDK logs and crash files are saved to `~/.ros/Log` by default. ROS logs remain in `~/.ros/log`.
254
254
* **`log_file_name`**
255
-
* Saved SDK log file name. Effective when `log_level` is `debug`.
255
+
* Saved SDK log file name. Effective when `log_level` is `debug`; the actual path is usually `~/.ros/Log/<camera_name>/<log_file_name>`.
256
256
* **`enable_firmware_log`**
257
257
* Enable firmware logging. This switch is independent from `enable_heartbeat` and can be enabled only when firmware logs are needed.
Copy file name to clipboardExpand all lines: docs/en/source/camera_devices/8_FAQ/FAQ.md
+12-19Lines changed: 12 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### Unexpected Crash
4
4
5
-
If the camera node crashes unexpectedly, it will generate a crash log in the current running directory: `Log/camera_crash_stack_trace_xx.log`. Please send this log to the support team or submit it to a GitHub issue for further assistance.
5
+
If the camera node crashes unexpectedly, it will generate a crash log under `~/.ros/Log/<camera_name>/`, with a file name similar to `camera_name_crash_stack_trace_xx.log`. Please send this log to the support team or submit it to a GitHub issue for further assistance.
6
6
7
7
### No Data Stream from Multiple Cameras
8
8
@@ -29,8 +29,10 @@ If the camera node crashes unexpectedly, it will generate a crash log in the cur
29
29
30
30
**1. SDK debug logs**
31
31
32
-
Set the launch parameter `log_level` to `debug`. After running, the SDK will generate log files in the `Log/` folder under the current working directory. If you want a more recognizable file name for this test, you can set the parameter `log_file_name`.
32
+
Set the launch parameter `log_level` to `debug`. After running, the SDK will generate log files under `~/.ros/Log/<camera_name>/`. If you want a more recognizable file name for this test, you can set the parameter `log_file_name`.
33
33
34
+
- The actual SDK log file path is usually `~/.ros/Log/<camera_name>/<log_file_name>`.
35
+
- In multi-camera setups, SDK logs are separated by `camera_name`, for example `~/.ros/Log/camera_01/camera_01.log` and `~/.ros/Log/camera_02/camera_02.log`.
34
36
- SDK logs are appended to the same file: multiple launches will continue writing into the same log file.
35
37
- Recommendation: before packaging logs to send to technical support, delete old log files, then reproduce the issue and collect new logs. This keeps the logs cleaner and makes troubleshooting more accurate.
36
38
@@ -39,21 +41,14 @@ Set the launch parameter `log_level` to `debug`. After running, the SDK will gen
39
41
In the launch file, set the node (or composable node container) parameter `output` to `"log"` to save ROS 2 logs locally.
40
42
41
43
- After setting `output="log"`, ROS 2 logs will be stored in the `~/.ros/log/` directory.
42
-
- When submitting an issue, please package both the SDK logs under the `Log/` directory and the corresponding ROS 2 logs under `~/.ros/log/` for the same time period.
- Each `ros2 launch` run creates a timestamped directory under `~/.ros/log/` containing `launch.log`, and also generates process log files such as `component_container_<pid>_<timestamp>.log`.
45
+
- The difference is:
46
+
-`launch.log` contains the merged output from all camera containers.
47
+
-`component_container_<pid>_<timestamp>.log` records the runtime output of a specific container process.
48
+
- In multi-camera setups, `component_container_<pid>_<timestamp>.log` is separated by container process.
49
+
- In one-camera-per-container multi-camera launches, you can treat it as “one camera corresponds to one `component_container_*.log`”. If multiple cameras are loaded into the same container, that `component_container_*.log` will also contain logs from multiple cameras.
50
+
- To identify the exact camera, rely on the namespace or node name in the log content, for example `camera_01.camera_01` and `camera_02.camera_02`.
51
+
- When submitting an issue, please package both the SDK logs under `~/.ros/Log/` and the corresponding ROS 2 logs under `~/.ros/log/` for the same time period.
57
52
58
53
### Why Are There So Many Launch Files?
59
54
@@ -139,5 +134,3 @@ If the above methods still cannot solve the problem, please contact our company
139
134
*`Unit`: µs
140
135
141
136
If `software_trigger_period` is set too small, the trigger frequency will be limited, resulting in frame loss.
0 commit comments