I’m running a body-tracking program using two ZEDxOne stereo cameras.
I’m trying to set the initial x-position of the camera frame, from the left camera (default) to the center of the baseline between the cameras: using this code –>
// Move center position from left cam, to center of baseline = 353.413
PositionalTrackingParameters positional_tracking_parameters; sl::Transform initial_position; initial_position.setTranslation(sl::Translation(176.7065, 30, 0)); positional_tracking_parameters.initial_world_transform = initial_position;//Using the REFERENCE_FRAME::WORLD (tested CAMERA- same result)
This program compiles, but the body-tracking program still thinks the initial position is located on the left camera- what am I doing wrong?
(used this document- Coordinate Frames - Stereolabs)