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

Prettier printing for RotABC #292

Open
KronosTheLate opened this issue Mar 22, 2024 · 0 comments
Open

Prettier printing for RotABC #292

KronosTheLate opened this issue Mar 22, 2024 · 0 comments

Comments

@KronosTheLate
Copy link

The current printing of a RotXYZ is not the best:

julia> RotXYZ(deg2rad.((10, 20, 30))...)
3×3 RotXYZ{Float64} with indices SOneTo(3)×SOneTo(3)(0.174533, 0.349066, 0.523599):
  0.813798  -0.469846   0.34202
  0.543838   0.823173  -0.163176
 -0.204874   0.318796   0.925417

My concrete issue is the first line: 3×3 RotXYZ{Float64} with indices SOneTo(3)×SOneTo(3)(0.174533, 0.349066, 0.523599):. I find it provides too much information, and the interesting information (the angles) are not clearly angles. I would suggest something along the lines of:

julia> RotXYZ(deg2rad.((10, 20, 30))...)
3×3 RotXYZ{Float64} with angles in radians = (0.174533, 0.349066, 0.523599):
  0.813798  -0.469846   0.34202
  0.543838   0.823173  -0.163176
 -0.204874   0.318796   0.925417
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

No branches or pull requests

1 participant