mirror of
https://github.com/nasa/fprime.git
synced 2025-12-16 18:08:06 -06:00
11 lines
444 B
Plaintext
11 lines
444 B
Plaintext
# Run this script to replicate the MathComponent tutorial
|
|
|
|
MS_DO_MATH, 2.0, 3.0, ADD # Add two numbers together
|
|
MR_SET_FACTOR1, 2.0 # Set factor1 to 2.0
|
|
MS_DO_MATH, 2.0, 3.0, ADD # Re-run math operation with new factor1 value
|
|
WAIT, 2 # Wait two seconds
|
|
FACTOR2_PRM_SET, 10.0 # Set factor2 to 10.0
|
|
MS_DO_MATH, 2.0, 3.0, ADD # Re-run math operation with new factor2 value
|
|
FACTOR2_PRM_SAVE # Save parameter
|
|
PRM_SAVE_FILE # Save parameters to disk
|