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/usage.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ The node accepts the following parameters:
23
23
-`recording_file` (string) : No default value. If this parameter contains a valid absolute path to a k4arecording file, the node will use the playback api with this file instead of opening a device.
24
24
-`recording_loop_enabled` (bool) : Defaults to `false`. If this parameter is set to `true`, the node will rewind the recording file to the beginning after reaching the last frame. Otherwise the node will stop working after reaching the end of the recording file.
25
25
-`body_tracking_enabled` (bool) : Defaults to `false`. If this parameter is set to `true`, the node will generate visualization_msgs::MarkerArray messages for the body tracking data. This requires that the `depth_enabled` parameter is set to `true` and an installed azure kinect body tracking sdk.
26
+
-`body_tracking_smoothing_factor` (float) : Defaults to `0.0`. Controls the temporal smoothing across frames. Set between `0` for no smoothing and `1` for full smoothing. Less smoothing will increase the responsiveness of the detected skeletons but will cause more positional and oriantational jitters.
Copy file name to clipboardExpand all lines: include/azure_kinect_ros_driver/k4a_ros_device_params.h
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@
40
40
LIST_ENTRY(recording_file, "Path to a recording file to open instead of opening a device", std::string, std::string("")) \
41
41
LIST_ENTRY(recording_loop_enabled, "True if the recording should be rewound at EOF", bool, false) \
42
42
LIST_ENTRY(body_tracking_enabled, "True if body joints should be published as a marker array message", bool, false) \
43
+
LIST_ENTRY(body_tracking_smoothing_factor, "Controls the temporal smoothing of joints across frames. Set between 0 for no smoothing and 1 for full smoothing.", float, 0.0f) \
Copy file name to clipboardExpand all lines: launch/driver.launch
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,15 @@ Licensed under the MIT License.
16
16
<argname="depth_mode"default="WFOV_UNBINNED" /> <!-- Set the depth camera mode, which affects FOV, depth range, and camera resolution. See Azure Kinect documentation for full details. Valid options: NFOV_UNBINNED, NFOV_2X2BINNED, WFOV_UNBINNED, WFOV_2X2BINNED -->
17
17
<argname="color_enabled"default="true" /> <!-- Enable or disable the color camera -->
18
18
<argname="color_resolution"default="1536P" /> <!-- Resolution at which to run the color camera. Valid options: 720P, 1080P, 1440P, 1536P, 2160P, 3072P -->
19
-
<argname="fps"default="5" /> <!-- FPS to run both cameras at. Valid options are 5, 15, and 30 -->
19
+
<argname="fps"default="5" /> <!-- FPS to run both cameras at. Valid options are 5, 15, and 30 -->
20
20
<argname="point_cloud"default="true" /> <!-- Generate a point cloud from depth data. Requires depth_enabled -->
21
21
<argname="rgb_point_cloud"default="true" /> <!-- Colorize the point cloud using the RBG camera. Requires color_enabled and depth_enabled -->
22
22
<argname="required"default="false" /> <!-- Argument which specified if the entire launch file should terminate if the node dies -->
23
23
<argname="sensor_sn"default="" /> <!-- Sensor serial number. If none provided, the first sensor will be selected -->
24
24
<argname="recording_file"default="" /> <!-- Absolute path to a mkv recording file which will be used with the playback api instead of opening a device -->
25
25
<argname="recording_loop_enabled"default="false" /> <!-- If set to true the recording file will rewind the beginning once end of file is reached -->
26
-
<argname="body_tracking_enabled"default="false" /> <!-- If set to true the joint positions will be published as marker arrays -->
26
+
<argname="body_tracking_enabled"default="false" /> <!-- If set to true the joint positions will be published as marker arrays -->
27
+
<argname="body_tracking_smoothing_factor"default="0.0" /> <!-- Set between 0 for no smoothing and 1 for full smoothing -->
0 commit comments