Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pr update welding demo #46

Merged
merged 17 commits into from
Jan 8, 2024

Conversation

dyackzan
Copy link
Contributor

@dyackzan dyackzan commented Jan 2, 2024

Get the welding demo working with the latest humble branches of the moveit repos

In commit 397fc070ea87594c0fc9a01b1196dd65b3064a4d of the
moveit_task_constructor repo, the `fillMessage` method of the
SolutionBase class was renamed to `appendTo`. This commit applies that
renaming to the demo code.
Update `ur_robot` macro params

Remove "robot_platform_joint" as the updated `ur_robot` macro takes care
of connecting the robot to the provided parent link now.

Use `xacro.load_yaml` instead of deprecated `load_yaml` function

NOTE: these changes are required if the demo is run with an updated
version of the ur_description package that provides the `ur_robot` macro
Also add to dependencies in package.xml
Otherwise these topics by default are set to "<undefined>" which causes
an error when the local planner node attempts to subscribe to them as
topic names are not allowed to have the '<' or '>' character in them.
The old ur_controllers/ForceTorqueStateBroadcaster controller does not
exist anymore. The updated one to use is from the
force_torque_sensor_broadcaster package
Update pre-commit config and fix formatting/spelling throughout repo

Update github formatting workflow
@dyackzan
Copy link
Contributor Author

dyackzan commented Jan 2, 2024

CI is failing here because the warehouse_ros_mongo package has a dependency on the mongodb package, which is not available in Ubuntu Jammy

Discussion: moveit/warehouse_ros_mongo#75 (comment)

The warehouse_ros_mongo package cannot be used on Ubuntu Jammy. It
depends on mongodb which has no released version on Jammy. So comment
out all portions of the welding demo that reference it.
Remove extra spaces in yaml files to get CI passing
Sending the TF buffer argument in the constructor of a
PlanningSceneMonitor object is deprecated.
@dyackzan dyackzan force-pushed the pr-update-welding-demo branch 2 times, most recently from e14f01e to 73ae09e Compare January 3, 2024 23:58
Copy link
Collaborator

@sjahr sjahr left a comment

Choose a reason for hiding this comment

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

Just a minor comment. Let's upgrade to humble

upstream.repos Outdated
@@ -14,8 +14,8 @@ repositories:
version: ros2
ur_msgs:
type: git
url: https://github.com/destogl/ur_msgs.git
version: ros2
url: https://github.com/ros-industrial/ur_msgs.git
Copy link
Collaborator

Choose a reason for hiding this comment

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

Works for me although I think we can remove a bunch of these dependencies. I only needed to build from source:

moveit_task_constructor (humble)
moveit_visual_tools
rosparam_shortcuts 
rviz_visual_tools

Maybe consider removing the rest to greatly simplify the whole install setup

moveit_servo is used in the ServoSolver c++ code so it is needed as a
build time dependency as well.
@sjahr sjahr merged commit 8c34f32 into PickNikRobotics:master Jan 8, 2024
1 of 2 checks passed
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.

None yet

2 participants