Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math tutorial #1105

Merged
merged 128 commits into from
Nov 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
9b5bd69
Revise Math Tutorial; add Math Types
bocchino Oct 12, 2021
5580384
Revise Math tutorial
bocchino Oct 12, 2021
4a518b2
Revise math tutorial
bocchino Oct 13, 2021
bfa3b44
Revise Math tutorial
bocchino Oct 13, 2021
6532892
Revert changes to Tutorial.md
bocchino Oct 13, 2021
828ec42
Remove spaces
bocchino Oct 13, 2021
7ef2ec9
Revise math tutorial
bocchino Oct 13, 2021
33d2d3c
Disable spelling for now
bocchino Oct 13, 2021
747df4c
Revert "Disable spelling for now"
bocchino Oct 13, 2021
2739a8a
Revise math tutorial
bocchino Oct 13, 2021
c0b78f4
Revise links
bocchino Oct 13, 2021
f366af9
Add math ports
bocchino Oct 13, 2021
16dca72
Revise math tutorial
bocchino Oct 13, 2021
42f1476
Revise math tutorial
bocchino Oct 13, 2021
bf4f8d0
Revise math tutorial
bocchino Oct 13, 2021
d3bab10
Revise math tutorial
bocchino Oct 13, 2021
4454dc6
Revise math tutorial build
bocchino Oct 13, 2021
51601b0
Add MathSender component
bocchino Oct 13, 2021
0aade4f
Update math tutorial
bocchino Oct 13, 2021
12fbca9
Revise MathSender
bocchino Oct 13, 2021
a0dc033
Revise MathSender interface
bocchino Oct 13, 2021
e649dfa
Revise math tutorial
bocchino Oct 13, 2021
6f2de10
Add MathSender unit tests
bocchino Oct 13, 2021
80f8719
Revise MathSender unit tests
bocchino Oct 13, 2021
d9a9c3d
Revise MathSender unit tests
bocchino Oct 13, 2021
3e96414
Remove extra spaces
bocchino Oct 13, 2021
a7c17fe
Revise MathSender
bocchino Oct 13, 2021
7b1dca0
Revise formatting
bocchino Oct 13, 2021
a97177f
Revise Math Sender
bocchino Oct 13, 2021
ec65b7d
Revise MathSender
bocchino Oct 13, 2021
06b1a8f
Revise math tutorial
bocchino Oct 13, 2021
ff580be
Revise MathSender unit tests
bocchino Oct 13, 2021
2bcfd55
Revise MathSender unit tests
bocchino Oct 13, 2021
7840130
Revise MathSender model
bocchino Oct 13, 2021
e14a186
Revise MathSender
bocchino Oct 13, 2021
c4fccac
Revise math tutorial
bocchino Oct 13, 2021
1281a82
Revise math tutorial
bocchino Oct 13, 2021
84eb739
Revise math tutorial
bocchino Oct 13, 2021
920e573
Revise math tutorial
bocchino Oct 13, 2021
d3ce78c
Revise MathReceiver unit tests
bocchino Oct 13, 2021
25b0d18
Revise MathSender tests
bocchino Oct 13, 2021
aee8e6d
Revise math tutorial
bocchino Oct 13, 2021
45af17a
Revise math tutorial
bocchino Oct 13, 2021
b937f5c
Revise math tutorial
bocchino Oct 13, 2021
e419dd1
Revise math tutorial
bocchino Oct 13, 2021
1e9b0e2
Revise math tutorial
bocchino Oct 13, 2021
581800d
Revise math tutorial
bocchino Oct 13, 2021
fb90969
Update math tutorial
bocchino Oct 13, 2021
c7d2ae7
Add MathReceiver component
bocchino Oct 14, 2021
6ab555d
Revise math tutorial
bocchino Oct 14, 2021
5ef500a
Revise MathReceiver
bocchino Oct 14, 2021
2861231
Revise MathReceiver
bocchino Oct 14, 2021
bb05a19
Revise MathReceiver
bocchino Oct 14, 2021
8cf5fd2
Add stub unit tests to MathReceiver
bocchino Oct 14, 2021
1e8b7fd
Revise MathReceiver unit tests
bocchino Oct 14, 2021
3492ba8
Revise MathReceiver unit tests
bocchino Oct 14, 2021
e0aacad
Revise math tutorial
bocchino Oct 14, 2021
289dd9c
Revise math tutorial
bocchino Oct 14, 2021
f50dd90
Revise math tutorial
bocchino Oct 14, 2021
e6442e6
Revise math tutorial
bocchino Oct 14, 2021
9a843d6
Revise math tutorial
bocchino Oct 14, 2021
d785e58
Update generated code
bocchino Oct 14, 2021
9e8512e
Merge branch 'fpp' into math-tutorial
bocchino Oct 14, 2021
ea62cd2
Revise math tutorial
bocchino Oct 15, 2021
83755fe
Revise math tutorial
bocchino Oct 15, 2021
4224834
Revise math tutorial
bocchino Oct 15, 2021
8666710
Revise math tutorial
bocchino Oct 15, 2021
49c0f46
Revise math tutorial
bocchino Oct 15, 2021
fccad4c
Revise math tutorial
bocchino Oct 15, 2021
a2e6893
Revise math tutorial
bocchino Oct 15, 2021
58080b2
Revise math tutorial
bocchino Oct 15, 2021
b18c3a9
Revise math tutorial
bocchino Oct 15, 2021
17ea746
Revise math tutorial
bocchino Oct 15, 2021
dc17808
Revise math tutorial
bocchino Oct 15, 2021
634145a
Revise math tutorial
bocchino Oct 15, 2021
f152dcf
Revise math tutorial
bocchino Oct 15, 2021
f8d300f
Revise math tutorial
bocchino Oct 15, 2021
786d123
Revise math tutorial
bocchino Oct 15, 2021
ce01b93
Revise math tutorial
bocchino Oct 15, 2021
3e2e741
Revise math tutorial
bocchino Oct 15, 2021
97668cf
Revise update-math script
bocchino Oct 15, 2021
a28beff
Revise math tutorial
bocchino Oct 15, 2021
2b842c3
Revise math tutorial
bocchino Oct 15, 2021
4fcc2b7
Revise math tutorial
bocchino Oct 15, 2021
59732f1
Add MathSender and MathReceiver to Ref topology
bocchino Oct 15, 2021
7d5d2d0
Revise math tutorial
bocchino Oct 16, 2021
130f905
Revise math tutorial
bocchino Oct 16, 2021
84733d1
Revise math tutorial
bocchino Oct 16, 2021
a2e335e
Revise math tutorial
bocchino Oct 18, 2021
f4863a4
Revise math tutorial
bocchino Oct 18, 2021
4706c47
Revise math tutorial
bocchino Oct 18, 2021
a56c1df
Revise math tutorial
bocchino Oct 18, 2021
f2db08f
Revise math tutorial
bocchino Oct 18, 2021
1b83e1f
Revise math tutorial
bocchino Oct 18, 2021
e579311
Revise math tutorial
bocchino Oct 18, 2021
50d1296
Revise math tutorial
bocchino Oct 18, 2021
c5cc53d
Revise Ref topology
bocchino Oct 18, 2021
e88b89e
Revise math tutorial
bocchino Oct 18, 2021
42d66c0
Remove old math tutorial
bocchino Nov 5, 2021
8559823
Merge branch 'release/v3.0.0' into fpp
bocchino Nov 12, 2021
553a4dc
Merge branch 'fpp' into math-tutorial
bocchino Nov 12, 2021
990b9f2
Remove trailing spaces
bocchino Nov 12, 2021
14c9c60
Remove unused files
bocchino Nov 12, 2021
d9b1edf
Fix spelling
bocchino Nov 12, 2021
0280aac
Update Math tutorial build
bocchino Nov 12, 2021
0d35f61
Revert change to stack size
bocchino Nov 12, 2021
b467d3f
Revise Math tutorial build
bocchino Nov 12, 2021
b52067f
Revise math tutorial code
bocchino Nov 12, 2021
d97bb8d
Revise math tutorial build
bocchino Nov 12, 2021
855aed3
Revise math tutorial build
bocchino Nov 12, 2021
4a7ce38
Revise math tutorial
bocchino Nov 12, 2021
d907c98
Revise math tutorial
bocchino Nov 12, 2021
96aa310
Revise math tutorial
bocchino Nov 12, 2021
0f700cc
Revert changes to Ref topology build
bocchino Nov 12, 2021
3a5c75b
Revert changes due to math tutorial
bocchino Nov 12, 2021
adbbad7
Revert build changes due to math tutorial
bocchino Nov 12, 2021
d175b59
Merge branch 'math-tutorial' of github.com:bocchino/fprime into math-…
bocchino Nov 12, 2021
1452f93
Revise math tutorial
bocchino Nov 12, 2021
a93e62b
Remove trailing spaces
bocchino Nov 12, 2021
09dc071
Cleanup
bocchino Nov 12, 2021
a338161
Update FPP version
bocchino Nov 12, 2021
cdde6c8
Revise comments
bocchino Nov 12, 2021
fc77f0b
Add refresh scripts
bocchino Nov 12, 2021
68d2b9c
Revise spelling list
bocchino Nov 12, 2021
9e65adf
Revise spelling list
bocchino Nov 12, 2021
a5f6872
Revise spelling list
bocchino Nov 12, 2021
2e3cb0e
Revise Math tutorial
bocchino Nov 12, 2021
d472832
Revise console logging in Ref app
bocchino Nov 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 11 additions & 30 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ ACTIVERATEGROUPIMPLCFG
ACTIVERATEGROUPIMPLTESTER
ACTIVETEXTLOGGERIMPL
actools
acwrap
acxz
addoffset
addon
adminlist
adoc
aeiouy
afterstatinfo
agg
Expand Down Expand Up @@ -67,6 +67,7 @@ arijitdas
arinc
arity
arpa
asciidoctor
asm
aspx
ASTRING
Expand Down Expand Up @@ -205,7 +206,6 @@ closedir
CLOSEFILE
cloudbees
cls
cmak
cmake
cmath
Cmdd
Expand Down Expand Up @@ -241,7 +241,6 @@ config
configparser
configurability
configurator
Connectedoutput
cookiecutter
cooldown
coor
Expand Down Expand Up @@ -336,7 +335,6 @@ deserialized
deserializing
dest
DEVNULL
dfdc
DFL
DFPRIME
DGRAM
Expand All @@ -346,7 +344,6 @@ diafile
dictgen
dicts
dictvalue
differend
difflib
diffs
diles
Expand Down Expand Up @@ -416,7 +413,6 @@ dylib
EACCES
EAGAIN
eay
eb
EBADF
EBUSY
ECLIPSEHELP
Expand Down Expand Up @@ -495,7 +491,6 @@ exitcode
expandtabs
expr
exprtokens
EXTN
Fabcdef
FADV
fadvise
Expand All @@ -513,7 +508,7 @@ fflush
Ffs
fgetc
fgets
FH
fh
filecmp
filedown
FILEDOWNLINK
Expand All @@ -529,15 +524,12 @@ finalizer
findall
fio
Firefox
Fixme
Fixme
FIXME
fixme
flist
FNDELAY
fnmatch
fno
fns
followd
FONTNAME
FONTPATH
FONTSIZE
Expand All @@ -561,6 +553,7 @@ fprintf
fprofile
fptr
fputil
fpv
frontend
frox
frsize
Expand Down Expand Up @@ -752,7 +745,7 @@ integertypename
interoperability
intlimits
ints
inttype
Inttype
invisi
ioc
ioctl
Expand Down Expand Up @@ -847,16 +840,13 @@ len
lestarch
levelname
lflag
lgcov
lgtm
lhash
libasan
libc
libclang
libcrc
libgtest
libiconv
libsan
LIBLOC
lic
lifecycle
Expand All @@ -877,7 +867,6 @@ ljust
lkml
lld
llvm
llx
loadfile
localhost
localtime
Expand Down Expand Up @@ -992,6 +981,7 @@ mstat
mstring
MTIME
mtype
mul
multiline
multioptionals
multirequired
Expand Down Expand Up @@ -1037,6 +1027,7 @@ nmsgs
noargport
NOCOLOR
NOCTTY
nodemon
nogen
nolog
nomagic
Expand All @@ -1048,7 +1039,6 @@ Nop
noreturn
normalwidths
normpath
nosetests
NOSIZE
NOSPEC
nostdlib
Expand Down Expand Up @@ -1082,7 +1072,6 @@ OMG
OMG's
onchange
onlinepubs
OParg
OPCODEBASE
opcodes
opendir
Expand Down Expand Up @@ -1128,7 +1117,6 @@ params
PARENB
PARODD
parseable
PASSIVEC
pathmaker
pbuild
pcmake
Expand All @@ -1146,7 +1134,6 @@ phtml
pid
PINGSEND
pinit
pipsetup
pkill
pkts
plainnat
Expand Down Expand Up @@ -1213,7 +1200,6 @@ ptbool
ptestrun
ptf
pthread
PTLM
ptmcg
pton
ptr
Expand All @@ -1234,7 +1220,6 @@ Pymodule
pyparsing
PYPI
pytest
PYTHON
PYTHONPATH
pyw
qch
Expand Down Expand Up @@ -1360,7 +1345,6 @@ seqgen
serafin
serializables
serializer
serialns
setaffinity
setattr
setbuf
Expand All @@ -1371,12 +1355,9 @@ SETFL
setinheritsched
setitem
SETLOGGING
setname
setop
setopt
setprotocol
setquaternion
setresult
setschedparam
setschedpolicy
setsize
Expand All @@ -1387,7 +1368,6 @@ settime
settingsini
settype
setuptools
setval
setw
sev
sface
Expand Down Expand Up @@ -1439,7 +1419,6 @@ spidev
splitext
splitlines
sprintf
SQL's
Sqlite
sramanan
srand
Expand All @@ -1464,7 +1443,6 @@ startuml
startword
staticmethod
statvfs
stdarg
STDC
stddef
stderr
Expand Down Expand Up @@ -1628,6 +1606,8 @@ tmptokens
tmptree
tname
tnum
toc
toclevels
toctree
todo
TODOLIST
Expand Down Expand Up @@ -1743,6 +1723,7 @@ vla
vlist
vm
VMIN
vn
vsnprintf
VTIME
vtype
Expand Down
20 changes: 10 additions & 10 deletions Autocoders/Python/src/fprime_ac/generators/templates/impl/cpp.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ======================================================================
// \title ${name}ComponentImpl.cpp
// \title ${name}.cpp
// \author $user
// \brief cpp file for ${name} component implementation class
//
Expand All @@ -11,7 +11,7 @@
// ======================================================================


