The GNU Radio Toolkit Martin Braun, Ettus Research FOSDEM January - - PowerPoint PPT Presentation

the gnu radio toolkit
SMART_READER_LITE
LIVE PREVIEW

The GNU Radio Toolkit Martin Braun, Ettus Research FOSDEM January - - PowerPoint PPT Presentation

The GNU Radio Toolkit Martin Braun, Ettus Research FOSDEM January 2016 (Martin Braun, Ettus Research) The GNU Radio Toolkit 1 / 21 Installation Outline Installation 1 Resources 2 Starting to Code 3 Becoming a Developer 4 The


slide-1
SLIDE 1

The GNU Radio Toolkit

Martin Braun, Ettus Research

FOSDEM January 2016

(Martin Braun, Ettus Research) The GNU Radio Toolkit 1 / 21

slide-2
SLIDE 2

Installation

Outline

1

Installation

2

Resources

3

Starting to Code

4

Becoming a Developer

5

The Community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 2 / 21

slide-3
SLIDE 3

Installation

Top 4 easiest ways to install GNU Radio

1

The GNU Radio Live DVD

(Martin Braun, Ettus Research) The GNU Radio Toolkit 3 / 21

slide-4
SLIDE 4

Installation

Top 4 easiest ways to install GNU Radio

1

The GNU Radio Live DVD

2

apt-get install gnuradio — use your package manager, Synaptic or whatever

(Martin Braun, Ettus Research) The GNU Radio Toolkit 3 / 21

slide-5
SLIDE 5

Installation

Top 4 easiest ways to install GNU Radio

1

The GNU Radio Live DVD

2

apt-get install gnuradio — use your package manager, Synaptic or whatever

3

PyBOMBS

(Martin Braun, Ettus Research) The GNU Radio Toolkit 3 / 21

slide-6
SLIDE 6

Installation

Top 4 easiest ways to install GNU Radio

1

The GNU Radio Live DVD

2

apt-get install gnuradio — use your package manager, Synaptic or whatever

3

PyBOMBS

4

Source Builds

(Martin Braun, Ettus Research) The GNU Radio Toolkit 3 / 21

slide-7
SLIDE 7

Installation

PyBOMBS — The apt-get of GNU Radio

Installs GNU Radio, Hardware Drivers and OOTs for you! Sets up environment variables etc. for you! Available at: http://gnuradio.org/pybombs Modules are added by PyBOMBS maintainers in form of lightweight recipes PyBOMBS 2.0 just released!

(Martin Braun, Ettus Research) The GNU Radio Toolkit 4 / 21

slide-8
SLIDE 8

Installation

PyBOMBS 2.0

Still Fresh New Features:

Installable Multiple prefixes, each with its own configuration Multiple recipe remotes, per system, per user or per prefix Easy cross-compiling

Action happening at: github.com/gnuradio/pybombs

(Martin Braun, Ettus Research) The GNU Radio Toolkit 5 / 21

slide-9
SLIDE 9

Installation

Source Builds

Useful for development on GNU Radio itself Requirements:

1

Install all dependencies (Boost, UHD, QT, . . . )

2

Run cmake && make && make install

3

Et Voil` a! You’re done! (or not)

(Martin Braun, Ettus Research) The GNU Radio Toolkit 6 / 21

slide-10
SLIDE 10

Resources

Outline

1

Installation

2

Resources

3

Starting to Code

4

Becoming a Developer

5

The Community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 7 / 21

slide-11
SLIDE 11

Resources

GNU Radio Companion

Graphical front-end for GNU Radio (its face) Powerful graphical widgets for live inspection of signals/data Ignore GRC at your own peril

(Martin Braun, Ettus Research) The GNU Radio Toolkit 8 / 21

slide-12
SLIDE 12

Resources

CGRAN

http://cgran.org Spiritual Cousin of CTAN, CPAN. . . Recently rewritten by the CGRAN Special Forces (main contributors: Nathan + Ravi) Easy access to the entire free & open software radio ecosystem Automatically generated website listing most OOT modules Between CGRAN and PyBOMBS, finding and installing modules should be a simple task

(Martin Braun, Ettus Research) The GNU Radio Toolkit 9 / 21

slide-13
SLIDE 13

Resources

First Steps: Guided Tutorials

Gentle introduction to GNU Radio (and even some DSP) Find these online on our wiki Comes with a free set of codes: gr-tutorial

(Martin Braun, Ettus Research) The GNU Radio Toolkit 10 / 21

slide-14
SLIDE 14

Resources

Where do I learn about these blocks?

Read our fine manual!

http://gnuradio.org/doc/

All blocks are browsable through several paths, and searchable GRC provides docs, too

(Martin Braun, Ettus Research) The GNU Radio Toolkit 11 / 21

slide-15
SLIDE 15

Starting to Code

Outline

1

Installation

2

Resources

3

Starting to Code

4

Becoming a Developer

5

The Community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 12 / 21

slide-16
SLIDE 16

Starting to Code

gr modtool — The Swiss Army Knife of modules

Modify and create your OOTs from the command line

Unfortunately, only the command line at this time

Create, remove, disable, enable blocks Never write any boilerplate code again!

(Martin Braun, Ettus Research) The GNU Radio Toolkit 13 / 21

slide-17
SLIDE 17

Starting to Code

Writing blocks: A core skill of developing SDR

gr modtool tries to make this as easy as possible Languages available:

Python, for fast & easy dev C++, for highest performance

(Martin Braun, Ettus Research) The GNU Radio Toolkit 14 / 21

slide-18
SLIDE 18

Starting to Code

Where do I learn how to use all these blocks?

Where do I learn how to do all this wireless communications stuff? Which codez do I put into my <+ do signal processing here +>?

(Martin Braun, Ettus Research) The GNU Radio Toolkit 15 / 21

slide-19
SLIDE 19

Starting to Code

Getting Help — Interacting with other People

discuss-gnuradio, usrp-users mailing lists Very responsive! IRC: #gnuradio on Freenode Join the discussions! But first, read the wiki page on reporting errors, etc.!

(Martin Braun, Ettus Research) The GNU Radio Toolkit 16 / 21

slide-20
SLIDE 20

Becoming a Developer

Outline

1

Installation

2

Resources

3

Starting to Code

4

Becoming a Developer

5

The Community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 17 / 21

slide-21
SLIDE 21

Becoming a Developer

Improving GNU Radio

You’ve found a bug? Something’s bothering you? Fix it!

Actual bugs Missing features Bad docs Unintuitive coding

(Martin Braun, Ettus Research) The GNU Radio Toolkit 18 / 21

slide-22
SLIDE 22

The Community

Outline

1

Installation

2

Resources

3

Starting to Code

4

Becoming a Developer

5

The Community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 19 / 21

slide-23
SLIDE 23

The Community

The Community

There’s a big community, join it! Buy shirts: gnuradio.spreadshirt.de There’s the conference, and also local meetings,

  • hackfests. . .

(Martin Braun, Ettus Research) The GNU Radio Toolkit 20 / 21

slide-24
SLIDE 24

The Community

Conclusion

SDR is a very hard topic But GNU Radio is there to make it easier Getting started with GNU Radio, writing first blocks etc. is well documented at this point

(and if it’s not, maybe you can help us improve it!)

And after that, we have a great community

(Martin Braun, Ettus Research) The GNU Radio Toolkit 21 / 21