Git Product home page Git Product logo

gr-ais's People

Contributors

bistromath avatar csete avatar devnulling avatar johnboiles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr-ais's Issues

Doesn't build against Gnu Radio 3.7.6

Seems Gnu Radio likes changing things frequently :-(
CMake Error at CMakeLists.txt:114 (find_package):
Could not find a configuration file for package "Gnuradio" that is
compatible with requested version "3.7.6".

The following configuration files were considered but not accepted:

/usr/lib/arm-linux-gnueabihf/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.2.1

Woops, things we backwards

GNU Radio 3.7

I am trying to build this against GNU Radio 3.7 and cmake is failing to find both GRUEL and GNURADIO_CORE:
-- Could NOT find GRUEL (missing: GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS)
-- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:90 (message):
Gruel required to compile gr_ais

It looks like these were removed/consolidated into gnuradio-runtime in 3.7: http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7

Am I missing something/off base here? Is there any plan/work to update gr-ais to 3.7, or am I better of going back to 3.6. I am building this on Debian wheezy running on a RaspberryPi if that makes a difference..
Thanks for your time and any information you can provide.
-Jesse

error checking

I'm getting huge numbers of false detections with obviously erroneous decoding. Does AIS not transmit a CRC with every sentence, like e.g. ADS-B? If so, it would probably be good to implement this in the decoder and give the option of throwing away corrupt data.

Doesn't work with Gnuradio 3.8

I tried to install with GR3.8 and it doesn't work. I see you mention this here - but as I see no changes in master or a suitably named branch, I assume this hasn't happened yet?

Thanks,

Matt

Cannot build on OS X - volk issue?

Alderaan:~/Development/Radio/gnuradio/gr-ais/build make
[ 4%] Linking CXX shared library libgnuradio-ais.dylib
Undefined symbols for architecture x86_64:
"_volk_32fc_magnitude_squared_32f", referenced from:
gr::ais::corr_est_cc_impl::work(int, std::__1::vector<void const*, std::__1::allocator<void const*> >&, std::__1::vector<void*, std::__1::allocator<void*> >&) in corr_est_cc_impl.cc.o
"_volk_free", referenced from:
gr::ais::corr_est_cc_impl::~corr_est_cc_impl() in corr_est_cc_impl.cc.o
"_volk_get_alignment", referenced from:
gr::ais::corr_est_cc_impl::corr_est_cc_impl(std::__1::vectorstd::__1::complex<float, std::__1::allocatorstd::__1::complex > const&, float, unsigned int, float) in corr_est_cc_impl.cc.o
gr::ais::corr_est_cc_impl::corr_est_cc_impl(std::__1::vectorstd::__1::complex<float, std::__1::allocatorstd::__1::complex > const&, float, unsigned int, float) in corr_est_cc_impl.cc.o
"_volk_malloc", referenced from:
gr::ais::corr_est_cc_impl::corr_est_cc_impl(std::__1::vectorstd::__1::complex<float, std::__1::allocatorstd::__1::complex > const&, float, unsigned int, float) in corr_est_cc_impl.cc.o
gr::ais::corr_est_cc_impl::corr_est_cc_impl(std::__1::vectorstd::__1::complex<float, std::__1::allocatorstd::__1::complex > const&, float, unsigned int, float) in corr_est_cc_impl.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libgnuradio-ais.dylib] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-ais.dir/all] Error 2
make: *** [all] Error 2

Update README

Hi, please update the README to reflect the following change:

"Rename ais_decode.py to ais_rx.py and do a little demodulator tweaking."

Thanks

Update Install

Hi,
I would like to implement an AIS receiver using my USRP B210 with your software platform. However, when I clone gr-ais, make a build directory, and build gr-ais, there are missing blocks in GnuRadio-Companion. Can you please provide install instructions as well as procedure to run? I am running with Gnuradio 3.7.7.1.

Thanks,
Kyle

Output missing from ais_rx python script

So I was able to get the ais_rx python script to run successfully but I don't know how to determine whether or not it received the data. I noticed that in the old GRC file, that a message debug block was used to redirect message output. Is there a location on the file system where the output is generated?

Python naming conflict with libais

The name of the Python module is simply "ais"; this conflicts with libais, which can parse AIS messages using a Python wrapper.

I'd like to use both gr-ais and libais using GR3.8 and Python 3.8+, as they are complimentary, but am running into issues trying to import them both.

I'm currently reading up on the correct way to import Python modules by path and reading up on/trying to use the importlib API, but if someone has already solved this issue I'm all ears. I also wanted to bring it up in case refactoring this module to use a less generic name could make sense.

Problem with "import gnuradio.ais"