\#include <${include_path}/${name}ComponentImpl.hpp>
\#include <${include_path}/${name}.hpp>
\#include "Fw/Types/BasicTypes.hpp"

#if $namespace_list != None
Expand All @@ -24,15 +24,15 @@ namespace ${namespace} {
// Construction, initialization, and destruction
// ----------------------------------------------------------------------

${name}ComponentImpl ::
${name}ComponentImpl(
${name} ::
${name}(
$emit_non_port_params([ $param_compName ])
) : ${component_base}(compName)
{

}

void ${name}ComponentImpl ::
void ${name} ::
init(
$emit_non_port_params($params_init_cpp)
)
Expand All @@ -46,8 +46,8 @@ $emit_non_port_params($params_init_cpp)
#end if
}

${name}ComponentImpl ::
~${name}ComponentImpl()
${name} ::
~${name}()
{

}
Expand All @@ -59,7 +59,7 @@ $emit_non_port_params($params_init_cpp)

#for $instance, $type, $sync, $priority, $full, $role, $max_num in $typed_user_input_ports:
#set $return_type = $port_return_type_strs[$instance]
${return_type}${name}ComponentImpl ::
${return_type}${name} ::
${instance}_handler(
$emit_port_params([ $param_portNum ] + $port_params[instance])
)
Expand All @@ -79,7 +79,7 @@ $emit_port_params([ $param_portNum ] + $port_params[instance])
// ----------------------------------------------------------------------

#for $instance, $sync, $priority, $full, $max_num in $serial_input_ports:
void ${name}ComponentImpl ::
void ${name} ::
${instance}_handler(
NATIVE_INT_TYPE portNum, $doxygen_post_comment("The port number")
Fw::SerializeBufferBase &Buffer $doxygen_post_comment("The serialization buffer")
Expand All @@ -97,7 +97,7 @@ $emit_port_params([ $param_portNum ] + $port_params[instance])

#for $mnemonic, $opcode, $sync, $priority, $full, $comment in $commands:
#set $params = $command_params[$mnemonic]
void ${name}ComponentImpl ::
void ${name} ::
${mnemonic}_cmdHandler(
$emit_non_port_params([ $param_opCode, $param_cmdSeq ] + $params)
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ======================================================================
// \title ${name}ComponentImpl.hpp
// \title ${name}.hpp
// \author $user
// \brief hpp file for ${name} component implementation class
//
Expand All @@ -21,7 +21,7 @@ namespace ${namespace} {
#end for
#end if

class ${name}ComponentImpl :
class ${name} :
public $component_base
{

Expand All @@ -33,7 +33,7 @@ namespace ${namespace} {

//! Construct object $name
//!
${name}ComponentImpl(
${name}(
$emit_non_port_params([ $param_compName ])
);

Expand All @@ -45,7 +45,7 @@ $emit_non_port_params($params_init_hpp)

//! Destroy object $name
//!
~${name}ComponentImpl();
~${name}();

#if len($typed_user_input_ports) > 0:
PRIVATE:
Expand Down
2 changes: 0 additions & 2 deletions Ref/Top/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
set(SOURCE_FILES
"${CMAKE_CURRENT_LIST_DIR}/instances.fpp"
"${CMAKE_CURRENT_LIST_DIR}/topology.fpp"
# "${CMAKE_CURRENT_LIST_DIR}/RefTopologyAc.cpp"
# "${CMAKE_CURRENT_LIST_DIR}/RefTopologyAppAi.xml"
"${CMAKE_CURRENT_LIST_DIR}/RefTopologyDefs.cpp"
)
set(MOD_DEPS
Expand Down
6 changes: 3 additions & 3 deletions Ref/Top/FppConstantsAc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
// All rights reserved.
// ======================================================================

#ifndef RefTop_FppConstantsAc_HPP
#define RefTop_FppConstantsAc_HPP
#ifndef Ref_Top_FppConstantsAc_HPP
#define Ref_Top_FppConstantsAc_HPP

#include "Fw/Types/BasicTypes.hpp"

Expand All @@ -23,7 +23,7 @@ namespace Ref {
};

enum FppConstant_stackSize {
stackSize = 10240
stackSize = 16384
};

}
Expand Down
Loading