Skip to content

Conversation

notoriaga
Copy link
Contributor

No description provided.

pub(crate) const VERT_ACC: &str = "Vert Acc [m]";
pub(crate) const POS_FLAGS: &str = "Pos Flags";
pub(crate) const INS_USED: &str = "INS Used";
pub(crate) const INS_USED: &str = "INS Used [true/false]";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went with lowercase here because that's how the values show up in the table

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah this was not actually a request to make the units display, I apologize. This was a request to make the lowercase true/false show up capitalized in the table. 😬 my bad

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh I see, makes sense. I imagine that's how it appears everywhere because thats how rust formats bools, I can change them all

pub(crate) const ROLL_ACC: &str = "Roll Acc [°]";
pub(crate) const PITCH_ACC: &str = "Pitch Acc [°]";
pub(crate) const YAW_ACC: &str = "Yaw Acc [°]";
pub(crate) const COV_N_N: &str = "LLH Cov N-N [m^2]";
Copy link
Contributor Author

@notoriaga notoriaga Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LLH Cov units from here -
Screenshot from 2021-12-16 11-41-52

pub(crate) const VEL_E: &str = "Vel. E [m/s]";
pub(crate) const VEL_D: &str = "Vel. D [m/s]";
pub(crate) const VEL_FLAGS: &str = "Vel. Flags";
pub(crate) const PDOP: &str = "PDOP";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell PDOP etc. seem to be unitless values? - https://en.wikipedia.org/wiki/Dilution_of_precision_(navigation). So not sure what to put there

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you are correct.

if (msg.flags & 0x07) != 0 {
self.table.insert(
ROLL,
format!("{: >6.2} deg", ((msg.roll as f64) * UDEG2DEG)),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed all the degs because the unit ([°]) was added to the left column

@notoriaga
Copy link
Contributor Author

The ticket also mentioned adding seconds to TOW, but skipped that one because isn't TOW by definition the number of seconds into the GPS week? Happy to add it, just seemed redundant

pub(crate) const ROLL: &str = "Roll [°]";
pub(crate) const PITCH: &str = "Pitch [°]";
pub(crate) const YAW: &str = "Yaw [°]";
pub(crate) const ROLL_ACC: &str = "Roll Acc [°]";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to merge these Roll (Acc) pitch/yaw like we did for the bobcat release:
https://github.com/swift-nav/piksi_tools/blob/2e0cb4d24d583c6fb3eabf66cbc125a3c01f26c5/piksi_tools/console/solution_view.py#L600
It never made it into the new console; however, I'm not sure how the units should be appended. I guess just do what ever looks better and we can change it later if needed. Sorry for the confusion

Copy link
Contributor Author

@notoriaga notoriaga Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh right, well I have it like this currently (truncated the fields to match the old console) Speaking of I'm guessing we're gonna want to truncate LLH fields, but they aren't in the old console so not sure what to cut it off at
image

@john-michaelburke
Copy link
Collaborator

john-michaelburke commented Dec 16, 2021

The ticket also mentioned adding seconds to TOW, but skipped that one because isn't TOW by definition the number of seconds into the GPS week? Happy to add it, just seemed redundan

🤷‍♂️

@notoriaga notoriaga merged commit 0605cd9 into main Dec 16, 2021
@notoriaga notoriaga deleted the steve/cpp-447 branch December 16, 2021 22:04
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.

2 participants