gaunthan / Turtlebot2-On-Melodic

Make your Turtlebot2 runs on ROS Melodic (Ubuntu 18.04).
GNU Lesser General Public License v3.0
92 stars 57 forks source link

Problem to run roslaunch turtlebot_bringup minimal.launch #10

Open MarcelaHoyos opened 4 years ago

MarcelaHoyos commented 4 years ago

[ERROR] [1597454622.033235807]: Failed to load nodelet [/mobile_base] of type [kobuki_node/KobukiNodelet] even after refreshing the cache: Could not find library corresponding to plugin kobuki_node/KobukiNodelet. Make sure the plugin description XML file has the correct name of the library and that the library actually exists. [ERROR] [1597454622.033383727]: The error before refreshing the cache was: Could not find library corresponding to plugin kobuki_node/KobukiNodelet. Make sure the plugin description XML file has the correct name of the library and that the library actually exists. [FATAL] [1597454622.034028377]: Failed to load nodelet '/mobile_baseof typekobuki_node/KobukiNodeletto managermobile_base_nodelet_manager' [mobile_base-5] process has died [pid 25483, exit code 255, cmd /opt/ros/melodic/lib/nodelet/nodelet load kobuki_node/KobukiNodelet mobile_base_nodelet_manager mobile_base/odom:=odom mobile_base/enable:=enable mobile_base/disable:=disable mobile_base/joint_states:=joint_states __name:=mobile_base __log:=/home/tg/.ros/log/f14d8ddc-de95-11ea-9787-c4e98410a9ed/mobile_base-5.log]. log file: /home/tg/.ros/log/f14d8ddc-de95-11ea-9787-c4e98410a9ed/mobile_base-5*.log [WARN] [1597454622.873589]: Battery : unable to check laptop battery info [/sys/class/power_supply/BAT0/charge_full_design || /sys/class/power_supply/BAT0/energy_full_design does not exist

claudiosouzabrito commented 3 years ago

yeah I'am having that problem to, don't know what to do

alexfanqi commented 3 years ago

I solved this by runing catkin_make install to install it into a directory instead of using the devel dir, and then source install_dir/bash.setup. If you read the /kobuki_node/plugins/nodelet_plugins.xml file, it specifieslib/libkobuki_nodelet in the library path attribute, which cannot be found in devel dir, but is indeed present after catkin_make install.