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

Simple ZED to Husky Pipeline #27

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

YuZhong-Chen
Copy link
Collaborator

Closes: #26

Using the create_workspace.sh script.
Since we're utilizing the Dockerfile and src from husky_ws and zed_ws, we can safely remove the template.
To ensure code maintenance ease, refrain from altering the code in husky_ws here. You may update husky_ws to the latest version independently. However, if you intend to simulate in Gazebo, you'll need to reintegrate the ZED URDF. Please refer to the commits made after this one.
To ensure code maintenance ease, refrain from altering the code in zed_ws here. You may update zed_ws to the latest version independently.

Consider that this commit could potentially be replaced by utilizing git submodules.
Using the create_workspace.sh script.
Commented out the ROS_LOCALHOST_ONLY environment variable, and mount the shared memory.
Replace "realsense" with "zed". The remaining part remains the same.
The final "cmd_vel" is published by the twist_mux. Remapping the topic in the launch file is the easiest way to implement this.
Implement a P controller to adjust the Husky's speed based on the depth. The previous mode is still functional, and you can switch between modes within the main.py file.

Reference: https://www.stereolabs.com/docs/ros2/depth-sensing
@YuZhong-Chen YuZhong-Chen requested a review from j3soon March 1, 2024 18:43
@YuZhong-Chen YuZhong-Chen self-assigned this Mar 1, 2024
@j3soon j3soon mentioned this pull request Aug 14, 2024
@j3soon j3soon force-pushed the main branch 2 times, most recently from a8b1110 to dbd12e4 Compare October 23, 2024 19:17
@j3soon j3soon force-pushed the main branch 7 times, most recently from ecf7008 to adf7444 Compare December 15, 2024 03:53
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.

Simple ZED to Husky Pipeline
1 participant