B1ueber2y · GitHub

@B1ueber2y

Copy link Copy Markdown

Contributor

No description provided.

@B1ueber2y

Merged

@ahojnnes

Copy link Copy Markdown

Contributor

nit: For averaging the unit vectors, you could consider removing the template and moving the implementation to the cc file by taking a MatrixXd or vector of VectorXd.

ahojnnes

@B1ueber2y

@B1ueber2y

Copy link Copy Markdown

Contributor Author

@B1ueber2y

Copy link Copy Markdown

Contributor Author

cr.

Done: 7446a0a. PTAL : )

I m not sure if this is the best way since this will incur copying at AverageDirections. Let me know if we want to revert this change.

@ahojnnes

Copy link Copy Markdown

Contributor

LGTM. Now that we have a matrix and if we also take the weights as an eigen vector, we could probably rewrite the for loops with pure Eigen expressions.

@B1ueber2y

Copy link Copy Markdown

Contributor Author

LGTM. Now that we have a matrix and if we also take the weights as an eigen vector, we could probably rewrite the for loops with pure Eigen expressions.

Nice idea! This is done: f0817c4

@ahojnnes

@B1ueber2y

B1ueber2y deleted the tmp/migrate_gravity_to_colmap branch

December 25, 2025 20:05

Closed

Read the original on github.com ↗