Skip to content

Commit

Permalink
last minute fixes and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpdx committed Apr 25, 2021
1 parent 52881a4 commit 8a38ddf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
oresat-gps (0.1.2-0) unstable; urgency=high

* last minute bug fixes

-- PSAS <oresat@pdx.edu> Sun, 25 Apr 2021 03:45:33 -0700

oresat-gps (0.1.1-0) unstable; urgency=high

* bug fixes from real data
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Homepage: https://github.com/oresat/oresat-gps-software

Package: oresat-gps
Architecture: all
Depends: libsystemd-dev, python3, python3-pydbus, python3-serial
Depends: libsystemd-dev, python3, python3-pydbus, python3-serial, python3-setuptools
Description: A quick gps daemon with a D-Bus interface.
2 changes: 1 addition & 1 deletion oresat-gpsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=OreSat SDR GPS

[Service]
Type=forking
PIDFile=/run/oresat-gps.pid
PIDFile=/run/oresat-gpsd.pid
ExecStart=/usr/bin/oresat-gps -d -s
Restart=on-failure
User=root
Expand Down
10 changes: 5 additions & 5 deletions oresat_gps/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def main():
"""The main for the oresat linux gps daemon"""

ret = 0
pid_file = "/run/oresat-linux-gpsd.pid"
pid_file = "/run/oresat-gpsd.pid"

parser = ArgumentParser()
parser.add_argument("-d", "--daemon", action="store_true",
Expand All @@ -78,7 +78,7 @@ def main():
parser.add_argument("-s", "--sync", action="store_true",
help="sync the system time on 1st lock")
parser.add_argument("-m", "--mock", metavar="FILE", type=str,
help="mock skytraq with file")
default="", help="mock skytraq with file")
args = parser.parse_args()

if args.daemon:
Expand All @@ -97,6 +97,9 @@ def main():

log = logging.getLogger('oresat-gpsd')

if args.mock == "":
power_on()

# make gps
gps = GPSServer(log, sync_time=args.sync, mock=args.mock)

Expand All @@ -105,9 +108,6 @@ def main():
bus.publish(DBUS_INTERFACE_NAME, gps)
loop = GLib.MainLoop()

if args.mock == "":
power_on()

try:
gps.run()
loop.run()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="oresat-gps",
version="0.1.1",
version="0.1.2",
author="PSAS",
author_email="oresat@pdx.edu",
license="GPL-3.0",
Expand Down

0 comments on commit 8a38ddf

Please sign in to comment.