Skip to content
#

hal

Here are 403 public repositories matching this topic...

calcmogul
calcmogul commented May 31, 2022

The C++ version of TimeInterpolatableBuffer uses std::vector<std::pair<units::second_t, T>> for internal storage. The vector in is sorted for binary search, but old elements are removed from the front, which causes a copy cascade.Using wpi::DenseMap<units::second_t, T> instead would avoid the extra copies and have the same access time complexity.

Normally, using a map here would make the me

good first issue component: wpimath
johnnyegel
johnnyegel commented Nov 17, 2020

All examples seems to put all code in the main() function, and demonstrate some static condition happening once. However, this does not reflect any real use cases, and I struggle really hard to implement anything actually useful using the HAL (unless of course I would put all logic into the main() function). There should be some examples which shows actual useful use-cases, and not just PoCs.

good first issue

Improve this page

Add a description, image, and links to the hal topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hal topic, visit your repo's landing page and select "manage topics."

Learn more