Skip to content

hsfl/li3-interface-teensy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defining here the layout of the program
---------------------------------------
src/main.cpp is the entrypoint, it spawns four threads: 
- Li-3 RX recv
- Li-3 TX recv/send
- iobc recv
Each of the Lithium-3 radios need a recv thread for listening
for responses from radio-commanding packets.
The RX recv thread additionally will be receiving packets from the ground,
and the TX needs an additional send thread for transmitting packets down to the ground.
Any packet or response from the radio gets passed to the main queue.
The iobc recv thread listens on the UART serial port connected to the iobc,
and either forwards any transmit-type packets intended for the ground to the TX send queue,
or pushes it to the main queue for internal processing.
The main queue holds either command-type packets intended for processing within this program,
or are packets that are received from ground that must be forwarded to the iobc.

In summary:
-----------
radio_recv: (RX, TX)
packets -> main_queue

radio_send: (TX)
for packet in send_queue: transmit packet down to ground

iobc_recv:
packets-> main_queue

main thread:
for packet in main_queue: process packet


------

See the build.log file for the output of a successful build, which will have the versions
of the various frameworks and packages that were used. Refer to it if necessary if builds
do not work in the future.

About

Program for a teensy to control packets to/from two Lithium-3 radios

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors