20 Commits

Author SHA1 Message Date
Thomas Boyer-Chammard
ba65039fff
Finish code formatting (#4134) 2025-09-10 15:02:07 -07:00
Rob Bocchino
da11b3a7c5
Improve warning flags in builds (#3319)
* Update fpp version

Add more warnings to FppTest

* Update fpp version

Add warnings to build

* Enable warnings in unit tests

Fix warnings

* Clean up test code

* Update fpp version

Remove workarounds in unit test builds

* Update fpp version

Fix warnings

* Revise DpManager tests

Remove conversion warnings

* Revise DpWriter tests

Remove conversion warnings

* Refactor Hash

Provide a size type to remove dependencies on NATIVE_INT_TYPE,
which is going away.

* Revise top-level CMakeLists.txt

* Fix warnings in Ref

* Fix warnings in Ref, RPI

* Revise warning flags

* Revise code to eliminate warnings

* Revise code to fix warnings

* Revise code to fix warnings

* Revise code to fix warnings

* Revise Serializable.cpp

* Revise Serializable.cpp

* Revise warning flags

* Fix warnings in test code

* Fix warnings

* Fix warnings

* Fix warnings and static analysis errors

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Turn off -Wshadow for unit tests

* Revise comments

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Fix warnings

* Enable -Wshadow for main ut builds

* Revise compile options

* Remove commented-out code

* Update STest

Eliminate warnings

* Fix warning

* Fix warnings

* Fix warning

* Fix warning

* Fix warning

* Revise comments

* Revise static cast expression

* Cast return type to void

* Remove unneeded cast

* Fix warnings that appear on the F Prime dev machine

* Fix more warnings

* Enable more warnings

* Update fpp version

* Remove commented-out compiler flags

* Enable warning flag in CmdDispatcher

* Disable -Wconversion in gtest

* Revise compiler warning flags

* Revise compiler options

* Revise compiler flags

* Revise compiler flags

* Revise compiler flags

* Revise compiler flags

* Revise Buffer

* Fix comments

* Fix warning flags

* Fix compiler warning flags

* Fix compiler warnings

* Fix compiler warning flags

* Fix compiler warnings

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Fix compiler warning flags

* Revise compiler warning flags

* Restore deleted test

* Fixing UT_TARGET collision

---------

Co-authored-by: Robert L Bocchino <bocchino@fprime-fsw-0.jpl.nasa.gov>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-03-12 12:04:43 -07:00
Justine West
e13d0303b1
Add final to component impl classes (#3292) 2025-02-28 15:05:15 -08:00
M Starch
a5c853b9cf
NATIVE_INT_TYPE portNum to FwIndexType portNum (#3236) 2025-02-14 12:25:12 -08:00
Thomas Boyer-Chammard
4d1ab758ea
Fix SignalGen commands in integration tests (#3075)
* Fix SignalGen commands in integration tests

* Fix formatting
2024-12-11 15:10:43 -08:00
Timothy Canham
05b817fae6
Work/dp catalog (#2713)
* Starting on FDD for DpCatalog

* More DpCatalog SDD edits

* More refined DpCatalog requirements

* Starting prototype code

* Working on DpCatalog build command

* More DpCatalog work

* More DpCatalog work

* More work on reading DP headers

* More work...

* Continued work

* Spelling fixes

* More spelling fixes

* First run of init unit test

* One DP works

* Refactor unit test helpers

* Working on multiple DPs

* More work on multiple DPs

* Fixed filesRead bug

* More merge fixes

* Adding DPs to SignalGen

* Adding DP components

* Added DP directory to DpWriter

* First working version of Data Products!

* Added missing FileDownlink connection

* Added early proto warning to SDD.

* Switched to Fw::FileNameString

* Fixed unit test compile

* Add missing override keyword

* Fix unit test override

* Fixed format specifiers

* Reformat code

* Revise DpWriter uts

* Revise dp writer

* Revise dp writer

* Removed extra ;

* Fix markdown broken links

* Updated SDD to force CI to run again

* Adding async DP request example

* Working on async example

* Still working on async DP

* Remove test printf

* Another merge with F Prime devel

* Working on binary tree implementation

* Work in progress. Doesn't work yet

* Still working

* debug launch config

* fixed pre-launch run step

* Some progress on algo

* 2 and 3 nodes work

* Refactored some code

* Tree traverse seems to work!

* One transmitted test

* Fixed NULL to nullptr

* Fixed spelling

* Fixed memory alignment

* Starting on state file

* Fixed spelling - AGAIN

* Added reading of the state file

* Added function to get state for DP from state file

* Added state file data pruning function

* Code to update the state file

* Debugging DpCat

* More work on DPs

* Working on state file

* Added to spelling expect.txt

* fix double 'the'

* Testing with DpManager/SignalGen

* Some compile fixes

* Adding more test cases

* Fixed downlink bug

* Fix SignalGen unit test

* Updated SDD and some CI error fixes

* Fix SDD typo

* Working on docs

* Docs/comments updates

* Fix typo

---------

Co-authored-by: Robert L. Bocchino Jr. <bocchino@jpl.nasa.gov>
2024-12-10 17:00:07 -08:00
M Starch
a049743e07
Removing component init() functions where unneeded (#2893)
* Removing component init() functions where unneeded

* Removing spurious assert
2024-09-23 18:39:00 -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
Timothy Canham
4557066e0c
Data Product Catalog prototype (#2667)
* Starting on FDD for DpCatalog

* More DpCatalog SDD edits

* More refined DpCatalog requirements

* Starting prototype code

* Working on DpCatalog build command

* More DpCatalog work

* More DpCatalog work

* More work on reading DP headers

* More work...

* Continued work

* Spelling fixes

* More spelling fixes

* First run of init unit test

* One DP works

* Refactor unit test helpers

* Working on multiple DPs

* More work on multiple DPs

* Fixed filesRead bug

* More merge fixes

* Adding DPs to SignalGen

* Adding DP components

* Added DP directory to DpWriter

* First working version of Data Products!

* Added missing FileDownlink connection

* Added early proto warning to SDD.

* Switched to Fw::FileNameString

* Fixed unit test compile

* Add missing override keyword

* Fix unit test override

* Fixed format specifiers

* Reformat code

* Revise DpWriter uts

* Revise dp writer

* Revise dp writer

* Removed extra ;

* Fix markdown broken links

* Updated SDD to force CI to run again

---------

Co-authored-by: Robert L. Bocchino Jr <bocchino@jpl.nasa.gov>
2024-04-25 16:26:39 -07:00
Rob Bocchino
c02f35145e
Remove FPP dependencies on native int types (#2548)
* Remove FPP dependencies on native int types

* Revise FpConfig

* Fix errors in FpConfig

* Revise types

Add size type alias to Serializable
Remove type aliases for generated code
2024-03-04 19:34:23 -08:00
Joshua Anderson
1b9c785ce6
Remove void from parameterless functions (#811) 2021-07-14 12:54:01 -07:00
Brian Wignall
15249b1a4e CLEAN/DOC: fix typos 2021-02-24 08:58:30 -05:00
Joshua Anderson
ba7d9b14b2
Make SignalGen amplitude and phase settings floats
This makes it easier for us to test for regressions using floats in commands.
It also just makes sense for settings like phase to be floats.

Verifies that issues found in https://github.com/nasa/fprime/issues/212 are resolved
2020-10-14 17:54:25 -07:00
Michael D Starch
f0511eff14 mstarch: finishing SignalGen example 2020-10-05 17:18:11 -07:00
Michael D Starch
04971a5ad0 mstarch: update signal gen to show reference on each type 2020-10-05 12:24:55 -07:00
Joshua Anderson
e4c1163179
Add signalgen signal type enum to test enums in events and channels 2020-09-28 17:07:37 -07:00
jishii
92c73b5016 Signalgen array test command 2020-06-18 09:13:47 -07:00
jishii
eaa6698ae7 reformatting python files 2020-06-17 16:56:38 -07:00
Michael D Starch
136af07edd mstarch: more header cleaning for issue: #189 2019-04-18 14:12:02 -07:00
Timothy Canham
6d9c4c2d06 Initial check-in 2017-06-16 08:25:38 -07:00