From f1b734c6527a33e798afda962aa8459eea8c90b2 Mon Sep 17 00:00:00 2001 From: Matteo Golin Date: Mon, 3 Jun 2024 21:04:43 -0400 Subject: [PATCH 1/2] Added voltage packet to specification. --- .../sections/packets/blocks/data/data.tex | 4 ++- .../sections/packets/blocks/data/voltage.tex | 26 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 radio-packet-format/sections/packets/blocks/data/voltage.tex diff --git a/radio-packet-format/sections/packets/blocks/data/data.tex b/radio-packet-format/sections/packets/blocks/data/data.tex index 393461a..9ba4a9b 100644 --- a/radio-packet-format/sections/packets/blocks/data/data.tex +++ b/radio-packet-format/sections/packets/blocks/data/data.tex @@ -31,7 +31,8 @@ \subsection{Data Blocks} 0x07 & Angular velocity \\ 0x08 & Humidity \\ 0x09 & Coordinates (latitude and longitude) \\ - 0x0A through 0xFF & Reserved for future use \\ + 0x0A & Voltage \\ + 0x0B through 0xFF & Reserved for future use \\ \bottomrule \end{tabular} \caption{Data Block Subtypes} @@ -47,3 +48,4 @@ \subsection{Data Blocks} \input{sections/packets/blocks/data/angularvel.tex} \input{sections/packets/blocks/data/humidity.tex} \input{sections/packets/blocks/data/coordinates.tex} +\input{sections/packets/blocks/data/voltage.tex} diff --git a/radio-packet-format/sections/packets/blocks/data/voltage.tex b/radio-packet-format/sections/packets/blocks/data/voltage.tex new file mode 100644 index 0000000..26053a7 --- /dev/null +++ b/radio-packet-format/sections/packets/blocks/data/voltage.tex @@ -0,0 +1,26 @@ +\subsubsection{Voltage} + +The voltage data block reports the voltage measured on a specific electrical trace within the rocket. The measurement +is associated with a generic numerical ID for identification by the receiver. This allows multiple voltage points to be +measured within the rocket. The format of the voltage block payload is described in figure \ref{format:telem-voltage}. + +\begin{figure}[H] + \centering + \begin{bytefield}[bitwidth=0.03\linewidth]{32} + \bitheader{0-31} \\ + \wordbox{1}{Measurement Time} \\ + \bitbox{16}{ID} & \bitbox{16}{Voltage} \\ + \end{bytefield} + \caption{Temperature data block format} + \label{format:telem-voltage} +\end{figure} + +\paragraph{Measurement Time} +The mission time when the measurement was taken. + +\paragraph{ID} +A numerical ID associated with the voltage measurement for identification by the receiver. This field is an unsigned 16 +bit integer. + +\paragraph{Voltage} +The measured temperature in units of millivolts. This field is a signed 16 bit integer. From 6abe9889d401ed60409923644a2bd5f0fb4b457b Mon Sep 17 00:00:00 2001 From: Matteo Golin Date: Mon, 3 Jun 2024 21:49:24 -0400 Subject: [PATCH 2/2] Change copy-pasted caption to match. --- radio-packet-format/sections/packets/blocks/data/voltage.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio-packet-format/sections/packets/blocks/data/voltage.tex b/radio-packet-format/sections/packets/blocks/data/voltage.tex index 26053a7..d4c1d70 100644 --- a/radio-packet-format/sections/packets/blocks/data/voltage.tex +++ b/radio-packet-format/sections/packets/blocks/data/voltage.tex @@ -11,7 +11,7 @@ \subsubsection{Voltage} \wordbox{1}{Measurement Time} \\ \bitbox{16}{ID} & \bitbox{16}{Voltage} \\ \end{bytefield} - \caption{Temperature data block format} + \caption{Voltage data block format} \label{format:telem-voltage} \end{figure}