Giter VIP home page Giter VIP logo

fakegps-docker's Introduction

fakegps-docker

Docker container with N210/B210/B200-mini

Requirements

Docker 1.9.1 (aufs)


# docker info

Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 31
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.2.0-19-generic
Operating System: Ubuntu 15.10
CPUs: 1


Ubuntu 14.04 LTS (or later)
gnuradio-3.7.8.1 (or later)
UHD-3.9.0 (or later)


=first of all you need to have admin privileges

$ sudo su -

=setup Docker

# curl -sSL https://get.docker.com | sh
# docker run -i -t --name="fakegps_usrp" --privileged -v /dev/bus/usb:/dev/bus/usb ubuntu:14.04 /bin/bash

# apt update
# apt upgrade -y
# apt install vim -y

<Enter Running Container>

=Give terimal some color

# sed -i 's/#force_color_prompt=yes/force_color_prompt=yes/g' '/root/.bashrc'

=Install PyBOMBS

# apt-get install python-pip
# pip install -U pip
# pip install PyBOMBS
# pybombs prefix init /usr/local -a usrlocal
# pybombs config default_prefix /usr/local
# pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
# pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
# pybombs -v install uhd gnuradio
# ldconfig

=Download uhd images

# /usr/local/lib/uhd/utils/uhd_images_downloader.py

=Test

# uhd_usrp_probe

~ gps-sdr-sim (latest)

# git clone https://github.com/osqzss/gps-sdr-sim
# cd gps-sdr-sim/
# apt-get install gcc
# gcc gpssim.c -lm -O3 -o gps-sdr-sim
# rm gpssim.bin; ./gps-sdr-sim -e brdc3540.14n -l 22.3089337,113.9296219,100 -s 2500000 -b 8
# ./gps-sdr-sim-uhd.py -t gpssim.bin -s 2500000 -x 1000

----commit docker's container

sudo docker commit -m="ORAL" -a="SyA" ec07a43b236a usrp/fakegps_oral

fakegps-docker's People

Contributors

syneart avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.