Skip to content

Conversation

pjreiniger
Copy link
Contributor

@pjreiniger pjreiniger commented Aug 20, 2025

  • wpimath had two packages missing from the update-init section
  • DifferentialDriveFeedforward.yml had no package set. It was the only file in the controls package without it
  • wpimath_test is not in the subproject list, so the ./rdev.sh update-yaml does not run on it. I only ran the tool, I don't think it needs to be treated as a subproject, but I'll leave that up to you.
  • Similar to Fix HAL dependencies #185, wpimath_test did not explicitly define a dependency on wpimath. It was just always installed by the time it was built here.
  • allwpilib builds with warnings as errors. While I do suppress some extra ones, the only time a comparing a signed and unsigned value would happen is in manually written code, which is what happens in Color.yml. Doing this explicit cast should behave identically.

Note I found these on 2027 and backported it to main

^ (std::hash<double>{}(self->blue) << 2)
);
return h != -1 ? h : -2;
return h != static_cast<size_t>(-1) ? h : -2;
Copy link
Member

Choose a reason for hiding this comment

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

My bad. Now I wonder if pybind11 handles this pitfall for you.

@virtuald virtuald merged commit a4ecaca into robotpy:main Aug 21, 2025
41 checks passed
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.

3 participants