Migrate Python bindings from SWIG to nanobind
This commit is contained in:
@@ -239,8 +239,9 @@ void Rpt3DWrapperNode::call_model()
|
||||
// Since the prediction is very fast, parallel callback threads only need to wait a short time
|
||||
cams_mutex.lock();
|
||||
pose_mutex.lock();
|
||||
const auto poses_3d = tri_model->triangulate_poses(
|
||||
all_poses, all_cameras, roomparams, joint_names);
|
||||
PoseBatch2D pose_batch_2d = PoseBatch2D::from_nested(all_poses);
|
||||
auto poses_3d = tri_model->triangulate_poses(
|
||||
pose_batch_2d, all_cameras, roomparams, joint_names).to_nested();
|
||||
|
||||
double min_ts = *std::min_element(all_timestamps.begin(), all_timestamps.end());
|
||||
this->all_poses_set = std::vector<bool>(cam_ids.size(), false);
|
||||
|
||||
Reference in New Issue
Block a user