-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now also works with no service and with service
- Loading branch information
sebastianHi
committed
Jan 8, 2025
1 parent
66a632d
commit abda593
Showing
8 changed files
with
95 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-FileCopyrightText: 2023 German Aerospace Center (DLR) | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
input adc__a0: Float32 | ||
input gpspos__lon: Float32 | ||
output f_64 : Float32 @ 1Hz := | ||
adc__a0.hold().defaults(to:0.0) | ||
+ f_64.offset(by: -1).defaults(to: 0.0) | ||
|
||
|
||
output b : Bool @adc__a0 := true | ||
|
||
output f_32 : Float32 @ adc__a0 := 0.0 | ||
|
||
output i_8 : Int8 @adc__a0 := 0 | ||
output u_8 : UInt8 @adc__a0 := 0 | ||
|
||
output i_16 : Int16 @ adc__a0 := i_16.offset(by: -1).defaults(to: 0) + 1 | ||
output u_16 : UInt16 @ adc__a0 := u_16.offset(by: -1).defaults(to: 0) + 1 | ||
|
||
output i_32 : Int32 @ 1Hz := i_32.offset(by: -1).defaults(to: 0) + 1 | ||
output u_32 : UInt32 @ 1Hz := u_32.offset(by: -1).defaults(to: 0) + 1 | ||
|
||
output i_64 : Int64 @ 1Hz := i_64.offset(by: -1).defaults(to: 0) + 1 | ||
output u_64 : UInt64 @ 1Hz := u_64.offset(by: -1).defaults(to: 0) + 1 |