dronekit / dronekit-sitl Goto Github PK
View Code? Open in Web Editor NEWSITL runner for DroneKit.
SITL runner for DroneKit.
Added to the download options.
While you're at it, would be quite nice to get the latest copter build too.
Currently a home parameter is required for TCP connections to work. If this is still required, then a default should be supplied.
As a new user of dronekit
I am trying to make sense of my developer environment. That being said I believe SITL
has something to do with the simulator, but I would like to know what the entire Acronym represents.
I just followed the readme, and it didn't work.
dronekit-sitl copter-3.3-rc5 -I0 -S --model quad --home=-35.363261,149.165230,584,353
It would wipe the params, but not load the default ones. So I couldn't arm because the RC wasn't calibrated.
This:
dronekit-sitl solo-1.2.0 -I0 -S --model quad --home=-35.363261,149.165230,584,353
does not work, resulting in:
./ArduCopter.elf: illegal option โ -
However, using copter-3.3 does work:
dronekit-sitl copter-3.3 -I0 -S --model quad --home=-35.363261,149.165230,584,353
those fixed wing dudes love them dronekits
I am trying to run dronekit-sitl on Raspberry Pi, without success. I have already run it on linux normally.
Here is what happens:
pi@raspberrypi:~ $ dronekit-sitl copter-3.3
os: linux, apm: copter, release: 3_.3
SITL already Downloaded.
Execute: /home/pi/.dronekit/sitl/copter-3.3/apm --home=-35.363261,149.165230,584,353 --model=quad
Traceback (most recent call last):
File "/usr/local/bin/dronekit-sitl", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/dronekit_sitl/init.py", line 417, in main
sitl.launch(args, verbose=True)
File "/usr/local/lib/python2.7/dist-packages/dronekit_sitl/init.py", line 239, in launch
p = Popen([self.path] + args, cwd=wd, shell=sys.platform == 'win32', stdout=PIPE, stderr=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Can anyone help me?
The example suggests you first run
dronekit-sitl copter-3.4-dev -I0 -S --model quad --home=-35.363261,149.165230,584,353
Then
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
This second call only works if you've installed mavproxy. It would be much simpler for users if mavproxy were automatically installed and this command was run by the dronekit-sitl-runner. I imagine that might not be too hard for linux/mac because you could make mavproxy a dependency of the dronekit-sitl runner package?
On windows manual installation of all the mavproxy dependencies is a pain so typically we use the installer version. However I'm not sure how you would pass the second line above to that installer version of mavproxy.
@tcr3dr @TShapinsky - would appreciate your thoughts.
So dronekit-sitl copter --gimbal
does not allow a connection - a dk script will fail without receiving heartbeat (on windows).
Log below
C:\Users\hamis_000>dronekit-sitl plane-3.3.0
os: win, apm: plane, release: 3.3.0
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/plane/sitl-win-v3.3.0.tar.gz
Extracted.
Execute: ['.\\ArduPlane.elf', '--home', '-35.363261,149.165230,584,353']
'.\ArduPlane.elf' is not recognized as an internal or external command,
operable program or batch file.
The architecture is there, but had to be removed temporarily due to floating point exceptions on Windows and a mismatched pysim version elsewhere.
The -h option isn't working properly on builds I've tried on Windows (should be giving me the help options from ArduCopter.elf') . Could somehow be due to #40 except that the .elf file is being launched.
C:\Users\hamis_000>dronekit-sitl copter-3.3-rc11 -h
os: win, apm: copter, release: 3.3-rc11
SITL already Downloaded.
Execute: ['.\\ArduCopter.elf', '-h', '--home', '-35.363261,149.165230,584,353']
Options:
C:\Users\hamis_000>dronekit-sitl solo-1.1.40 -h
os: win, apm: solo, release: 1.1.40
SITL already Downloaded.
Execute: ['.\\ArduCopter.elf', '-h', '--home', '-35.363261,149.165230,584,353']
Options:
D:\deleteme>dronekit-sitl solo-1.1.40 -h
os: win, apm: solo, release: 1.1.40
SITL already Downloaded.
Execute: ['.\\ArduCopter.elf', '-h', '--home', '-35.363261,149.165230,584,353']
Options:
--home HOME set home location (lat,lng,alt,yaw)
we now support python3, we either remove our pip2
traces and let the user decide, or add instructions for pip3
The tool is creating a folder named %HOMEPATH% in the current directory - ie so there is no global repo of builds being downloaded. I suspect that the intention is that this be expanded to the user's homepath.
I do get the right expansion on the command line:
D:\deleteme\test>echo %HOMEPATH%
\Users\hamis_000
This may be caused by other issues with my computer, but I'd still appreciate advice on debugging.
Aka:
$ dronekit-sitl --help
You can look up help for a particular vehicle by running:
dronekit-sitl copter --help
dronekit-sitl plane --help
Where these will load the default copter/plane versions (just like dronekit-sitl copter -S -I0...
would)
we should aim to install this under /usr/local/
expose the executable somewhere in the hosts PATH
and store downloads under the install directory
Is there a way to start a dronekit-sitl instance without having internet?
When I don't have internet and try to do it, I get this error:
dronekit-sitl copter
os: osx, apm: copter, release: stable
Traceback (most recent call last):
File "/usr/local/bin/dronekit-sitl", line 9, in <module>
load_entry_point('dronekit-sitl==3.0.1', 'console_scripts', 'dronekit-sitl')()
File "/usr/local/lib/python2.7/site-packages/dronekit_sitl/__init__.py", line 415, in main
sitl.download(system, version, target=target, verbose=True)
File "/usr/local/lib/python2.7/site-packages/dronekit_sitl/__init__.py", line 132, in download
version = version_list()[system]['stable']
File "/usr/local/lib/python2.7/site-packages/dronekit_sitl/__init__.py", line 83, in version_list
raw = urllib2.urlopen(req).read()
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1227, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
C:\Users\hamis_000\Documents\vagranttesting\ramonsitl>dronekit-sitl copter-3.2.1
os: win, apm: copter, release: 3.2.1
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/copter/sitl-win-v3.2.1.tar.gz
Extracted.
Execute: ['.\\ArduCopter.elf']
ERROR: Floating point exception
Starting sketch 'ArduCopter'
Starting SITL input
C:\Users\hamis_000\Documents\vagranttesting\ramonsitl>
APM params, such was WPNAV_SPEED, are not being preserved between dronekit-sitl launches. Dronekit-sitl is being invoked like this:
dronekit-sitl solo-1.2.0 --home=37.331816,-122.029598,0,90
I have been able to test our installation instructions "a bit" on linux. I opened a recent Linux ubuntu build in a VM and installed the dronekit-sitl runner exactly as in the instructions (except using "sudo" prefix).
Once running, the dronekit-sitl-runner gets to a point as shown:
Started model quad at -35.363261,149.165230,584,353 at speed 1.0
Starting sketch 'ArduCopter'
Starting SITL input
bind port 5760 for 0
Serial port 0 on TCP port 5760
Waiting for connection ....
I then used ifconfig
to get the IP address of the VM and was able to connect over TCP from Mission Planner running on the host windows computer (to port 5760).
However I can't seem to connect to the instance using UDP from the host or the VM. I've tried
mavproxy.py --master=127.0.0.1:14550
and
mavproxy.py --master=192.168.65.133:14550 (ip address of the VM)
and
mavproxy.py --master=192.168.65.133:5760 (the TCPIP port)
I also changed the output of the SITL to be the IP address of the host.
Does this work/how do I get this working? Basically I need to get the linux->linux working so that the dronekit instructions make sense.
can the solo version of dronekit-sitl or any other sitl instance execute smart shots?
SITL doesn't have default params by default so you can't pass arming checks on first load and the default params won't allow arming or flight.
The system should make this easy for you
when issuing any Dronekit-sitl command such as dronekit-sitl --list, dronekit/lib/init.py fails trying to import errprinter from dronekit.tools.
OS: OSX
dronekit-sitl version: 3.0.1
steps to reproduce
result
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dronekit/lib/init.py", line 7, in
from dronekit.tools import errprinter
ImportError: No module named tools
expected result
dronekit-sitl commands should work as described
SITL starts by exposing a TCP port. Ideally you should be able to connect this using a localhost address, but this failed on windows. That means that the instructions to get the "full URL" for connecting end up needing to be quite complicated (e.g. on windows, got to commandprompt, run ipconfig, get current address then do ....)
It would be better if
I followed the instructions on windows in a command prompt (ActiveState Python 2.7.8). The runner appeared to install fine but I got the above error when try to run SITL.
for Windows and Linux but porque no los tres
Then this sorts out all platforms.
while the basics are great we need more flexibility
there are times where latest doesn't make sense
I installed the runner as shown on Windows:
D:\github\testsitlrunner>pip install git+https://github.com/3drobotics/dronekit-sitl-runner
Downloading/unpacking git+https://github.com/3drobotics/dronekit-sitl-runner
Cloning https://github.com/3drobotics/dronekit-sitl-runner to c:\users\hamis_~1\appdata\local\temp\pip-r_z19j-build
Running setup.py (path:c:\users\hamis_~1\appdata\local\temp\pip-r_z19j-build\setup.py) egg_info for package from git+https://github.com/3drobotics/dronekit-sitl-runner
Requirement already satisfied (use --upgrade to upgrade): dronekit-sitl==2.0.1 from git+https://github.com/3drobotics/dronekit-sitl-runner in c:\python27\lib\site-package
Requirement already satisfied (use --upgrade to upgrade): psutil>=3.0 in c:\python27\lib\site-packages (from dronekit-sitl==2.0.1)
Cleaning up...
Then ran dronekit-sitl copter-3.2.1
. Note error when trying to run SITL, as shown below:
D:\github\testsitlrunner> dronekit-sitl copter-3.2.1
os: win, apm: copter, release: 3.2.1
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/copter/sitl-win-v3.2.1.tar.gz
Extracted.
Execute: ['.\\ArduCopter.elf']
'.\ArduCopter.elf' is not recognized as an internal or external command,
operable program or batch file.
I can load the stock firmware (Copter 3.3) fine on OSX El Capitan, but attempts to load local custom firmware fails on launch.
This:
sudo dronekit-sitl ./ArduCopter-v2.px4
Throws the following exception:
os: osx, local binary: /Users//ardupilot/ArduCopter/ArduCopter-v2.px4
Note: Starting pysim for legacy SITL.
Pysim: /usr/local/opt/python/bin/python2.7 /usr/local/lib/python2.7/site-packages/dronekit_sitl/pysim/sim_wrapper.py --simin=127.0.0.1:5502 --simout=127.0.0.1:5501 --fgout=127.0.0.1:5503 --home=-35.363261,149.165230,584,353 --frame=+
Execute: /Users//ardupilot/ArduCopter/ArduCopter-v2.px4 /Users/______/ardupilot/ArduCopter/ArduCopter-v2.px4
Traceback (most recent call last):
File "/usr/local/bin/dronekit-sitl", line 9, in
load_entry_point('dronekit-sitl==3.0.1', 'console_scripts', 'dronekit-sitl')()
File "/usr/local/lib/python2.7/site-packages/dronekit_sitl/init.py", line 417, in main
sitl.launch(args, verbose=True)
File "/usr/local/lib/python2.7/site-packages/dronekit_sitl/init.py", line 239, in launch
p = Popen([self.path] + args, cwd=wd, shell=sys.platform == 'win32', stdout=PIPE, stderr=PIPE)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
ARMING_CHECK is disabled, and SITL uses test parameters that are flying friendly (unlike sim_vehicle.sh SITL which starts with unfriendly parameters and ARMING_CHECK enabled).
From this comment:
To run dronekit-sitl I end up invoking python -m dronekit_sitl_runner.init which isn't the prettiest (I need to invoke mavproxy similarly through python -m MAVProxy.mavproxy, but at least it looks nicer). The -m flag won't let me name a function to call, so I had to add the following to init.py:
....
After that, python -m dronekit_sitl_runner.init --list works as expected.
The bug is that you should not need to run python -m dronekit_sitl
. Using python -m
should of course be possible.
windows is still a thing, what can we do to support them?
I'm using dronekit-sitl copter
to start my sitl.
Then in another terminal I do: 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
Then I open APM Planner 2.0 (version 2.0.18) and it connects to the vehicle, but after like 10-15 seconds the voice says "Link lost to system 1"... Only if I restart the application I can see updates... but only lasts for 10-15 seconds.
Is there something I need to do to prevent those disconnects?
I uninstalled dronekit-sitl, then re-installed using pip2 install dronekit-sitl -UI
. Then called dronekit-sitl --reset
. I tried all the builds a number of times. I rebooted the computer. Repeatable results below.
The following three downloaded and started fine (ie binding the port). However only one heartbeat was received in all cases on Mission Planner - ie failed with timeout.
dronekit-sitl copter-3.3-rc11
dronekit-sitl copter-3.3-rc5
dronekit-sitl rover-2.50
This failed with an exception:
>dronekit-sitl copter-3.2.1
os: win, apm: copter, release: 3.2.1
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/copter/sitl-win-v3.2.1.tar.gz
Extracted.
Execute: ['.\\ArduCopter.elf']
Starting sketch 'ArduCopter'
ERROR: Floating point exception
Starting SITL input
This one seems to have buggered up paths:
C:\Apps\WinPython-64bit-2.7.10.2\python-2.7.10.amd64>dronekit-sitl plane-3.3.0
os: win, apm: plane, release: 3.3.0
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/plane/sitl-win-v3.3.0.tar.gz
Extracted.
Traceback (most recent call last):
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Apps\WinPython-64bit-2.7.10.2\python-2.7.10.amd64\Scripts\dronekit-sitl.exe\__main__.py", line 9, in <module>
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\site-packages\dronekit\sitl\__init__.py", line 306, in main
sitl.launch(args, verbose=True, local=local)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\site-packages\dronekit\sitl\__init__.py", line 148, in launch
elf = open(os.path.join(wd, args[0])).read()
IOError: [Errno 2] No such file or directory: 'C:\\Apps\\WinPython-64bit-2.7.10.2\\settings\\.dronekit\\sitl\\plane-3.3.0\\.\\ArduPlane.elf'
This one failed to download:
>dronekit-sitl solo-1.1.46
os: win, apm: solo, release: 1.1.46
Downloading SITL from http://d3jdmgrrydviou.cloudfront.net/solo/sitl-win-v1.1.46.tar.gz
Traceback (most recent call last):
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Apps\WinPython-64bit-2.7.10.2\python-2.7.10.amd64\Scripts\dronekit-sitl.exe\__main__.py", line 9, in <module>
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\site-packages\dronekit\sitl\__init__.py", line 304, in main
sitl.download(target, verbose=True)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\site-packages\dronekit\sitl\__init__.py", line 119, in download
return download(self.system, self.version, target, verbose=verbose)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\site-packages\dronekit\sitl\__init__.py", line 97, in download
testfile.retrieve(sitl_file, sitl_target + '/sitl.tar.gz')
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\urllib.py", line 245, in retrieve
fp = self.open(url, data)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\urllib.py", line 213, in open
return getattr(self, name)(url)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\urllib.py", line 364, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\urllib.py", line 381, in http_error
return self.http_error_default(url, fp, errcode, errmsg, headers)
File "c:\apps\winpython-64bit-2.7.10.2\python-2.7.10.amd64\lib\urllib.py", line 386, in http_error_default
raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 404, 'Not Found', <httplib.HTTPMessage instance at 0x00000000029B2A08>)
Currently this has copter-3.3-rc5 which is now quite "old":
The Windows versions were generated with wrong directories and manually fixed. The OS X versions don't seem to all target GCC.
Need to fix the Windows builder and re-run the OS X builds.
If you run dronekit-sitl
or dronekit-sitl --help
you get the following options:
ubuntu@ubuntu:~$ dronekit-sitl
Please specify one of:
dronekit-sitl --list
dronekit-sitl --reset
dronekit-sitl <copter(-version)>
dronekit-sitl <plane(-version)>
However I can see from your example I can actually specify more options (model, home, IO, s):
dronekit-sitl copter-3.4-dev -I0 -S --model quad --home=-35.363261,149.165230,584,353
Is there a list of all options we can pass anywhere?
The help above and the readme.md should make it clear that there are additional commands that can be supported.
This comment shows how to set up a local build. This needs to be put into Readme
I'd do it myself but couldn't get things to work so can't test - #29
After getting a sitl session set up, I kept getting the error "rc not calibrated". Loading params with param load <ardupilot>\Tools\autotest\copter_params.parm
fixed the problem. It would be nice to have these auto-loaded. If that is not doable, an extra sentence in the readme to remind users to load params would be good.
To set up SITL you call the following lines( in separate terminals):
dronekit-sitl copter-3.4-dev -I0 -S --model quad --home=-35.363261,149.165230,584,353
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
The first line starts SITL which only exposes its TCP connection and waits.
The second line spawns an instance of mavproxy that connects SITL TCP and forwards packets to UDP localhost.
The requirement is that dronekit-sitle-runner spawn mavproxy for you. This would be more like using the familiar sim_vehicle.sh
See debug output below.
C:\Program Files>pip list
pip (7.1.2)
setuptools (18.2)
C:\Program Files>pip install dronekit-sitl -UI
Collecting dronekit-sitl
Using cached dronekit_sitl-3.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\hamis\AppData\Local\Temp\pip-build-u2ghls8d\dronekit-sitl\setup.py", line 32
print 'Cleared cached SITL binaries.'
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\hamis\AppData\Local\Temp\pip-build-u2ghls8d\dronekit-sitl
Similarly, when tried using github version got permission denied errors.
C:\Program Files>pip install git+https://github.com/dronekit/dronekit-sitl
Collecting git+https://github.com/dronekit/dronekit-sitl
Cloning https://github.com/dronekit/dronekit-sitl to c:\users\hamis\appdata\local\temp\pip-w5aohs6v-buil
Collecting psutil>=3.0 (from dronekit-sitl==3.0.1)
Downloading psutil-3.4.1-cp35-none-win_amd64.whl (96kB)
100% |################################| 98kB 927kB/s
Collecting dronekit>=2.0.0b6 (from dronekit-sitl==3.0.1)
Downloading dronekit-2.1.0b1.tar.gz
Collecting six>=1.10 (from dronekit-sitl==3.0.1)
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting pymavlink>=1.1.62 (from dronekit>=2.0.0b6->dronekit-sitl==3.0.1)
Downloading pymavlink-1.1.67.tar.gz (1.8MB)
100% |################################| 1.8MB 132kB/s
Collecting requests<=2.99999,>=2.5.0 (from dronekit>=2.0.0b6->dronekit-sitl==3.0.1)
Using cached requests-2.9.1-py2.py3-none-any.whl
Installing collected packages: psutil, pymavlink, requests, dronekit, six, dronekit-sitl
Exception:
Traceback (most recent call last):
File "C:\Program Files\Python35\lib\site-packages\pip\basecommand.py", line 211, in main
status = self.run(options, args)
File "C:\Program Files\Python35\lib\site-packages\pip\commands\install.py", line 311, in run
root=options.root_path,
File "C:\Program Files\Python35\lib\site-packages\pip\req\req_set.py", line 646, in install
**kwargs
File "C:\Program Files\Python35\lib\site-packages\pip\req\req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "C:\Program Files\Python35\lib\site-packages\pip\req\req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "C:\Program Files\Python35\lib\site-packages\pip\wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "C:\Program Files\Python35\lib\site-packages\pip\wheel.py", line 310, in clobber
ensure_dir(destdir)
File "C:\Program Files\Python35\lib\site-packages\pip\utils\__init__.py", line 71, in ensure_dir
os.makedirs(path)
File "C:\Program Files\Python35\lib\os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Python35\\Lib\\site-packages\\psutil'
Rather than have a parameter list, it is cheaper and more consistent to package a default eeprom file with the SITL runner.
Following on from #34 I retested connections. The following call fails to connect over tcp from Mission Planner. I can see that a connection is briefly made (the listen port number updates from 5760 to 5763 and MP reports "Only one heartbeat supplied). I can also see that the default --home
location is supplied as expected:
dronekit-sitl copter-3.3-rc11
I can connect if I supply the model as shown below:
dronekit-sitl copter-3.3-rc11 --model quad
So we need to supply model as well. Note, I assume that rover/plane don't have a "model" but they may. We need to check passing an invalid default to them doesn't cause problems.
Note - same problem/fix on the solo build too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.