Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Topic/dual arm #1

Merged
merged 6 commits into from
Mar 25, 2025
Merged

Topic/dual arm #1

merged 6 commits into from
Mar 25, 2025

Conversation

Mitch722
Copy link

These are the changes we made to the hardware interface for Ros1.

The majority of the changes are made by @2b-t.

The changes we have made permit two arms to be configured meaning we can run two hardware interfaces in parallel pinned to specific cpu cores and the removal of a few heap allocations.

package.xml Outdated
@@ -11,7 +11,7 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>pinocchio</build_depend>
<!-- <build_depend>pinocchio</build_depend> -->
Copy link
Member

Choose a reason for hiding this comment

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

Why did we uncomment this? I think it should still be a dependency, right?

Copy link
Author

Choose a reason for hiding this comment

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

I wonder if this was an issue with pinocchio where it was being rebuilt every time we rebuilt this package.

I will uncomment this in the next revision.

@@ -546,6 +583,34 @@ void Gen3Robot::sendGripperVelocityCommand(const float& command)
}
}

void Gen3Robot::sendGripperEffortCommand(const float& command)
{
std::cout << "Sending gripper effort command: " << command << std::endl;
Copy link
Member

Choose a reason for hiding this comment

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

Is this output still there for a reason? Shouldn't we remove it?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, let's remove the std::cout.

@Mitch722 Mitch722 requested a review from 2b-t March 18, 2025 13:38
@Mitch722 Mitch722 merged commit 801ae6e into applied-ai-lab:main Mar 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants