-
Notifications
You must be signed in to change notification settings - Fork 0
Bang Bang Trajectory Generation #3
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
base: main
Are you sure you want to change the base?
Conversation
package.xml
Outdated
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.
Do we need / want this repo to be a ROS package? The way we're integrating it into the software repo, this is not required.
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.
Agreed, this is not necessary.
analysis/src/bin/trajectory_gen.rs
Outdated
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 expect we'll have multiple things living in the analysis folder that might not all be written in rust. Could this simulator live in a subdirectory?
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.
Yes, I still need to move it.
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.
Having started to pull this into the coach software, it'd be super cool if these types were in a namespace. These are very generic names to be unqualified type names.
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.
Ok, I expect to make some big changes still, so integrate it with caution.
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.
@barulicm do you mean I should just add AteamControls in front of the type names, or I should try to use a proper C++ namespace? It seems like it doesn't fit to use C++ features in this .h header file.
|
Maybe this won't be for this PR, but I need to give you some math to convert torques to currents. Might as well do the conversion up on the H7 where we have lots of horsepower. |
2e3da6b to
a8ce665
Compare
a8ce665 to
f29c0ff
Compare
|
@barulicm @chachmu @guyfleeman please take a look when you get some time. I organized it into commits, if that makes it easier to view. Thanks! |
Bang Bang Trajectory Generation