Skip to content

Conversation

@nickwitten
Copy link

Bang Bang Trajectory Generation

package.xml Outdated
Copy link
Contributor

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.

Copy link
Author

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.

Copy link
Contributor

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?

Copy link
Author

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.

Copy link
Contributor

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.

Copy link
Author

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.

Copy link
Author

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.

@guyfleeman
Copy link
Contributor

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.

@nickwitten nickwitten marked this pull request as ready for review December 23, 2025 16:50
@nickwitten
Copy link
Author

nickwitten commented Dec 23, 2025

@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!

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