Giter VIP home page Giter VIP logo

ais-decoder's People

Contributors

aduvenhage avatar arnoduvenhage avatar fvdbergh avatar kubark42 avatar rorymmmm 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ais-decoder's Issues

Multi-fragment sentence

A problem with the following messages from Transas simulator:

!AIVDO,2,1,7,,53`t?>@2Dvop4i0P400u>3<0000000000000001JD@>D:3?00Gh00000000,0*7C
$AITXT,1,1,22,AIS: external GNSS in use*41

Might be wrong but still get parsed fine by maritec.co.za

The second one complains on CRC.

Pip Install Requirements.txt issue

I have problems installing the requirements.txt file inside docker. I get "
Installing collected packages: six, python-dateutil, pytz, pandas
Running setup.py install for pandas: started
Running setup.py install for pandas: finished with status 'error'

This can be fixed by having "RUN pip install pandas" and "RUN pip install numpy" in the dockerfile. This seems to be known pip issue.

Windows X64 problem

The __builtin_bswap64 causes problems on Windows (Visual Studio 2022 with cpp 20)
_byteswap_uint64 seems like a solution to this, but I haven't tried yet - will do in a couple of days.
Regards

Python Docker Base image problems

I run into issues when building the python docker container. It seems that the repo for jessie images has moved so doing some apt-get install tasks fail. This can be fixed by changing the base image to python3.6-stretch

Install error

I followed the installation instructions on Ubuntu 20.04:

git clone https://github.com/aduvenhage/ais-decoder.git
mkdir ais-decoder-build
cd ais-decoder-build
cmake ../ais-decoder -DCMAKE_BUILD_TYPE=RELEASE

The last command gave me an error:

$ cmake ../ais-decoder -DCMAKE_BUILD_TYPE=RELEASE
CMake Error: The source directory "/home/steen/radio/ais-decoder/ais-decoder" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

I typed cd .. and the cmake command worked. So I'm not sure what the -build directory is for.

Error building Python module

Hi, I ran into an issue when building the Python module on Windows 10. I am using the Annaconda command prompt because I don't have Python on my Windows PATH.

I have Visual Studio, CMake and SWIG installed (SWIG was installed through Annaconda). I also used Chocolatey to get the 'make' command in setup.py to work on Windows.

I cloned the repository, changed to the 'python' directory and ran 'python setup.py build'. I got the error:

'ais_decoder_wrap.cpp(3132): fatal error C1083: Cannot open include file: 'ais_decoder/ais_quick.h': No such file or directory'.

The directory 'ais_decoder/' was created inside 'python' but it didn't contain ais_quick.h I got the same issue when I tried to building manually with CMake (into the python directory) and then runnning 'python setyp.py install'.

I tried the manual build but wasn't able to get the c++ command to work (I tried installing g++ instead but the installation failed).

This project would be perfect for my task, any help would be greatly appreciated. Thank you!

Error when running python test script

The readme says: "Do the following test:

#!/usr/bin/env python3
import ais_decoder

str = "!AIVDM,1,1,,A,13HOI:0P0000VOHLCnHQKwvL05Ip,0*23\n"
ais_decoder.pushAisSentence(str, len(str))

n = ais_decoder.numAisMessages()
msg = ais_decoder.popAisMessage().asdict()

Running this test gives me

Traceback (most recent call last):
  File "./ais-test.py", line 5, in <module>
    ais_decoder.pushAisSentence(str, len(str))
AttributeError: module 'ais_decoder' has no attribute 'pushAisSentence'

on Ubuntu 20.04.

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.