Skip to content

Instantly share code, notes, and snippets.

@jh4xsy
Created June 7, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jh4xsy/d208efc25c057efad0f40eaf7849011d to your computer and use it in GitHub Desktop.
Save jh4xsy/d208efc25c057efad0f40eaf7849011d to your computer and use it in GitHub Desktop.
gr_satellitesをJO-97のSSDV受像用に改造
options:
parameters:
author: Daniel Estevez
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: no_gui
hier_block_src_path: '.:'
id: satellite_decoder
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: run
sizing_mode: fixed
thread_safe_setters: ''
title: Satellite decoder block example
window_size: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 8]
rotation: 0
state: enabled
blocks:
- name: samp_rate
id: variable
parameters:
comment: ''
value: '48000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [232, 11]
rotation: 0
state: enabled
- name: blocks_file_sink_0
id: blocks_file_sink
parameters:
affinity: ''
alias: ''
append: 'True'
comment: ''
file: /home/jh4xsy/Desktop/work/foo.funcubebin
type: byte
unbuffered: 'True'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [972, 322]
rotation: 0
state: enabled
- name: blocks_message_debug_0
id: blocks_message_debug
parameters:
affinity: ''
alias: ''
comment: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [756, 165]
rotation: 0
state: disabled
- name: blocks_pdu_to_tagged_stream_0
id: blocks_pdu_to_tagged_stream
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
tag: packet_len
type: byte
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [727, 333]
rotation: 0
state: enabled
- name: blocks_short_to_float_0
id: blocks_short_to_float
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
scale: '32767'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [234, 329]
rotation: 0
state: enabled
- name: blocks_udp_source_0
id: blocks_udp_source
parameters:
affinity: ''
alias: ''
comment: ''
eof: 'False'
ipaddr: ip
maxoutbuf: '0'
minoutbuf: '0'
port: port
psize: '1472'
type: short
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [19, 313]
rotation: 0
state: enabled
- name: blocks_wavfile_source_0
id: blocks_wavfile_source
parameters:
affinity: ''
alias: ''
comment: ''
file: ../../satellite-recordings/aausat_4.wav
maxoutbuf: '0'
minoutbuf: '0'
nchan: '1'
repeat: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [150, 217]
rotation: 0
state: disabled
- name: ip
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: UDP listen IP
short_id: ''
type: str
value: '::'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [333, 12]
rotation: 0
state: enabled
- name: port
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: UDP port
short_id: ''
type: intx
value: '7355'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [477, 12]
rotation: 0
state: enabled
- name: satellites_satellite_decoder_0
id: satellites_satellite_decoder
parameters:
affinity: ''
alias: ''
comment: ''
definition: name
file: AAUSAT-4
iq: 'False'
maxoutbuf: '0'
minoutbuf: '0'
name: JY1-Sat
norad: ''
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [429, 209]
rotation: 0
state: true
- name: satellites_telemetry_parser_0
id: satellites_telemetry_parser
parameters:
affinity: ''
alias: ''
comment: ''
definition: funcube
file: ''
output: stdout
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [729, 420]
rotation: 0
state: true
connections:
- [blocks_pdu_to_tagged_stream_0, '0', blocks_file_sink_0, '0']
- [blocks_short_to_float_0, '0', satellites_satellite_decoder_0, '0']
- [blocks_udp_source_0, '0', blocks_short_to_float_0, '0']
- [blocks_wavfile_source_0, '0', satellites_satellite_decoder_0, '0']
- [satellites_satellite_decoder_0, out, blocks_message_debug_0, print_pdu]
- [satellites_satellite_decoder_0, out, blocks_pdu_to_tagged_stream_0, pdus]
- [satellites_satellite_decoder_0, out, satellites_telemetry_parser_0, in]
metadata:
file_format: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment