Closed samuelguesnier closed 7 years ago
Do you have /dev/ttyACM0
device? Select your serial device by adding fcu_url:=/dev/ttyUSB0
or similar.
Yes I tried but it still not working. It is really weird because two days ago it was working perfectly fine. I don't see what it could be :-/
Try to open it with terminal program miniterm.py /dev/ttyACM0
, also try to reboot that machine.
Does you have modem-manager
(shipped with network-manager by default)? Sometimes it lock port.
I uninstalled modem-manager two days ago when I saw that it could cause problem. I tried your solution but I get the error
No such file or directory
The only avaible port is ttyS0 , so I also tried fcu_url to connect with this port and it runs but then , I can't connect with Jakopter ( https://github.com/Jakopter/Jakopter )
This is the log for mavros :
[roslaunch][INFO]
2017-05-12 13:03:28,659: Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
[roslaunch][INFO] 2017-05-12 13:03:28,664: Done checking log file disk usage. Usage is <1GB.
[roslaunch][INFO] 2017-05-12 13:03:28,664: roslaunch starting with args ['/opt/ros/kinetic/bin/roslaunch', 'mavros', 'fcu_url:=/dev/ttyS0', 'apm.launch']
[roslaunch][INFO] 2017-05-12 13:03:28,664: roslaunch env is {'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'ROS_DISTRO': 'kinetic', 'ROS_LOG_FILENAME': '/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/roslaunch-guesnier-HP-ProBook-650-G1-5296.log', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/guesnier', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'PKG_CONFIG_PATH': '/opt/ros/kinetic/lib/pkgconfig', 'UPSTART_EVENTS': 'xsession started', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SESSION_TYPE': 'x11', 'ROSLISP_PACKAGE_DIRECTORIES': '', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'guesnier', 'WINDOWID': '62915170', 'PATH': '/usr/lib/ccache:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/guesnier/.local/bin:/home/guesnier/jsbsim/src:/home/guesnier/ardupilot/Tools/autotest', 'XDG_VTNR': '7', 'GNOME_KEYRING_CONTROL': '', 'CMAKE_PREFIX_PATH': '/opt/ros/kinetic', 'LD_LIBRARY_PATH': '/opt/ros/kinetic/lib', 'LANG': 'fr_FR.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XAUTHORITY': '/home/guesnier/.Xauthority', 'LANGUAGE': 'fr_FR', 'SESSION_MANAGER': 'local/guesnier-HP-ProBook-650-G1:@/tmp/.ICE-unix/1591,unix/guesnier-HP-ProBook-650-G1:/tmp/.ICE-unix/1591', 'SHLVL': '1', 'QT_LINUX_ACCESSIBILITY_ALWAYS_ON': '1', 'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'CLUTTER_IM_MODULE': 'xim', 'DISPLAY': ':0', 'UPSTART_INSTANCE': '', 'QT_ACCESSIBILITY': '1', 'SESSION': 'ubuntu', 'SESSIONTYPE': 'gnome-session', 'XMODIFIERS': '@im=ibus', 'ROS_ETC_DIR': '/opt/ros/kinetic/etc/ros', 'GPG_AGENT_INFO': '/home/guesnier/.gnupg/S.gpg-agent:0:1', 'HOME': '/home/guesnier', 'QT4_IM_MODULE': 'xim', 'GTK2_MODULES': 'overlay-scrollbar', 'XDG_SESSION_DESKTOP': 'ubuntu', 'COMPIZ_BIN_PATH': '/usr/bin/', 'XDG_RUNTIME_DIR': '/run/user/1000', 'INSTANCE': '', 'PYTHONPATH': '/opt/ros/kinetic/lib/python2.7/dist-packages', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'VTE_VERSION': '4205', 'ROS_ROOT': '/opt/ros/kinetic/share/ros', 'GDMSESSION': 'ubuntu', 'IM_CONFIG_PHASE': '1', 'UPSTART_JOB': 'unity7', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'GNOME_KEYRING_PID': '', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'ROS_PACKAGE_PATH': '/opt/ros/kinetic/share', 'XDG_CURRENT_DESKTOP': 'Unity', 'XDG_SESSION_ID': 'c2', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-DkorivoDCG', '_': '/opt/ros/kinetic/bin/roslaunch', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'GTK_IM_MODULE': 'ibus', 'DESKTOP_SESSION': 'ubuntu', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1346', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'XDG_SEAT': 'seat0', 'GDM_LANG': 'fr_FR', 'NODE_PATH': '/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PWD': '/home/guesnier', 'JOB': 'unity-settings-daemon', 'ROS_MASTER_URI': 'http://localhost:11311', 'XDG_MENU_PREFIX': 'gnome-', '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:*.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:*.jpg=01;35:*.jpeg=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:', 'USER': 'guesnier'}
[roslaunch][INFO] 2017-05-12 13:03:28,664: starting in server mode
[roslaunch.parent][INFO] 2017-05-12 13:03:28,664: starting roslaunch parent run
[roslaunch][INFO] 2017-05-12 13:03:28,665: loading roscore config file /opt/ros/kinetic/etc/ros/roscore.xml
[roslaunch][INFO] 2017-05-12 13:03:28,769: Added core node of type [rosout/rosout] in namespace [/]
[roslaunch.config][INFO] 2017-05-12 13:03:28,769: loading config file /opt/ros/kinetic/share/mavros/launch/apm.launch
[roslaunch][INFO] 2017-05-12 13:03:28,821: Added node of type [mavros/mavros_node] in namespace [/]
[roslaunch][INFO] 2017-05-12 13:03:28,821: ... selected machine [] for node of type [mavros/mavros_node]
[roslaunch.pmon][INFO] 2017-05-12 13:03:28,822: start_process_monitor: creating ProcessMonitor
[roslaunch.pmon][INFO] 2017-05-12 13:03:28,822: created process monitor <ProcessMonitor(ProcessMonitor-1, initial daemon)>
[roslaunch.pmon][INFO] 2017-05-12 13:03:28,822: start_process_monitor: ProcessMonitor started
[roslaunch.parent][INFO] 2017-05-12 13:03:28,822: starting parent XML-RPC server
[roslaunch.server][INFO] 2017-05-12 13:03:28,822: starting roslaunch XML-RPC server
[roslaunch.server][INFO] 2017-05-12 13:03:28,822: waiting for roslaunch XML-RPC server to initialize
[xmlrpc][INFO] 2017-05-12 13:03:28,823: XML-RPC server binding to 0.0.0.0:0
[xmlrpc][INFO] 2017-05-12 13:03:28,823: Started XML-RPC server [http://guesnier-HP-ProBook-650-G1:42643/]
[xmlrpc][INFO] 2017-05-12 13:03:28,823: xml rpc node: starting XML-RPC server
[roslaunch][INFO] 2017-05-12 13:03:28,834: started roslaunch server http://guesnier-HP-ProBook-650-G1:42643/
[roslaunch.parent][INFO] 2017-05-12 13:03:28,834: ... parent XML-RPC server started
[roslaunch][INFO] 2017-05-12 13:03:28,835: master.is_running[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:28,835: auto-starting new master
[roslaunch][INFO] 2017-05-12 13:03:28,835: create_master_process: rosmaster, /opt/ros/kinetic/share/ros, 11311, 3, None
[roslaunch][INFO] 2017-05-12 13:03:28,835: process[master]: launching with args [['rosmaster', '--core', '-p', '11311', '-w', '3']]
[roslaunch.pmon][INFO] 2017-05-12 13:03:28,835: ProcessMonitor.register[master]
[roslaunch.pmon][INFO] 2017-05-12 13:03:28,836: ProcessMonitor.register[master] complete
[roslaunch][INFO] 2017-05-12 13:03:28,836: process[master]: starting os process
[roslaunch][INFO] 2017-05-12 13:03:28,836: process[master]: start w/ args [['rosmaster', '--core', '-p', '11311', '-w', '3', '__log:=/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/master.log']]
[roslaunch][INFO] 2017-05-12 13:03:28,836: process[master]: cwd will be [/home/guesnier/.ros]
[roslaunch][INFO] 2017-05-12 13:03:28,839: process[master]: started with pid [5307]
[roslaunch][INFO] 2017-05-12 13:03:28,840: master.is_running[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:28,941: master.is_running[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:29,041: master.is_running[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:29,045: master.is_running[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:29,046: ROS_MASTER_URI=http://localhost:11311
[roslaunch][INFO] 2017-05-12 13:03:29,048: setting /run_id to a0dad35c-3702-11e7-b5a2-18cf5e11378c
[roslaunch][INFO] 2017-05-12 13:03:29,049: setting /roslaunch/uris/host_guesnier_hp_probook_650_g1__42643' to http://guesnier-HP-ProBook-650-G1:42643/
[roslaunch][INFO] 2017-05-12 13:03:29,052: ... preparing to launch node of type [rosout/rosout]
[roslaunch][INFO] 2017-05-12 13:03:29,052: create_node_process: package[rosout] type[rosout] machine[Machine(name[] env_loader[None] address[localhost] ssh_port[22] user[None] assignable[True] timeout[10.0])] master_uri[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:29,052: process[rosout-1]: env[{'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'ROS_DISTRO': 'kinetic', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/guesnier', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'UPSTART_EVENTS': 'xsession started', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SESSION_ID': 'c2', 'XDG_SESSION_TYPE': 'x11', 'ROSLISP_PACKAGE_DIRECTORIES': '', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'guesnier', 'XDG_SEAT': 'seat0', 'PATH': '/usr/lib/ccache:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/guesnier/.local/bin:/home/guesnier/jsbsim/src:/home/guesnier/ardupilot/Tools/autotest', 'XDG_VTNR': '7', 'GNOME_KEYRING_CONTROL': '', 'ROS_PACKAGE_PATH': '/opt/ros/kinetic/share', 'CMAKE_PREFIX_PATH': '/opt/ros/kinetic', 'LD_LIBRARY_PATH': '/opt/ros/kinetic/lib', 'LANG': 'fr_FR.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XAUTHORITY': '/home/guesnier/.Xauthority', 'LANGUAGE': 'fr_FR', 'SESSION_MANAGER': 'local/guesnier-HP-ProBook-650-G1:@/tmp/.ICE-unix/1591,unix/guesnier-HP-ProBook-650-G1:/tmp/.ICE-unix/1591', 'SHLVL': '1', 'QT_LINUX_ACCESSIBILITY_ALWAYS_ON': '1', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'QT_ACCESSIBILITY': '1', 'ROS_LOG_FILENAME': '/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/roslaunch-guesnier-HP-ProBook-650-G1-5296.log', 'UPSTART_INSTANCE': '', 'CLUTTER_IM_MODULE': 'xim', 'WINDOWID': '62915170', 'SESSIONTYPE': 'gnome-session', 'XMODIFIERS': '@im=ibus', 'ROS_MASTER_URI': 'http://localhost:11311', 'GPG_AGENT_INFO': '/home/guesnier/.gnupg/S.gpg-agent:0:1', 'HOME': '/home/guesnier', 'QT4_IM_MODULE': 'xim', 'GTK2_MODULES': 'overlay-scrollbar', 'XDG_SESSION_DESKTOP': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'XDG_RUNTIME_DIR': '/run/user/1000', 'GTK_IM_MODULE': 'ibus', 'PYTHONPATH': '/opt/ros/kinetic/lib/python2.7/dist-packages', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'COMPIZ_BIN_PATH': '/usr/bin/', 'VTE_VERSION': '4205', 'ROS_ROOT': '/opt/ros/kinetic/share/ros', 'GDMSESSION': 'ubuntu', 'IM_CONFIG_PHASE': '1', 'UPSTART_JOB': 'unity7', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PKG_CONFIG_PATH': '/opt/ros/kinetic/lib/pkgconfig', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_CURRENT_DESKTOP': 'Unity', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-DkorivoDCG', '_': '/opt/ros/kinetic/bin/roslaunch', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'SESSION': 'ubuntu', 'DESKTOP_SESSION': 'ubuntu', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1346', 'DISPLAY': ':0', 'GNOME_KEYRING_PID': '', '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:*.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:*.jpg=01;35:*.jpeg=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:', 'GDM_LANG': 'fr_FR', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'INSTANCE': '', 'PWD': '/home/guesnier', 'JOB': 'unity-settings-daemon', 'ROS_ETC_DIR': '/opt/ros/kinetic/etc/ros', 'NODE_PATH': '/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript', 'XDG_MENU_PREFIX': 'gnome-', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'USER': 'guesnier'}]
[roslaunch][INFO] 2017-05-12 13:03:29,087: process[rosout-1]: args[[u'/opt/ros/kinetic/lib/rosout/rosout', u'__name:=rosout']]
[roslaunch][INFO] 2017-05-12 13:03:29,087: ... created process [rosout-1]
[roslaunch.pmon][INFO] 2017-05-12 13:03:29,087: ProcessMonitor.register[rosout-1]
[roslaunch.pmon][INFO] 2017-05-12 13:03:29,087: ProcessMonitor.register[rosout-1] complete
[roslaunch][INFO] 2017-05-12 13:03:29,087: ... registered process [rosout-1]
[roslaunch][INFO] 2017-05-12 13:03:29,087: process[rosout-1]: starting os process
[roslaunch][INFO] 2017-05-12 13:03:29,088: process[rosout-1]: start w/ args [[u'/opt/ros/kinetic/lib/rosout/rosout', u'__name:=rosout', u'__log:=/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/rosout-1.log']]
[roslaunch][INFO] 2017-05-12 13:03:29,088: process[rosout-1]: cwd will be [/home/guesnier/.ros]
[roslaunch][INFO] 2017-05-12 13:03:29,092: process[rosout-1]: started with pid [5320]
[roslaunch][INFO] 2017-05-12 13:03:29,093: ... successfully launched [rosout-1]
[roslaunch][INFO] 2017-05-12 13:03:29,093: load_parameters starting ...
[roslaunch][INFO] 2017-05-12 13:03:29,126: ... load_parameters complete
[roslaunch][INFO] 2017-05-12 13:03:29,126: launch_nodes: launching local nodes ...
[roslaunch][INFO] 2017-05-12 13:03:29,127: ... preparing to launch node of type [mavros/mavros_node]
[roslaunch][INFO] 2017-05-12 13:03:29,127: create_node_process: package[mavros] type[mavros_node] machine[Machine(name[] env_loader[None] address[localhost] ssh_port[22] user[None] assignable[True] timeout[10.0])] master_uri[http://localhost:11311]
[roslaunch][INFO] 2017-05-12 13:03:29,127: process[mavros-2]: env[{'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'ROS_DISTRO': 'kinetic', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/guesnier', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'UPSTART_EVENTS': 'xsession started', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SESSION_ID': 'c2', 'XDG_SESSION_TYPE': 'x11', 'ROSLISP_PACKAGE_DIRECTORIES': '', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'guesnier', 'XDG_SEAT': 'seat0', 'PATH': '/usr/lib/ccache:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/guesnier/.local/bin:/home/guesnier/jsbsim/src:/home/guesnier/ardupilot/Tools/autotest', 'XDG_VTNR': '7', 'GNOME_KEYRING_CONTROL': '', 'ROS_PACKAGE_PATH': '/opt/ros/kinetic/share', 'CMAKE_PREFIX_PATH': '/opt/ros/kinetic', 'LD_LIBRARY_PATH': '/opt/ros/kinetic/lib', 'LANG': 'fr_FR.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XAUTHORITY': '/home/guesnier/.Xauthority', 'LANGUAGE': 'fr_FR', 'SESSION_MANAGER': 'local/guesnier-HP-ProBook-650-G1:@/tmp/.ICE-unix/1591,unix/guesnier-HP-ProBook-650-G1:/tmp/.ICE-unix/1591', 'SHLVL': '1', 'QT_LINUX_ACCESSIBILITY_ALWAYS_ON': '1', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'QT_ACCESSIBILITY': '1', 'ROS_LOG_FILENAME': '/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/roslaunch-guesnier-HP-ProBook-650-G1-5296.log', 'UPSTART_INSTANCE': '', 'CLUTTER_IM_MODULE': 'xim', 'WINDOWID': '62915170', 'SESSIONTYPE': 'gnome-session', 'XMODIFIERS': '@im=ibus', 'ROS_MASTER_URI': 'http://localhost:11311', 'GPG_AGENT_INFO': '/home/guesnier/.gnupg/S.gpg-agent:0:1', 'HOME': '/home/guesnier', 'QT4_IM_MODULE': 'xim', 'GTK2_MODULES': 'overlay-scrollbar', 'XDG_SESSION_DESKTOP': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'XDG_RUNTIME_DIR': '/run/user/1000', 'GTK_IM_MODULE': 'ibus', 'PYTHONPATH': '/opt/ros/kinetic/lib/python2.7/dist-packages', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'COMPIZ_BIN_PATH': '/usr/bin/', 'VTE_VERSION': '4205', 'ROS_ROOT': '/opt/ros/kinetic/share/ros', 'GDMSESSION': 'ubuntu', 'IM_CONFIG_PHASE': '1', 'UPSTART_JOB': 'unity7', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PKG_CONFIG_PATH': '/opt/ros/kinetic/lib/pkgconfig', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_CURRENT_DESKTOP': 'Unity', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-DkorivoDCG', '_': '/opt/ros/kinetic/bin/roslaunch', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'SESSION': 'ubuntu', 'DESKTOP_SESSION': 'ubuntu', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1346', 'DISPLAY': ':0', 'GNOME_KEYRING_PID': '', '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:*.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:*.jpg=01;35:*.jpeg=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:', 'GDM_LANG': 'fr_FR', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'INSTANCE': '', 'PWD': '/home/guesnier', 'JOB': 'unity-settings-daemon', 'ROS_ETC_DIR': '/opt/ros/kinetic/etc/ros', 'NODE_PATH': '/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript', 'XDG_MENU_PREFIX': 'gnome-', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'USER': 'guesnier'}]
[roslaunch][INFO] 2017-05-12 13:03:29,128: process[mavros-2]: args[[u'/opt/ros/kinetic/lib/mavros/mavros_node', u'__name:=mavros']]
[roslaunch][INFO] 2017-05-12 13:03:29,128: ... created process [mavros-2]
[roslaunch.pmon][INFO] 2017-05-12 13:03:29,128: ProcessMonitor.register[mavros-2]
[roslaunch.pmon][INFO] 2017-05-12 13:03:29,128: ProcessMonitor.register[mavros-2] complete
[roslaunch][INFO] 2017-05-12 13:03:29,128: ... registered process [mavros-2]
[roslaunch][INFO] 2017-05-12 13:03:29,128: process[mavros-2]: starting os process
[roslaunch][INFO] 2017-05-12 13:03:29,128: process[mavros-2]: start w/ args [[u'/opt/ros/kinetic/lib/mavros/mavros_node', u'__name:=mavros', u'__log:=/home/guesnier/.ros/log/a0dad35c-3702-11e7-b5a2-18cf5e11378c/mavros-2.log']]
[roslaunch][INFO] 2017-05-12 13:03:29,128: process[mavros-2]: cwd will be [/home/guesnier/.ros]
[roslaunch][INFO] 2017-05-12 13:03:29,132: process[mavros-2]: started with pid [5338]
[roslaunch][INFO] 2017-05-12 13:03:29,132: ... successfully launched [mavros-2]
[roslaunch][INFO] 2017-05-12 13:03:29,133: ... launch_nodes complete
[roslaunch.pmon][INFO] 2017-05-12 13:03:29,133: registrations completed <ProcessMonitor(ProcessMonitor-1, started daemon 139630299662080)>
[roslaunch.parent][INFO] 2017-05-12 13:03:29,133: ... roslaunch parent running, waiting for process exit
[roslaunch][INFO] 2017-05-12 13:03:29,133: spin
[roslaunch.pmon][INFO] 2017-05-12 13:12:47,673: ProcessMonitor.shutdown <ProcessMonitor(ProcessMonitor-1, started daemon 139630299662080)>
[roslaunch.pmon][INFO] 2017-05-12 13:12:47,721: ProcessMonitor._post_run <ProcessMonitor(ProcessMonitor-1, started daemon 139630299662080)>
[roslaunch.pmon][INFO] 2017-05-12 13:12:47,721: ProcessMonitor._post_run <ProcessMonitor(ProcessMonitor-1, started daemon 139630299662080)>: remaining procs are [<roslaunch.nodeprocess.LocalProcess object at 0x7efe36919b10>, <roslaunch.nodeprocess.LocalProcess object at 0x7efe36919f50>, <roslaunch.nodeprocess.LocalProcess object at 0x7efe36902050>]
[roslaunch.pmon][INFO] 2017-05-12 13:12:47,722: ProcessMonitor exit: killing mavros-2
[roslaunch][INFO] 2017-05-12 13:12:47,722: [mavros-2] killing on exit
[roslaunch][INFO] 2017-05-12 13:12:47,722: process[mavros-2]: killing os process with pid[5338] pgid[5338]
[roslaunch][INFO] 2017-05-12 13:12:47,722: [mavros-2] sending SIGINT to pgid [5338]
[roslaunch][INFO] 2017-05-12 13:12:47,722: [mavros-2] sent SIGINT to pgid [5338]
[roslaunch][INFO] 2017-05-12 13:12:48,123: process[mavros-2]: SIGINT killed with return value 0
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,124: ProcessMonitor exit: killing rosout-1
[roslaunch][INFO] 2017-05-12 13:12:48,124: [rosout-1] killing on exit
[roslaunch][INFO] 2017-05-12 13:12:48,124: process[rosout-1]: killing os process with pid[5320] pgid[5320]
[roslaunch][INFO] 2017-05-12 13:12:48,124: [rosout-1] sending SIGINT to pgid [5320]
[roslaunch][INFO] 2017-05-12 13:12:48,124: [rosout-1] sent SIGINT to pgid [5320]
[roslaunch][INFO] 2017-05-12 13:12:48,324: process[rosout-1]: SIGINT killed with return value 0
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,325: ProcessMonitor exit: killing master
[roslaunch][INFO] 2017-05-12 13:12:48,325: [master] killing on exit
[roslaunch][INFO] 2017-05-12 13:12:48,325: process[master]: killing os process with pid[5307] pgid[5307]
[roslaunch][INFO] 2017-05-12 13:12:48,325: [master] sending SIGINT to pgid [5307]
[roslaunch][INFO] 2017-05-12 13:12:48,325: [master] sent SIGINT to pgid [5307]
[roslaunch][INFO] 2017-05-12 13:12:48,525: process[master]: SIGINT killed with return value 0
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,526: ProcessMonitor exit: cleaning up data structures and signals
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,526: ProcessMonitor exit: pmon has shutdown
[roslaunch][INFO] 2017-05-12 13:12:48,539: process monitor is done spinning, initiating full shutdown
[roslaunch][INFO] 2017-05-12 13:12:48,539: runner.stop()
[roslaunch][INFO] 2017-05-12 13:12:48,539: shutting down processing monitor...
[roslaunch][INFO] 2017-05-12 13:12:48,539: shutting down processing monitor <ProcessMonitor(ProcessMonitor-1, stopped daemon 139630299662080)>
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,539: ProcessMonitor.shutdown <ProcessMonitor(ProcessMonitor-1, stopped daemon 139630299662080)>
[roslaunch][INFO] 2017-05-12 13:12:48,539: ... shutting down processing monitor complete
[roslaunch][INFO] 2017-05-12 13:12:48,539: done
[roslaunch.pmon][INFO] 2017-05-12 13:12:48,539: ProcessMonitor.shutdown <ProcessMonitor(ProcessMonitor-1, stopped daemon 139630299662080)>
[rospy.core][INFO] 2017-05-12 13:12:48,540: signal_shutdown [atexit]
But if it was working 2 days ago , I think I should reinstall all of this , I will keep you in touch
I reinstalled my OS and it's working , I don't know why but it's working so thank you for your help :+1:
chmod 777 /dev/ttyACM0 I solved it with this.
the problem solves by giving the following argument fcu_url:="udp://:14540@127.0.0.1:14557
just make sure dependant packages are installed and run roslaunch mavros px4.launch fcu_url:="udp://:14540@127.0.0.1:14557"
. so by default the is /dev/ttyACM0
which mean the launch file expect an flight controller
is connected to it. but we are taking the data from the simulation, not the physical hardware.
Hello,
Issue details
mavros crashes when running the command "roslaunch mavros apm.launch" and getting the error
MAVROS version and platform
ros-kinetic-mavros version 0.18.7 Ubuntu: 16.04.2 LTS
Autopilot type and version
[ ArduCopter ] ArduPilot
Version: ?3.7.1?
Node logs
Diagnostics
Check ID