ros_comm icon indicating copy to clipboard operation
ros_comm copied to clipboard

ERROR: Cannot locate node of type [ydlidar_ros_driver_node/ydlidar_ros_driver_mode]

Open Tricia279 opened this issue 3 years ago • 1 comments

Facts: ROS Melodic ; Ubuntu 18.04 ; Commands: chmod +x robert/Downloads/ydlidar_ros_driver/launch/ X2.launch roslaunch ydlidar_ros_driver X2.launch

ERROR: cannot launch mode of type [ydlidar_ros_driver/ydlidar_ros_driver_mode]: Cannot locate mode of type [ydlidar_ros_driver_mode] in package [ydlidar_ros_driver]. Make sure files exists in package, path and permission is set to executable (chmod +x /path/path)

I real can NOT see where is a sign in the log for this error.

[roslaunch][INFO] 2020-12-10 11:21:10,246: Checking log directory for disk usage. Press Ctrl-C to interrupt [roslaunch][INFO] 2020-12-10 11:21:10,261: Done checking log file disk usage. Usage is <1GB. [roslaunch][INFO] 2020-12-10 11:21:10,262: roslaunch starting with args ['roscore', '--core'] [roslaunch][INFO] 2020-12-10 11:21:10,263: roslaunch env is {'ROS_DISTRO': 'melodic', 'MATE_DESKTOP_SESSION_ID': 'this-is-deprecated', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/robert', 'PKG_CONFIG_PATH': '/opt/ros/melodic/lib/pkgconfig', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_CURRENT_DESKTOP': 'MATE', 'XDG_SESSION_TYPE': 'x11', 'LOGNAME': 'robert', 'USER': 'robert', 'ROS_PACKAGE_PATH': '/home/robert/ydlidar_ws/src:/opt/ros/melodic/share', 'XDG_VTNR': '7', 'HOME': '/home/robert', 'CMAKE_PREFIX_PATH': '/home/robert/ydlidar_ws/devel:/opt/ros/melodic', 'DISPLAY': ':0', 'SSH_AGENT_PID': '1573', 'LANG': 'de_DE.UTF-8', 'MANAGERPID': '1087', 'SHELL': '/bin/bash', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XAUTHORITY': '/home/robert/.Xauthority', 'JOURNAL_STREAM': '9:31370', 'SESSION_MANAGER': 'local/robert-desktop:@/tmp/.ICE-unix/1166,unix/robert-desktop:/tmp/.ICE-unix/1166', 'XDG_DATA_DIRS': '/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'QT_QPA_PLATFORMTHEME': 'gtk2', 'LD_LIBRARY_PATH': '/home/robert/ydlidar_ws/devel/lib:/opt/ros/melodic/lib', 'QT_ACCESSIBILITY': '1', 'WINDOWID': '46137350', 'GTK_OVERLAY_SCROLLING': '0', 'ROS_LOG_FILENAME': '/home/robert/.ros/log/6c12844a-3ad1-11eb-b69d-b827eb67c271/roslaunch-robert-desktop-3673.log', 'PYTHONPATH': '/opt/ros/melodic/lib/python2.7/dist-packages', 'IM_CONFIG_PHASE': '1', 'ROS_MASTER_URI': 'http://localhost:11311', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'ROS_PYTHON_VERSION': '2', 'INVOCATION_ID': '615ba9b5dc5740b8ac95dda688a52391', 'PATH': '/opt/ros/melodic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_SESSION_DESKTOP': 'mate', 'ROS_VERSION': '1', 'QT_SCALE_FACTOR': '1', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'TERM': 'xterm', 'ROS_ROOT': '/opt/ros/melodic/share/ros', 'GDMSESSION': 'mate', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_STARTER_BUS_TYPE': 'session', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SESSION_ID': 'c1', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus,guid=34380618ffb74db3e6d215df5fd1c79c', '_': '/opt/ros/melodic/bin/roscore', 'DESKTOP_SESSION': 'mate', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'GTK_MODULES': 'appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module', 'VTE_VERSION': '5202', 'UBUNTU_MENUPROXY': '1', 'OLDPWD': '/home/robert', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/1000/bus,guid=34380618ffb74db3e6d215df5fd1c79c', 'GDM_LANG': 'de_DE', 'LANGUAGE': 'de_DE', 'SHLVL': '1', 'PWD': '/home/robert/Downloads/lidar', 'ROS_ETC_DIR': '/opt/ros/melodic/etc/ros', 'QT_AUTO_SCREEN_SCALE_FACTOR': '0', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-mate:/etc/xdg', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'XDG_SEAT': 'seat0'} [roslaunch][INFO] 2020-12-10 11:21:10,264: starting in server mode [roslaunch.parent][INFO] 2020-12-10 11:21:10,265: starting roslaunch parent run [roslaunch][INFO] 2020-12-10 11:21:10,266: loading roscore config file /opt/ros/melodic/etc/ros/roscore.xml [roslaunch][INFO] 2020-12-10 11:21:12,877: Added core node of type [rosout/rosout] in namespace [/] [roslaunch.pmon][INFO] 2020-12-10 11:21:12,878: start_process_monitor: creating ProcessMonitor [roslaunch.pmon][INFO] 2020-12-10 11:21:12,878: created process monitor <processmonitor(processmonitor-1, ...="" .ros="" 0.0.0.0:0="" 11311,="" 11:21:12,879:="" 11:21:12,880:="" 11:21:12,881:="" 11:21:12,882:="" 11:21:12,883:="" 11:21:12,884:="" 11:21:12,901:="" 11:21:12,903:="" 11:21:12,904:="" 11:21:12,909:="" 11:21:12,910:="" 11:21:12,911:="" 11:21:12,927:="" 11:21:13,030:="" 11:21:13,133:="" 11:21:13,235:="" 11:21:13,338:="" 11:21:13,441:="" 11:21:13,543:="" 11:21:13,646:="" 11:21:13,748:="" 11:21:13,851:="" 11:21:13,954:="" 11:21:14,056:="" 11:21:14,159:="" 11:21:14,169:="" 11:21:14,175:="" 11:21:14,181:="" 11:21:14,185:="" 11:21:14,198:="" 11:21:14,199:="" 11:21:14,345:="" 11:21:14,346:="" 11:21:14,347:="" 11:21:14,362:="" 11:21:14,364:="" 11:21:14,380:="" 11:21:14,381:="" 11:21:14,382:="" 11:21:14,383:="" 1980286048)>="" 2020-12-10="" 3,="" 6c12844a-3ad1-11eb-b69d-b827eb67c271="" 6c12844a-3ad1-11eb-b69d-b827eb67c271$="" <="" <processmonitor(processmonitor-1,="" [http:="" [roslaunch.parent][info]="" [roslaunch.pmon][info]="" [roslaunch.server][info]="" [roslaunch][info]="" [rosout="" [rosout-1]="" [xmlrpc][info]="" ]="" address[localhost]="" assignable[true]="" auto-starting="" binding="" complete="" completed="" create_master_process:="" create_node_process:="" created="" daemon="" daemon)>="" env_loader[none]="" exit="" false="" for="" host_robert_desktop__43401'="" http:="" initial="" initialize="" launch="" launch_nodes="" launch_nodes:="" launched="" launching="" load_parameters="" local="" log="" machine[machine(name[]="" master="" master.is_running[http:="" master_uri[http:="" melodic="" new="" node="" node:="" nodes="" none,="" of="" opt="" p="" package[rosout]="" parent="" preparing="" process="" processmonitor="" processmonitor.register[master]="" processmonitor.register[rosout-1]="" registered="" registrations="" robert-desktop:11311="" robert-desktop:43401="" robert@robert-desktop:~="" ros="" ros,="" ros_master_uri="http://robert-desktop:11311/" roslaunch="" rosmaster,="" rosout]="" rpc="" run_id="" running,="" server="" setting="" share="" spin="" ssh_port[22]="" start_process_monitor:="" started="" starting="" successfully="" timeout[10.0])]="" to="" type="" type[rosout]="" uris="" user[none]="" waiting="" xml="" xml-rpc=""> </processmonitor(processmonitor-1,>

I real appreciate your help and answers... I can't find any issue here which can help me to solve this...

Tricia279 avatar Dec 14 '20 14:12 Tricia279

same issue

YXGuan avatar Dec 29 '21 19:12 YXGuan