Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MessdatenSilo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Kloock
MessdatenSilo
Commits
2c28e091
Commit
2c28e091
authored
3 years ago
by
Lennard
Browse files
Options
Downloads
Patches
Plain Diff
New data
parent
c7812e51
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
bash.log
+10
-0
10 additions, 0 deletions
bash.log
config.yml
+1
-1
1 addition, 1 deletion
config.yml
main.py
+1
-1
1 addition, 1 deletion
main.py
with
12 additions
and
2 deletions
bash.log
+
10
−
0
View file @
2c28e091
2022-06-08 12:53:41
fatal: unable to access 'https://github.com/SirWalross/MessdatenSilo.git/': Could not resolve host: github.com
[main c7812e5] New data
1 file changed, 1 insertion(+), 1 deletion(-)
fatal: unable to access 'https://github.com/SirWalross/MessdatenSilo.git/': Could not resolve host: github.com
2022-06-08 12:53:42, WARNING, [main_logger.main:136] Starting
2022-06-08 12:53:42, WARNING, [main_logger.get_offset:81] Didn't find any old offsets, so starting at 0.
2022-06-08 12:53:42, WARNING, [main_logger.main:146] Connected to serial ports
2022-06-08 13:03:02
fatal: unable to access 'https://github.com/SirWalross/MessdatenSilo.git/': Could not resolve host: github.com
This diff is collapsed.
Click to expand it.
config.yml
+
1
−
1
View file @
2c28e091
...
...
@@ -14,6 +14,6 @@ InfoLogger:
-
WARNING
Data
:
factors
:
[
9.64
74
,
0
,
1
0.9
132
,
-11.6764
]
# factors for the 4 dms
factors
:
[
1.
74
,
0
,
0.9
,
-0.96
]
# factors for the 4 dms
delta_time
:
30
# time between logging data
smoothing
:
false
# whether to smoothe the logged data
This diff is collapsed.
Click to expand it.
main.py
+
1
−
1
View file @
2c28e091
...
...
@@ -182,7 +182,7 @@ def main(config: Any) -> None:
if
time
.
time
()
-
last_write
>
delta_time
:
# write data
data_logger
.
info
(
"
,
"
.
join
([
f
"
{
value
/
n
*
factors
[
i
]
:
.
5
f
}
"
for
i
,
value
in
enumerate
(
data
)])
+
f
"
,
{
n
}
"
)
data_logger
.
info
(
"
,
"
.
join
([
f
"
{
(
value
/
n
)
*
factors
[
i
]
:
.
5
f
}
"
for
i
,
value
in
enumerate
(
data
)])
+
f
"
,
{
n
}
"
)
logger
.
debug
(
"
Wrote data
"
)
n
=
0
data
=
np
.
zeros
((
8
,))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment