fazildgr8 / ros_autonomous_slam

ROS package which uses the Navigation Stack to autonomously explore an unknown environment with help of GMAPPING and constructs a map of the explored environment. Finally, a path planning algorithm from the Navigation stack is used in the newly generated map to reach the goal. The Gazebo simulator is used for the simulation of the Turtlebot3 Waffle Pi robot. Various algorithms have been integrated for Autonomously exploring the region and constructing the map with help of the 360-degree Lidar sensor. Different environments can be swapped within launch files to generate a map of the environment.
http://mohamedfazil.com
MIT License
209 stars 69 forks source link

ImportError: No module named rrt_exploration.msg #1

Closed lrxiao closed 3 years ago

lrxiao commented 3 years ago

why I get the error "ImportError: No module named rrt_exploration.msg"when I use roslaunch ros_autonomous_slam autonomous_explorer.launch?Can anyone help me,thanks!

kvnptl commented 3 years ago

change below two lines, https://github.com/fazildgr8/ros_autonomous_slam/blob/56fff100b3c09d94992350020f61cf134240ed2a/scripts/assigner.py#L10 https://github.com/fazildgr8/ros_autonomous_slam/blob/56fff100b3c09d94992350020f61cf134240ed2a/scripts/filter.py#L14

to (basically write package name)

from ros_autonomous_slam.msg import PointArray

fazildgr8 commented 3 years ago

change below two lines,

https://github.com/fazildgr8/ros_autonomous_slam/blob/56fff100b3c09d94992350020f61cf134240ed2a/scripts/assigner.py#L10

https://github.com/fazildgr8/ros_autonomous_slam/blob/56fff100b3c09d94992350020f61cf134240ed2a/scripts/filter.py#L14

to (basically write package name)

from ros_autonomous_slam.msg import PointArray

Thankyou I had the official rrt_exploration package installed side which also has the same msg by so this wasn't creating an issue previously.