-
Notifications
You must be signed in to change notification settings - Fork 18
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
Ramsetecommand implemented with Overtake and Beartype #42
base: main
Are you sure you want to change the base?
Conversation
…re tests to check for correct argument parsing in constructor
Are these failures because overtake and beartype aren't available? I based this branch from the previously successful PR where all the ci/test cases pass. I did need to separately install overtake and beartype with pip but it does work on my machine. |
If you're modifying the package to require packages to be installed, you would need to modify the requirements in setup.py to ensure that they get installed. Edit: oh, you did. Hm. |
self._prevSpeeds = DifferentialDriveWheelSpeeds() | ||
self._prevTime = -1.0 | ||
self.usePID = True | ||
# All the parameter checks pass, inform scheduler. Type ignoring is set explictitly for the linter because this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... I don't understand this comment? Shouldn't you unpack here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I keep things as they are with other commands, the '*' throws off the dispatch to the point where incorrect constructors get called, as well as mypy coming up with type errors. Basically, for me to get it to work, I had to declare the requirements explicitly as a Tuple, without unpacking since that's what addRequirements wants. Mypy was not happy with this solution, so I just type:ignore.
There is possibly a way to get it to work, but I couldn't figure it out.
No description provided.