Skip to content

Navigator benchmark framework - #47

Open
mifrandir wants to merge 23 commits into
masterfrom
navigation/navigator-benchmarker
Open

Navigator benchmark framework#47
mifrandir wants to merge 23 commits into
masterfrom
navigation/navigator-benchmarker

Conversation

@mifrandir

Copy link
Copy Markdown
Member

No description provided.

@maxguy2001 maxguy2001 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like nav team is gonna have some good fun this year!

Comment thread lib/navigation/benchmark/benchmark.cpp Outdated
Comment thread lib/core/time.hpp Outdated
Comment thread lib/core/types.hpp Outdated
Comment thread lib/navigation/benchmark/benchmark.hpp
Comment thread lib/navigation/preprocess_imu.hpp Outdated
Comment thread lib/navigation/types.hpp Outdated

@maxguy2001 maxguy2001 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I really like this! The only functionality I think it's maybe missing is something to report what sensors "failed" (became classified as unreliable) and when as this feels like another important metric to use when comparing/benchmarking navigation algorithms?

Comment thread lib/core/time.cpp
Comment thread lib/navigation/benchmark/benchmark.cpp
Comment thread lib/navigation/benchmark/data.cpp Outdated
@mifrandir

Copy link
Copy Markdown
Member Author

Some tests are a bit iffy still... should be fixable, though.

@mifrandir

Copy link
Copy Markdown
Member Author

I've also fixed a plethora of bugs and just bad code along the way so we kind of want to get this merged.

Though we should pay special attention to the types because changing them around isn't fun.

In particular, I have opted to give the sensor values without timestamps no names (if possible) so that users will be forced to use the timestamped types unless they want to spell out the whole thing.

Comment on lines +61 to +63
virtual core::Result configure();
virtual std::optional<core::Measurement<core::RawAcceleration>> read();
virtual std::uint8_t getChannel() const;

@ishmis ishmis Feb 8, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think there are plenty methods currently in derived classes that omit virtual. dont think it changes anything if we omit it or not? but reckon we should decide on the standard, im okay with adding this to derived method from now on.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I would say that we should definitely include virtual. It just makes it clearer that the signature comes from the interface.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

cool, will start enforcing this

@mifrandir
mifrandir requested a review from ishmis February 11, 2023 11:00
@ishmis ishmis mentioned this pull request Feb 11, 2023
11 tasks
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.

4 participants