Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix backslashes in arkitscene rigid transformation path #1938

Merged
merged 2 commits into from
Apr 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/python/arkitscenes/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import argparse
import json
import os
from pathlib import Path
from pathlib import Path, PosixPath
from typing import Any, Dict, List, Tuple

import cv2
Expand Down Expand Up @@ -251,7 +251,7 @@ def log_camera(

rr.log_rigid3(
# pathlib makes it easy to get the parent, but log_rigid requires a string
str(Path(entity_id).parent),
str(PosixPath(entity_id).parent),
child_from_parent=camera_from_world,
xyz="RDF", # X=Right, Y=Down, Z=Forward
)
Expand Down