Skip to content

example: drive grl_snam_austin_drive's chase camera through the C++ Track controller - #46

Draft
transfix wants to merge 1 commit into
masterfrom
feat/chase-camera-native
Draft

transfix wants to merge 1 commit into
masterfrom
feat/chase-camera-native

Conversation

@transfix

Copy link
Copy Markdown
Owner

Swap from pycvc_gl.camera import ChaseCamera for NativeChaseCamera as ChaseCamera in scripts/examples/grl_snam_austin_drive.py, so this example runs
the SAME follow-camera as C++ instead of the parallel pure-Python implementation
(the unification from libcvc #381 / #391). Matches the grl-snam demo migration
(CVC-Lab/GRL-SNAM#81, CVC-DBG/grl-snam-dbg#82).

Pure drop-in: NativeChaseCamera has the identical constructor and
update(pos, dt) -> (eye, target, up) contract (the example only calls update), and
libcvc's cvcgl_track_parity (C++, 7.1e-15) and test_pycvc_gl_chase_parity (Python)
prove it returns the same pose as the pure-Python ChaseCamera. Behaviour is
unchanged.

NOTE: merge only once a pycvc-gl package that ships NativeChaseCamera (built
against a cvcGL with #381's push-feed: feedTrackTarget/get_pose) is installed —
the currently-installed pycvc_gl extension predates it. Prepared, not merged.

…rack controller

Swap `from pycvc_gl.camera import ChaseCamera` for `NativeChaseCamera as
ChaseCamera` in scripts/examples/grl_snam_austin_drive.py, so this example runs
the SAME follow-camera as C++ instead of the parallel pure-Python implementation
(the unification from libcvc #381 / #391). Matches the grl-snam demo migration
(CVC-Lab/GRL-SNAM#81, CVC-DBG/grl-snam-dbg#82).

Pure drop-in: NativeChaseCamera has the identical constructor and
update(pos, dt) -> (eye, target, up) contract (the example only calls update), and
libcvc's cvcgl_track_parity (C++, 7.1e-15) and test_pycvc_gl_chase_parity (Python)
prove it returns the same pose as the pure-Python ChaseCamera. Behaviour is
unchanged.

NOTE: merge only once a pycvc-gl package that ships NativeChaseCamera (built
against a cvcGL with #381's push-feed: feedTrackTarget/get_pose) is installed —
the currently-installed pycvc_gl extension predates it. Prepared, not merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant