Skip to content

Commit

Permalink
added files for ambiguity testing
Browse files Browse the repository at this point in the history
  • Loading branch information
imh committed Mar 6, 2014
1 parent 52063f4 commit b9f879b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -131,7 +131,8 @@ def make_extension(ext_name):
'swiftnav.float_kf',
'swiftnav.gpstime',
'swiftnav.single_diff',
'swiftnav.dgnss_management'
'swiftnav.dgnss_management',
'swiftnav.ambiguity_test'
]

extensions = [make_extension(name) for name in ext_names]
Expand Down
13 changes: 13 additions & 0 deletions swiftnav/ambiguity_test.pyx
@@ -0,0 +1,13 @@
# Copyright (C) 2014 Swift Navigation Inc.
#
# 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.
#
# 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.

cimport ambiguity_test_c

def bork(foo):
print foo
20 changes: 20 additions & 0 deletions swiftnav/ambiguity_test_c.pxd
@@ -0,0 +1,20 @@
# Copyright (C) 2014 Swift Navigation Inc.
#
# 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.
#
# 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.


from common cimport *

cdef extern from "libswiftnav/ambiguity_test.h":
ctypedef struct residual_mtxs_t:
u32 res_dim
u8 null_space_dim
double *null_projector
double *res_cov_inverse

void assign_phase_obs_null_basis(u8 num_sats, double *DE_mtx, double *q)

0 comments on commit b9f879b

Please sign in to comment.