Skip to content

some missing dependencies #3

@elgarbe

Description

@elgarbe

I've started with a fresh ubuntu 18 - ros melodic and follow your steps.
When I launch: roslaunch ros_autonomous_slam autonomous_explorer.launch I get:

NODES
  /
    assigner (ros_autonomous_slam/assigner.py)
    filter (ros_autonomous_slam/filter.py)
    global_detector (ros_autonomous_slam/global_rrt_detector)
    local_detector (ros_autonomous_slam/local_rrt_detector)
    move_base (move_base/move_base)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)
    turtlebot3_slam_gmapping (gmapping/slam_gmapping)

ROS_MASTER_URI=http://localhost:11311

process[robot_state_publisher-1]: started with pid [31219]
ERROR: cannot launch node of type [gmapping/slam_gmapping]: gmapping
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/elgarbe/workspace/catkin_ws/src
ROS path [2]=/opt/ros/melodic/share
process[rviz-3]: started with pid [31220]
process[move_base-4]: started with pid [31221]
process[global_detector-5]: started with pid [31227]
process[local_detector-6]: started with pid [31229]
process[filter-7]: started with pid [31239]
process[assigner-8]: started with pid [31241]
[ WARN] [1616723575.614585618, 597.417000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 597.417 timeout was 0.1.
Traceback (most recent call last):
  File "/home/elgarbe/workspace/catkin_ws/src/ros_autonomous_slam/scripts/filter.py", line 13, in <module>
    from sklearn.cluster import MeanShift
ImportError: No module named sklearn.cluster
[filter-7] process has died [pid 31239, exit code 1, cmd /home/elgarbe/workspace/catkin_ws/src/ros_autonomous_slam/scripts/filter.py __name:=filter __log:=/home/elgarbe/.ros/log/9fcbdc6e-8dd3-11eb-b7a4-7c67a237b388/filter-7.log].
log file: /home/elgarbe/.ros/log/9fcbdc6e-8dd3-11eb-b7a4-7c67a237b388/filter-7*.log
[ WARN] [1616723588.099024189, 602.422000000]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 0.1 timeout was 0.1.

So I think I need gmapping and sklearn.
What would it be the best way to install them?

Thank!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions