[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
* template: $template
|
||||
plugin $seedlink.source.id cmd="$seedlink.plugin_dir/echopro_plugin -s $seedlink.station.id -p $sources.echopro.comport"
|
||||
timeout = 0
|
||||
start_retry = 60
|
||||
shutdown_wait = 10
|
||||
proc = "$sources.echopro_6ch200hz.proc"
|
||||
|
22
share/templates/seedlink/echopro_6ch200hz/setup.py
Normal file
22
share/templates/seedlink/echopro_6ch200hz/setup.py
Normal file
@ -0,0 +1,22 @@
|
||||
import os
|
||||
|
||||
'''
|
||||
Plugin handler for the Kelunji EchoPro plugin.
|
||||
'''
|
||||
|
||||
class SeedlinkPluginHandler:
|
||||
# Create defaults
|
||||
def __init__(self): pass
|
||||
|
||||
def push(self, seedlink):
|
||||
# Check and set defaults
|
||||
try: seedlink.param('sources.echopro_6ch200hz.comport')
|
||||
except: seedlink.setParam('sources.echopro_6ch200hz.comport', '/dev/ttyS0')
|
||||
|
||||
try: seedlink.param('sources.echopro_6ch200hz.proc')
|
||||
except: seedlink.setParam('sources.echopro_6ch200hz.proc', 'echopro_200')
|
||||
|
||||
return seedlink.param('sources.echopro_6ch200hz.comport')
|
||||
|
||||
# Flush does nothing
|
||||
def flush(self, seedlink): pass
|
@ -0,0 +1,14 @@
|
||||
<proc name="echopro_200">
|
||||
<tree>
|
||||
<input name="1" channel="Z" location="00" rate="200"/>
|
||||
<input name="2" channel="N" location="00" rate="200"/>
|
||||
<input name="3" channel="E" location="00" rate="200"/>
|
||||
<node stream="HH"/>
|
||||
</tree>
|
||||
<tree>
|
||||
<input name="4" channel="Z" location="00" rate="200"/>
|
||||
<input name="5" channel="N" location="00" rate="200"/>
|
||||
<input name="6" channel="E" location="00" rate="200"/>
|
||||
<node stream="HN"/>
|
||||
</tree>
|
||||
</proc>
|
Reference in New Issue
Block a user