Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CoincellExperimentController
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klemm, Carl Philipp
CoincellExperimentController
Commits
4acf4f8e
Commit
4acf4f8e
authored
1 year ago
by
Carl Philipp Klemm
Browse files
Options
Downloads
Patches
Plain Diff
Print more details on staratup about cell layout
parent
89e7e48e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
coincells.cpp
+3
-1
3 additions, 1 deletion
coincells.cpp
with
3 additions
and
1 deletion
coincells.cpp
+
3
−
1
View file @
4acf4f8e
...
@@ -65,6 +65,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
...
@@ -65,6 +65,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
}
}
Log
(
Log
::
INFO
)
<<
"Connections:"
;
Log
(
Log
::
INFO
)
<<
"Connections:"
;
size_t
i
=
0
;
for
(
std
::
unique_ptr
<
CoinCell
>&
cell
:
coinCells
)
for
(
std
::
unique_ptr
<
CoinCell
>&
cell
:
coinCells
)
{
{
int
heater
=
cell
->
getHeaterId
();
int
heater
=
cell
->
getHeaterId
();
...
@@ -72,7 +73,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
...
@@ -72,7 +73,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
std
::
pair
<
int
,
int
>
heaterAddr
=
heaters
->
getAddress
(
heater
);
std
::
pair
<
int
,
int
>
heaterAddr
=
heaters
->
getAddress
(
heater
);
Log
(
Log
::
INFO
,
false
)
<<
"CoincellHell "
<<
heaterAddr
.
first
<<
" unit "
<<
heaterAddr
.
second
<<
" is connected to: "
;
Log
(
Log
::
INFO
,
false
)
<<
"
Coin Cell "
<<
i
<<
",
CoincellHell "
<<
heaterAddr
.
first
<<
" unit "
<<
heaterAddr
.
second
<<
" is connected to: "
;
for
(
int
id
:
muliplexerchs
)
for
(
int
id
:
muliplexerchs
)
{
{
...
@@ -80,6 +81,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
...
@@ -80,6 +81,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
Log
(
Log
::
INFO
,
false
,
false
)
<<
" Mulitplexer "
<<
addr
.
first
<<
" channel "
<<
Multiplexers
::
chToString
(
addr
.
second
)
<<
", "
;
Log
(
Log
::
INFO
,
false
,
false
)
<<
" Mulitplexer "
<<
addr
.
first
<<
" channel "
<<
Multiplexers
::
chToString
(
addr
.
second
)
<<
", "
;
}
}
Log
(
Log
::
INFO
,
false
,
false
)
<<
'\n'
;
Log
(
Log
::
INFO
,
false
,
false
)
<<
'\n'
;
++
i
;
}
}
return
coinCells
;
return
coinCells
;
...
...
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