Skip to content

Conversation

@nicholaspalomo
Copy link
Owner

@nicholaspalomo nicholaspalomo commented Mar 22, 2025

Adds the DRC Atlas model to the project.

To run:

  • Pull and build the container.
  • Run: make launch-drc-atlas-dummy-sim

@nicholaspalomo nicholaspalomo self-assigned this Mar 24, 2025
@nicholaspalomo nicholaspalomo marked this pull request as ready for review April 1, 2025 04:02
@nicholaspalomo nicholaspalomo changed the title Drc atlas Drc Atlas Apr 1, 2025
std::vector<size_t> mpcModelJointIndices;
mpcModelJointIndices.reserve(mpcModelJointNames.size());
for (size_t i = 0; i < mpcModelJointNames.size(); ++i) {
CHECK(fullJointIndexMap.find(mpcModelJointNames[i]) != fullJointIndexMap.end())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice! Like the check!

Copy link
Collaborator

@manumerous manumerous left a comment

Choose a reason for hiding this comment

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

Awesome! Looks great overall. Would be great if we could quickly adjust the formatting and then merge. :)

*/

static std::unordered_map<std::string, size_t> createJointIndexMap(const std::vector<std::string>& jointNames, size_t offset = 0) {
static std::unordered_map<std::string, size_t>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should enforce some formatting on the repo. I think we use an almoust identical formatter. I sticked with the ocs2 one. Would you mind reformatting with?

"clang-format.style": "{ BasedOnStyle: Google, ColumnLimit: 140, IndentWidth: 2, BreakBeforeBraces: Attach, DerivePointerAlignment: false, PointerAlignment: Left, AllowShortFunctionsOnASingleLine: Inline, IncludeBlocks: Preserve, BinPackParameters: false}",

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