Skip to content

Migrate: Gazebo Classic -> Harmonic#2

Open
bachzz wants to merge 21 commits intohumblefrom
humble-harmonic
Open

Migrate: Gazebo Classic -> Harmonic#2
bachzz wants to merge 21 commits intohumblefrom
humble-harmonic

Conversation

@bachzz
Copy link
Member

@bachzz bachzz commented Jun 6, 2025

No description provided.

@fabid fabid changed the base branch from humble to main June 6, 2025 08:09
@bachzz bachzz force-pushed the humble-harmonic branch from 68429ac to 1b1ca34 Compare June 6, 2025 08:13
@fabid fabid changed the base branch from main to humble June 6, 2025 08:14
@fabid
Copy link

fabid commented Jun 6, 2025

Since gazebo classic is now end of life, we can completely remove the support and mentions about it.

@bachzz
Copy link
Member Author

bachzz commented Jun 8, 2025

Current version is ready for locobot_base model, for moving around:

ros2 launch interbotix_xslocobot_sim xslocobot_gz_sim.launch.py robot_model:=locobot_base base_type:=kobuki

I'll continue verifying the arm & gripper with moveit in locobot_wx200 model (5 DoF), then we'll be able to merge.

@bachzz bachzz self-assigned this Jun 8, 2025
@bachzz
Copy link
Member Author

bachzz commented Jun 9, 2025

Current version is ready for both locobot_base and locobot_wx200 models.

For controlling arm & gripper with moveit:

ros2 launch interbotix_xslocobot_moveit xslocobot_moveit.launch.py robot_model:=locobot_wx200 base_type:=kobuki hardware_type:=gz_sim

5

Move around with teleop_twist_keyboard:

ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args -r /cmd_vel:=/locobot/diffdrive_controller/cmd_vel_unstamped

4

@fabid I think it's ready to merge now, after your review

</plugin>
</xacro:if>

<!-- Ground truth pose -->
Copy link

Choose a reason for hiding this comment

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

Do you know what this was for?

Copy link
Member Author

Choose a reason for hiding this comment

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

this is used to publish ground-truth odometry (from odom->base_footprint), I think they may use it in nav2 evaluation

Copy link
Member Author

Choose a reason for hiding this comment

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

we can obtain green arrow with this plugin

11

Copy link

Choose a reason for hiding this comment

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

any alternative in gz_sim?
if not that's ok, we can ignore

Copy link
Member Author

Choose a reason for hiding this comment

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

@fabid yes I've already added above, you can see the plugin:

<plugin filename="libgz-sim-pose-publisher-system.so" name="gz::sim::systems::PosePublisher">

default: true
joints:
- left_finger
- right_finger
Copy link

Choose a reason for hiding this comment

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

I think they were using mirror joints in classic, hence the missing joint. And the real hardware is similar (single joint for the gripper.
Did you try to close/open the gripper in moveit?

Copy link
Member Author

Choose a reason for hiding this comment

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

actually in their original code, the mirror part was commented out, as you can see in this line:


I also tried uncommenting the mirrored joint but closing/opening gripper did not work.

So, I left commented lines as they intended (right_finger joint separated from left_finger). Then add that right_finger joint into controller, and closing/opening gripper works okay in moveit.

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.

2 participants