mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-16 14:54:59 +00:00
Improve file headers
This commit is contained in:
parent
f83b01f65f
commit
21e61ed262
@ -1,13 +1,32 @@
|
||||
/*
|
||||
/*!
|
||||
* \file bits.c
|
||||
* \author Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2013, 2016 Swift Navigation Inc.
|
||||
* Contact: Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "bits.h"
|
||||
|
@ -1,13 +1,32 @@
|
||||
/*
|
||||
/*!
|
||||
* \file bits.h
|
||||
* \author Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2013, 2016 Swift Navigation Inc.
|
||||
* Contact: Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBSWIFTNAV_BITS_H
|
||||
|
@ -1,15 +1,36 @@
|
||||
/*
|
||||
/*!
|
||||
* \file cnav_msg.c
|
||||
* \author Valeri Atamaniouk <valeri@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2016 Swift Navigation Inc.
|
||||
* Contact: Valeri Atamaniouk <valeri@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "edc.h"
|
||||
#include "bits.h"
|
||||
#include "cnav_msg.h"
|
||||
|
@ -1,15 +1,35 @@
|
||||
/*
|
||||
/*!
|
||||
* \file cnav_msg.h
|
||||
* \author Valeri Atamaniouk <valeri@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2016 Swift Navigation Inc.
|
||||
* Contact: Valeri Atamaniouk <valeri@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef LIBSWIFTNAV_CNAV_MSG_H
|
||||
#define LIBSWIFTNAV_CNAV_MSG_H
|
||||
|
||||
|
@ -1,13 +1,32 @@
|
||||
/*
|
||||
/*!
|
||||
* \file edc.c
|
||||
* \author Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2010 Swift Navigation Inc.
|
||||
* Contact: Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "edc.h"
|
||||
|
@ -1,15 +1,35 @@
|
||||
/*
|
||||
/*!
|
||||
* \file edc.h
|
||||
* \author Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2010 Swift Navigation Inc.
|
||||
* Contact: Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef LIBSWIFTNAV_EDC_H
|
||||
#define LIBSWIFTNAV_EDC_H
|
||||
|
||||
|
@ -1,10 +1,36 @@
|
||||
/* User include file for libfec
|
||||
* Copyright 2004, Phil Karn, KA9Q
|
||||
* May be used under the terms of the GNU Lesser General Public License (LGPL)
|
||||
/*!
|
||||
* \file fec.h
|
||||
* \author Phil Karn, KA9Q
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2004, Phil Karn, KA9Q
|
||||
*
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _FEC_H_
|
||||
#define _FEC_H_
|
||||
|
||||
#ifndef LIBSWIFTNAV_FEC_H_
|
||||
#define LIBSWIFTNAV_FEC_H_
|
||||
|
||||
/* r=1/2 k=7 convolutional encoder polynomials
|
||||
* The NASA-DSN convention is to use V27POLYA inverted, then V27POLYB
|
||||
|
@ -1,16 +1,37 @@
|
||||
/*
|
||||
/*!
|
||||
* \file swift_common.h
|
||||
* \author Henry Hallam <henry@swift-nav.com>
|
||||
* Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2012 Swift Navigation Inc.
|
||||
* Contact: Henry Hallam <henry@swift-nav.com>
|
||||
* Fergus Noble <fergus@swift-nav.com>
|
||||
*
|
||||
* This source is subject to the license found in the file 'LICENSE' which must
|
||||
* be be distributed together with this source. All other rights reserved.
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef LIBSWIFTNAV_COMMON_H
|
||||
#define LIBSWIFTNAV_COMMON_H
|
||||
|
||||
|
@ -1,10 +1,36 @@
|
||||
/* K=7 r=1/2 Viterbi decoder in portable C
|
||||
* Copyright Feb 2004, Phil Karn, KA9Q
|
||||
* May be used under the terms of the GNU Lesser General Public License (LGPL)
|
||||
/*!
|
||||
* \file viterbi27.c
|
||||
* \author Phil Karn, KA9Q
|
||||
* \brief K=7 r=1/2 Viterbi decoder in portable C
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
* This file was originally borrowed from libswiftnav
|
||||
* <https://github.com/swift-nav/libswiftnav>,
|
||||
* a portable C library implementing GNSS related functions and algorithms,
|
||||
* and then modified by J. Arribas and C. Fernandez
|
||||
*
|
||||
* Copyright (C) 2004, Phil Karn, KA9Q
|
||||
*
|
||||
* GNSS-SDR is a software defined Global Navigation
|
||||
* Satellite Systems receiver
|
||||
*
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* This file is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as
|
||||
* published by the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Lesser Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "fec.h"
|
||||
|
||||
static inline int parity(int x)
|
||||
|
Loading…
Reference in New Issue
Block a user