Skip to content
Snippets Groups Projects
Commit 5cf7baf4 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

add poses to poser

parent 79f6c482
Branches feature/poses
No related tags found
1 merge request!336WIP: save/load poses from file
Pipeline #29220 failed
......@@ -38,6 +38,9 @@ void Camera::init() {
try {
ftl::file::unpack(file::config_dir() / "poses.bin", poses_);
for (const auto& pose : poses_) {
ftl::operators::Poser::add(pose, frame_id_);
}
LOG(INFO) << "Poses loaded from file (" << poses_.size() << " items)";
}
catch (msgpack::insufficient_bytes&) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment