23 Commits

Author SHA1 Message Date
Zimri Leisher
b0716ad605
Add sequence dispatcher component (#2731)
* Add sequence dispatcher component

* Add seq start port to cmd sequencer

* Update author names and some include paths

* Get fully compiling, move consts/enums to correct places, check for connections on init

* Add spelling exceptions

* Get unit tests almost compiling...

* Fix string type in port, call component init in test

* Fix unit test compilation errors and assertions

* Switch back to using StringBase

* Switch to FwIndexType, remove textLogIn

* UpperCamel events, add warning for unexpected seq start

* remove init method, add check for connected to getNextAvailableIdx

* Update sdd, change event from low to high, static cast a portnum

* Add state diagram, add more warnings, fix wrong header types, use assert instead of warning for runSeq

---------

Co-authored-by: Zimri Leisher <zimri.leisher@fireflyspace.com>
2024-09-17 17:55:09 -07:00
Rob Bocchino
cdac751845
Make single-argument string constructors explicit (#2707)
* Revise Linux platform types

* Fix regression in test autocoder

TimeBaseStoreType is not the same as TimeBase

* Revise test autocoder

Cast to the TimeBaseStore type with a known size

* Revise test autocoder

Remove unnecessary const casting

* Fix integer type mismatch in ComQueue

* Update fpp version

* Update fpp version

* Revise DpWriter unit tests

Remove manually written functions
Use new autocode in tester base

* Update fpp version

* Update fpp version

* Revise DpTest

Add check for priority set by dpGet

* Reivse StringType; add ExternalString

* Revise dp test

* Revise dp test; update fpp version

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise fpp version

* Update fpp version

* Revise ExternalString

* Reformat Fw/Serializable.{hpp,cpp}

* Reformat StringType.{hpp,cpp}

* Revise StringBase

* Update fpp version

* Remove trailing space

* Reformat code

* Revise dp test

* Reformat cpp and hpp files in Fw/Types

* Revise string types

* Revise string types

* Revise string types

* Remove EightyCharString

* Revise CmdString

* Revise LogString

* Revise PrmString

* Revise TextLogString

* Revise Test/String

* Revise TlmString

* Revise InternalInterfaceString

* Revise Os/QueueString

* Revise Os/TaskString

* Add missing type qualifier

* Fix warning in String.hpp

* Revise string types

* Remove stray character

* Revise StringBase

* Revise string types

* Revise String type

* Revise FileNameString

* Revise string types

* Add missing file

* Revise InternalInterfaceString

* Revise comment

* Revise TlmString

* Revise string types

* Revise log strings

* Revise PrmString

* Revise Os string classes

* Revise string types

* Revise string types

* Revise os strings

* Add test for ExternalString to TypesTest

* Revise ExternalString

* Revise ExternalString

* Update fpp version

* Format Fw/Types

* Add static serialized size to StringBase

* Update fpp version

* Update fpp version; revise string classes

* Revise event handling in DpWriter

* Revise string implementations

* Revise string implementations

* Refactor dp tests

* Add static assertion to PrmBuffer

For safety's sake!

* Revise string implementations; update fpp version

* Revise StringBase

Existing code was correct but somewhat terse and obscure
Refactor and add comments for clarity

* Fix tests to conform to FPP changes

* Remove helper scripts

* Add const qualifier

* Revise StringBase

* Revise StringBase

* Revise comment

* Update fpp version

* Fix code formatting

* Make constructors explicit

* Make string constructors explicit

* Make string constructors explicit

* Revise String.hpp

Remove explicit from char* constructor
The autocoder depends on the implicit constructor

* Fixing improper null-termination in fail case

* Fixing conversion warnings

* Removing broken link

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2024-04-30 11:28:39 -07:00
M Starch
656514451d lestarch: merging devel into v3.0.0 2021-12-07 17:20:45 -08:00
Saba Janamian
5ff671dbe6
Added sequence join wait command (#1084)
* saba-ja: added join_wait cmd

* saba-ja: added UT

* saba-ja: fixed comment title

* saba-ja: making spell checker happy

* saba-ja: fixed m_join_wait cancel logic
2021-11-16 12:13:38 -08:00
bocchino
a10d260a74 Merge branch 'release/v3.0.0' into pass-by 2021-09-28 13:29:51 -07:00
M Starch
052bbdb8c0
lestarch: merged latest nasa/devel (#964)
* lestarch: merged latest nasa/devel

* lestarch: fixing coverage on macOs

* lestarch: correcting UTs for merging latest devel

* lestarch: integration tests

* lestarch: build error correction
2021-08-25 18:50:45 -07:00
Joshua Anderson
9c4f2cc6c8
Backport 80char replacement (#923)
* Backport replacement of EightyCharacterString with Fw::String

* Remove test usage of 80 charater strings
2021-08-20 16:05:52 -07:00
rohandkn
8e02596d4e
Merge branch 'pass-by-logic' into release/v3.0.0 2021-08-20 14:09:25 -05:00
rohandkn
666b297ee8 Removed all pass_by values and fixed all tests 2021-08-16 13:07:50 -05:00
Timothy Canham
73c0abd142 Header/const/name macro updates 2021-08-12 10:06:21 -07:00
Joshua Anderson
4cd74518ad
Replace usage of 80 Char String with FixLengthString (#893) 2021-08-10 12:53:38 -07:00
Joshua Anderson
1b9c785ce6
Remove void from parameterless functions (#811) 2021-07-14 12:54:01 -07:00
bocchino
1d98c13739 Revise Cmd Sequencer
Refactor types
Add changed symbols
2021-06-22 18:43:00 -07:00
bocchino
6354acb115 Revise CmdSequencer
Remove SeqMode inline enum
2021-06-16 15:40:26 -07:00
Timothy Canham
a6a5d86eca Copy from heli 2021-06-15 15:48:47 -07:00
bocchino
4fd9627965 Rename CommandResponse to CmdResponse 2021-06-02 20:47:07 -07:00
bocchino
fd0f278597 Revise command response port
Replace inline enum with XML enum type
Generate XML from FPP
Revise uses to match
2021-01-21 11:08:59 -08:00
Joshua Anderson
3cccd731d9
Refactor FW_OBJECT_NAMES switches and fix building without object names
Instead of adding the name argument to a constructor when FW_OBJECT_NAMES
is enabled, always supply a name argument.

Add a marco that conditionally sets the name to "" if FW_OBJECT_NAMES is not set.
This cleans up a lot of the conditional compilation switches that weren't being tested
and would silently break, while still stripping the strings from the binary.
2020-10-07 17:19:05 -07:00
Timothy Canham
5fd3749c2b Updated logic for changeable buffer size from allocator 2020-03-27 12:32:33 -07:00
Michael D Starch
136af07edd mstarch: more header cleaning for issue: #189 2019-04-18 14:12:02 -07:00
Robert L. Bocchino Jr
db6be3acea Revise command sequencer
Update copyright notices in comments
2018-04-08 16:23:45 -07:00
Robert L. Bocchino Jr
75933997ba Revise command sequencer
Refactor command sequencer into generic and format-specific parts
Add support for AMPCS format
Revise unit tests to support multiple formats
Add AMPCS tests
2018-04-08 16:19:48 -07:00
Timothy Canham
6d9c4c2d06 Initial check-in 2017-06-16 08:25:38 -07:00