Hello. When compiling, an error saying that python “cannot import name ‘ais’ from ‘gnuradio’” appears. We believe that the python path is set correctly, and that gnuradio does not have the AIS module. The python path is set in “/usr/local/lib/python3/dist-packages”.
Is there anything else that needs to be configured?

PDU to NMEA Compile Error

Hello,

I am trying to compile the latest git revision but I get the following error:

/gr-ais/lib/pdu_to_nmea_impl.cc:119:46: error: ‘snprintf’ was not declared in this scope
snprintf(wat, 3, "%02X", checksum); //NMEA 0183 checksum

I don't think that is related at all to my config. (I am using latest Gnu Radio 3.7 from git) Let me know what information could be useful to sort out this.

I tried to compile with the options: mkdir build, cd build, cmake .., make

Thank you,

Luis

GNU Radio 3.9

Hello, I have seen previous issues in which a future version of this repository for GNU Radio 3.9 was mentioned. Is this a reality already? I've seen the "grc" branch mentions that either GNU Radio 3.8 or GNU Radio 3.9 should work, but I didn't have any luck with GNU Radio 3.9 and I was wondering if it was me or the repo is not updated to that version yet.

Installation does not work with cmake

After installation running ais_rx fails:


> ais_rx.py
Traceback (most recent call last):
  File "/usr/local/bin/ais_rx.py", line 13, in 
    from gr_ais.ais_demod import *
  File "/usr/local/lib/python2.6/dist-packages/gr_ais/ais_demod.py", line 15, in 
    from gnuradio import ais
ImportError: cannot import name ais

There is one suspicious directory after installing:

/usr/local/$(GR_INCLUDE_DIR)/gr_ais/swig

But even changing

DESTINATION $(GR_INCLUDE_DIR)/gr_ais/swig

to

DESTINATION ${GR_INCLUDE_DIR}/gr_ais/swig

in swig/CMakeLists.txt and rebuilding does not fix the first error.

Cmake error while building to GR0.8

Hi, I'm trying to build this module like other OOT modules using:
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

However, during the third step (cmake ..) I am receiving the following fatal error:
Generating doxygen xml for ais_swig_doc docs
warning: Tag SYMBOL_CACHE_SIZE' at line 289 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag SHOW_DIRECTORIES' at line 477 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag HTML_ALIGN_MEMBERS' at line 803 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag USE_INLINE_TREES' at line 956 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag XML_SCHEMA' at line 1149 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag XML_DTD' at line 1155 of file /usr/gr-ais/build/swig/ais_swig_doc_swig_docs/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
[ 52%] Generating python docstrings for ais_swig_doc
Traceback (most recent call last):
File "/usr/gr-ais/docs/doxygen/swig_doc.py", line 33, in
from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile, base
File "/usr/gr-ais/docs/doxygen/doxyxml/init.py", line 67, in
from doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
ModuleNotFoundError: No module named 'doxyindex'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/gr-ais/docs/doxygen/swig_doc.py", line 35, in
from gnuradio.doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile, base
ModuleNotFoundError: No module named 'gnuradio'
swig/CMakeFiles/ais_swig_swig_doc.dir/build.make:60: recipe for target 'swig/ais_swig_doc.i' failed
make[2]: *** [swig/ais_swig_doc.i] Error 1
CMakeFiles/Makefile2:196: recipe for target 'swig/CMakeFiles/ais_swig_swig_doc.dir/all' failed
make[1]: *** [swig/CMakeFiles/ais_swig_swig_doc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I'd appreciate any help, thanks.

ImportError: No module named ais_swig

When I run this:

$ ais_rx -dosmocom -g35 -r250e3 > ais_pipe

I get this:

Traceback (most recent call last):
  File "/usr/local/bin/ais_rx", line 7, in <module>
    import ais
  File "/usr/local/lib/python2.7/dist-packages/ais/__init__.py", line 45, in <module>
    from ais_swig import *
ImportError: No module named ais_swig

I didn't find any swig libraries in /usr/local/lib. If it'll make a difference, I'm using the commit 1813242 so that it'll work with gnuradio 3.7.5.

Boost required to compile ais

Hi, I am not able to compile, getting the following error:

`vnc@Plotter:~/gr-ais/build$ cmake ../
-- Build type not specified: defaulting to release.
CMake Warning at /usr/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.7/Modules/FindBoost.cmake:1470 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:60 (find_package)

CMake Warning at /usr/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.7/Modules/FindBoost.cmake:1470 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:60 (find_package)

-- Could NOT find Boost
CMake Error at CMakeLists.txt:63 (message):
Boost required to compile ais

What am I doing wrong?`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.