Closed ding1998 closed 3 years ago
Perhaps @gmsanchez will be able to give us a hint since he wrote this tutorial.
Could you please share the code of your ROS node (launch file, configuration yaml file, etc) as well as the Python code you used to generate the ROS node?
@ding1998 you are getting that error because you the package lms1xx
is missing from your catkin workspace.
I see you are using ROS Melodic, so these instructions might suit you to get a Husky robot and its dependencies up and running
cd /path/to/your/catkin_ws/src
git clone https://github.com/husky/husky.git
rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src
cd /path/to/your/catkin_ws
catkin_make
source /path/to/your/catkin_ws/devel/setup.bash
The command rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src
checks the missing dependencies for the packages contained in your source directory and tries to resolve them. Try that and tell us how it goes!
@ ding1998,您会收到该错误,因为您的catkin
lms1xx
工作区中缺少该软件包。我看到您正在使用ROS Melodic,因此这些说明可能适合您启动和运行Husky机器人及其依赖项
cd /path/to/your/catkin_ws/src git clone https://github.com/husky/husky.git rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src cd /path/to/your/catkin_ws catkin_make source /path/to/your/catkin_ws/devel/setup.bash
该命令
rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src
检查源目录中包含的软件包的缺少依赖项,并尝试解决它们。尝试一下,告诉我们进展如何!
You have provided a very good method, and I have solved my problem according to your method. Thank you very much
gmsanchez也
I have solved my problem according to @gmsanchez's method, thank you very much for your attention
The credit goes to @gmsanchez!
By the way, should we update the documentation to make this clear to the users?
The credit goes to @gmsanchez!
By the way, should we update the documentation to make this clear to the users?
I suggest you should do some updates
I encountered a problem while running the program of Navigation of ground vehicle using ROS codegen. When I run roslaunch husky_gazebo husky_empty_world.launch, it reports the following error.
Have you solved the problem, thanks!!