canberrauav / cuav Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tridge/cuav
CanberraUAV OBC code
License: GNU General Public License v3.0
This project forked from tridge/cuav
CanberraUAV OBC code
License: GNU General Public License v3.0
Hey,
I'd like to use your block_xmit implementation for a project of mine, but the example 'a simple test suite' seems little slow. I was able to speed it up a little by setting packet_count
and max_queue
of the tick method.
Increasing the bandwidth
and chunk_size
helped too, but could you provide an example optimized for performance?
If I set bandwidth to 5MB/s a 600MB file should be sent in about 2 Minutes, but it takes much longer.
With a bandwidth of 100MB/s it takes around 80 Seconds.
bandwidth = 100000000
num_blocks = int(total_size/65535)
chunk_size=65535
packet_count=1000
max_queue=50
Thanks!
creating build/temp.linux-x86_64-2.7/cuav/image
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -
fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -Icuav/camera/include -I/usr/include/python2.7 -c cuav/image/scanner.c -o build/temp.linux-x86_64-2.7/cuav/image/scanner.o -std=gnu99 -O3
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from cuav/image/scanner.c:20:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_AP
I_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
cuav/image/scanner.c:22:31: fatal error: include/imageutil.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Running setup.py bdist_wheel for cuav: finished with status 'error'
Failed building wheel for cuav
To recreate the problem do this:
Some things that need doing:
From all-up test 2018-09-10:
NAV_WAIT_AIRSPACE
NAV_WAIT_AIRSPACE
Install docs say:
On Raspian, libjpeg-turbo8-dev is instead named as libturbojpeg1-dev.
On my Raspian-lite, it's actually libturbojpeg0-dev
. Suggest changing the doc to say libturbojpeg-dev
and let apt-get select the appropriate integer (not sure how that works, but it seems to :)
When I tried to follow the install instructions for Ubuntu (on WSL2) here I ran into the following errors
When attempting to run, "python geosearch.py " the application started but this error appeared in the console, "could not find module piexif" so maybe we also need, "pip3 install --upgrade piexif"
The documented libjpeg-turbo8 dependency is not available on Raspbian (Raspberry Pi Debian). It looks like the package might be called libturbojpeg1-dev, on Raspbian, but not sure.
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.