Hi
I am trying to connect Arduplane with dronekit-sitl and after following the commands given on the website:
I am having issue after the second command it cant connect and link is down
C:\Users\dahak>mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
Connect tcp:127.0.0.1:5760 source_system=255
Loaded module console
Running script (C:\Users\dahak\AppData\Local.mavproxy\mavinit.scr)
Loaded module help
Unknown command ‘graph timespan 30’
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from tcp:127.0.0.1:5760
MAV>
MAV> Process Process-1:
Traceback (most recent call last):
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\process.py”, line 297, in _bootstrap
self.run()
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\process.py”, line 99, in run
self._target(*self._args, **self._kwargs)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole.py”, line 42, in child_task
from MAVProxy.modules.lib.wxconsole_ui import ConsoleFrame
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole_ui.py”, line 7, in
from MAVProxy.modules.lib import icon
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\icon.py”, line 6, in
from matplotlib.figure import Figure
ModuleNotFoundError: No module named ‘matplotlib’
[WinError 232] The pipe is being closed
Traceback (most recent call last):
File “C:\Users\dahak\AppData\Local\Programs\Python\Python37\Scripts\mavproxy.py”, line 1003, in periodic_tasks
m.idle_task()
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_rally.py”, line 73, in idle_task
self.module(‘console’).add_menu(self.menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_console.py”, line 125, in add_menu
self.mpstate.console.set_menu(self.menu, self.menu_callback)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole.py”, line 81, in set_menu
self.parent_pipe_send.send(menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] The pipe is being closed
[WinError 232] The pipe is being closed
Traceback (most recent call last):
File “C:\Users\dahak\AppData\Local\Programs\Python\Python37\Scripts\mavproxy.py”, line 1003, in periodic_tasks
m.idle_task()
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_fence.py”, line 62, in idle_task
self.module(‘console’).add_menu(self.menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_console.py”, line 125, in add_menu
self.mpstate.console.set_menu(self.menu, self.menu_callback)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole.py”, line 81, in set_menu
self.parent_pipe_send.send(menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] The pipe is being closed
[WinError 232] The pipe is being closed
Traceback (most recent call last):
File “C:\Users\dahak\AppData\Local\Programs\Python\Python37\Scripts\mavproxy.py”, line 1003, in periodic_tasks
m.idle_task()
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_param.py”, line 642, in idle_task
self.module(‘console’).add_menu(self.menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_console.py”, line 125, in add_menu
self.mpstate.console.set_menu(self.menu, self.menu_callback)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole.py”, line 81, in set_menu
self.parent_pipe_send.send(menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] The pipe is being closed
[WinError 232] The pipe is being closed
Traceback (most recent call last):
File “C:\Users\dahak\AppData\Local\Programs\Python\Python37\Scripts\mavproxy.py”, line 1003, in periodic_tasks
m.idle_task()
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_help.py”, line 90, in idle_task
self.module(‘console’).add_menu(self.menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\mavproxy_console.py”, line 125, in add_menu
self.mpstate.console.set_menu(self.menu, self.menu_callback)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\site-packages\MAVProxy\modules\lib\wxconsole.py”, line 81, in set_menu
self.parent_pipe_send.send(menu)
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File “c:\users\dahak\appdata\local\programs\python\python37\lib\multiprocessing\connection.py”, line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] The pipe is being closed
online system 1
Mode INITIALISING
AP: Initialising APM…
PANIC: AP_Baro::read unsuccessful for more than 500ms in AP_Baro::calibrate [2]
no link
link 1 down
no link
no link
no link
no link
no link
INITIALISING>
what should I do or probably doing wrong!!