Closed YuZhong-Chen closed 5 months ago
Hi, I had made a world file in order to test the ability for Husky to do U-turn at the corner of a L-shape lane using the default navigation algorithm in Nav2
. Husky did it well, but I also encountered some problem:
Gazebo
simulation drops to 13-14 even though I have removed some model objects (like the textured floor) from the original clearpath_playpen.world
world. I would like to know whether this is because the lack of computing power of my laptop or any other reasons. (In the original world, similar FPS is also observed)This is the world file I tested on: clearpath_playpen_corner_test.world.zip
To reproduce:
world_file
in husky_ws/src/husky/husky_gazebo/launch/husky_playpen.launch.py
from "clearpath_playpen.world"
to "clearpath_playpen_corner_test.world"
.colcon build
again.slam_launch.py
with ros2 launch husky_navigation slam_launch.py
.Current version can reliably control real husky by either amd64 or arm64 system.
@YuZhong-Chen please help review my commits or perform further changes.
Please re-request a review when no further changes are required, and I'll go ahead and merge this PR. Thanks!
Sorry for the late response.
I have tested on my laptop (amd64) and NV Orin (arm64). I found that on the laptop, the packages like gazebo plugin were not correctly installed inside the container. One reason was a mistake in the command within the 'if' condition in the Dockerfile. Another reason was that the variable TARGETARCH
was not defined before its use. I have made the necessary corrections, retested on both platforms, and successfully ran them on both sides. Please review this commit again. If everything looks good to you, I think we can merge this PR. Thanks!
Thanks for the fix!
Could you please help check if I missed out any code license we've included in this PR? (see the latest commit)
In addition, should the LiDAR LMS1xx be replaced with VLP-16 LiDAR in this PR? Or is it ok to defer it to another PR some time in the future?
I think one license is missing: the license for the udev rule for Husky. See commit bf09fe1, which copies the udev rule from here. Since it's a different repository, we may need to add its license as well.
Additionally, regarding the replacement of the LiDAR with the VLP-16, I think we can merge this PR first for the convenience of merging other branches. After I finish testing in a few days, I will open a new PR that includes both the VLP-16 and ZED2 to match the current configuration of the actual machine.
Closes: #3 #17