Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# In GNU Radio 3.9+, pybind11 compares hash values of headers and source
# files against knowns values. Conversion of values to CRLF on checkout
# break those checks so keep LF values when files are subject to said checks
#
*.h text eol=lf
*.c text eol=lf
*.cc text eol=lf
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if(NOT CMAKE_MODULES_DIR)
set(CMAKE_MODULES_DIR lib${LIB_SUFFIX}/cmake)
endif(NOT CMAKE_MODULES_DIR)

set(GR_INCLUDE_DIR include/radar)
set(GR_INCLUDE_DIR include/gnuradio/radar)
set(GR_CMAKE_DIR ${CMAKE_MODULES_DIR}/gnuradio-radar)
set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME})
set(GR_PKG_DOC_DIR ${GR_DOC_DIR}/${CMAKE_PROJECT_NAME})
Expand Down Expand Up @@ -132,9 +132,10 @@ add_custom_target(uninstall
########################################################################
# Add subdirectories
########################################################################
add_subdirectory(include/radar)
add_subdirectory(include/gnuradio/radar)
add_subdirectory(lib)
add_subdirectory(apps)
add_subdirectory(examples)
add_subdirectory(docs)
# NOTE: manually update below to use GRC to generate C++ flowgraphs w/o python
if(ENABLE_PYTHON)
Expand All @@ -160,3 +161,6 @@ configure_package_config_file(
INSTALL_DESTINATION ${GR_CMAKE_DIR}
)

install(FILES MANIFEST.yml
RENAME MANIFEST-${VERSION_MAJOR}.${VERSION_API}.${VERSION_ABI}${VERSION_PATCH}.yml
DESTINATION share/gnuradio/manifests/radar)
24 changes: 0 additions & 24 deletions MANIFEST.md

This file was deleted.

25 changes: 25 additions & 0 deletions MANIFEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: The RADAR OOT Module
version: 1.0
brief: GNU Radio Radar Toolbox
tags: # Tags are arbitrary, but look at CGRAN what other authors are using
- radar
- UHD
author:
- Stefan Wunsch <stefan.wunsch@student.kit.edu>
copyright_owner:
- Stefan Wunsch
- Communications Engineering Lab (CEL) at Karlsruhe Institute of Technology (KIT)
license: GPL-3.0-or-later
gr_supported_version:
- 3.7
- 3.8
- 3.9
- 3.10
repo: https://github.com/kit-cel/gr-radar
website: https://grradar.wordpress.com
#icon: # Put a URL to a square image here that will be used as an icon
description: |-
The *gr-radar* project provides a toolbox of commonly used radar algorithms. An important part is the *UHD Echotimer*, which enables a synchronized TX and RX stream from USRPs to ensure a constant phase relation in measurements. Example flowgraphs for CW, Dual CW, FSK, FMCW and OFDM radar are given and partly tested on hardware. GUI elements for target representation and further signal processing algorithms such as target tracking are implemented. Check out the project website for example videos and further information.

This project was initiated as a Google Summer of Code project and developed at the *Communication Engineering Lab (CEL)* at the *Karlsruhe Institute of Technology (KIT)*, Germany, <http://www.cel.kit.edu>.
file_format: 1
28 changes: 28 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
install(
FILES simulation/simulator_cw.grc
simulation/simulator_dual_cw_estimation_rcs.grc
simulation/simulator_dual_cw.grc
simulation/simulator_fmcw_rcs.grc
simulation/simulator_fmcw.grc
simulation/simulator_fsk_tracking_singletarget.grc
simulation/simulator_fsk.grc
simulation/simulator_ofdm.grc
simulation/simulator_sync_pulse.grc
tests/test_find_max_peak_c.grc
tests/test_msg_manipulator.grc
tests/test_signal_generator_cw_c.grc
tests/test_signal_generator_fmcw_c.grc
tests/test_split_cc.grc
tests/test_static_target_simulator_cc.grc
tests/test_ts_fft_cc.grc
tests/test_uhd_sink_source_inbuild.grc
tests/test_usrp_echotimer_cc.grc
usrp/usrp_echotimer_cw.grc
usrp/usrp_echotimer_dual_cw_rcs.grc
usrp/usrp_echotimer_dual_cw_tracking.grc
usrp/usrp_echotimer_dual_cw.grc
usrp/usrp_echotimer_fmcw.grc
usrp/usrp_echotimer_fsk_tracking_singletarget.grc
usrp/usrp_echotimer_fsk.grc
usrp/usrp_echotimer_sync_pulse.grc
DESTINATION share/gnuradio/examples/radar)
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ install(FILES
estimator_ofdm.h
estimator_rcs.h
trigger_command.h
DESTINATION include/radar
DESTINATION include/gnuradio/radar
)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_CROP_MATRIX_VCVC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_ESTIMATOR_CW_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_ESTIMATOR_FMCW_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_ESTIMATOR_FSK_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_ESTIMATOR_OFDM_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_ESTIMATOR_RCS_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_ESTIMATOR_SYNC_PULSE_C_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_FIND_MAX_PEAK_C_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_MSG_GATE_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_MSG_MANIPULATOR_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_OFDM_CYCLIC_PREFIX_REMOVER_CVC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_OFDM_DIVIDE_VCVC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_OS_CFAR_2D_VC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_OS_CFAR_C_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_PRINT_RESULTS_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_QTGUI_SCATTER_PLOT_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_QTGUI_SPECTROGRAM_PLOT_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_QTGUI_TIME_PLOT_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_SIGNAL_GENERATOR_CW_C_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_SIGNAL_GENERATOR_FMCW_C_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_SIGNAL_GENERATOR_FSK_C_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_SIGNAL_GENERATOR_SYNC_PULSE_C_H

#include <gnuradio/sync_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_SPLIT_CC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_SPLIT_FSK_CC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_STATIC_TARGET_SIMULATOR_CC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_TRACKING_SINGLETARGET_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_TRANSPOSE_MATRIX_VCVC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define INCLUDED_RADAR_TRIGGER_COMMAND_H

#include <gnuradio/block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_TS_FFT_CC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define INCLUDED_RADAR_USRP_ECHOTIMER_CC_H

#include <gnuradio/tagged_stream_block.h>
#include <radar/api.h>
#include <gnuradio/radar/api.h>

namespace gr {
namespace radar {
Expand Down
Loading