Skip to content

Commit

Permalink
Adding matlab file to manifest and updating import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
chiranthsiddappa committed Jul 18, 2018
1 parent 5ce3f79 commit 0105be5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.md
include requirements.txt
include plotting.txt
include logo_hi.png
include logo_hi.png
include docs/source/nb_examples/SonarAlt.mat
8 changes: 7 additions & 1 deletion gps_helper/simulator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import numpy as np
from scipy.io import loadmat
import os
import warnings
try:
from scipy.io import loadmat
except ImportError:
warnings.warn("scipy was not found; used for GetSonar")


class GetVoltage(object):
Expand Down Expand Up @@ -140,6 +144,8 @@ class GetSonar(object):
A class for playing back sonar altitude measurements as found in Kim 2.4
and later used in Kim 11.5
This example requires the scipy package to load a .mat file.
Mark Wickert December 2017
"""

Expand Down

0 comments on commit 0105be5

Please sign in to comment.