Skip to content

Bang Bang Trajectory Generation#3

Merged
nickwitten merged 6 commits intomainfrom
dev/nick/bangbang
Feb 28, 2026
Merged

Bang Bang Trajectory Generation#3
nickwitten merged 6 commits intomainfrom
dev/nick/bangbang

Conversation

@nickwitten
Copy link
Copy Markdown
Contributor

Bang Bang Trajectory Generation

Comment thread package.xml Outdated
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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.

Comment thread analysis/src/bin/trajectory_gen.rs Outdated
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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!

@nickwitten nickwitten merged commit 3f7a3e4 into main Feb 28, 2026
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