Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-frelon
Commits
997bc916
Commit
997bc916
authored
Jan 08, 2020
by
Alejandro Homs Puron
Committed by
Laurent Claustre
Mar 25, 2022
Browse files
Remove support for obsolete Frelon16/SPB2
parent
564ed30e
Changes
5
Hide whitespace changes
Inline
Side-by-side
include/Frelon.h
View file @
997bc916
...
...
@@ -164,7 +164,6 @@ enum SPBConType {
enum
GeomType
{
SPB12_4_Quad
,
Hamamatsu
,
SPB2_F16
,
SPB8_F16_Single
,
SPB8_F16_Dual
,
};
...
...
sip/Frelon.sip
View file @
997bc916
...
...
@@ -171,7 +171,6 @@ enum SPBConType {
enum GeomType {
SPB12_4_Quad,
Hamamatsu,
SPB2_F16,
SPB8_F16_Single,
SPB8_F16_Dual,
};
...
...
src/FrelonCamera.cpp
View file @
997bc916
...
...
@@ -110,7 +110,6 @@ void Camera::syncRegs()
switch
(
geom_type
)
{
case
SPB12_4_Quad
:
case
Hamamatsu
:
case
SPB2_F16
:
case
SPB8_F16_Single
:
case
SPB8_F16_Dual
:
m_geom
=
new
Geometry
(
*
this
);
...
...
src/FrelonGeometry.cpp
View file @
997bc916
...
...
@@ -323,9 +323,7 @@ void Geometry::getMaxFrameDim(FrameDim& max_frame_dim)
max_frame_dim
=
ChipMaxFrameDimMap
[
chip_type
];
GeomType
geom_type
=
m_model
.
getGeomType
();
if
(
geom_type
==
SPB2_F16
)
max_frame_dim
/=
Point
(
2
,
2
);
else
if
(
geom_type
==
SPB8_F16_Single
)
if
(
geom_type
==
SPB8_F16_Single
)
max_frame_dim
/=
Point
(
1
,
2
);
DEB_RETURN
()
<<
DEB_VAR1
(
max_frame_dim
);
...
...
src/FrelonModel.cpp
View file @
997bc916
...
...
@@ -383,10 +383,12 @@ GeomType Model::getGeomType()
if
(
chip_type
==
Hama
)
geom_type
=
Hamamatsu
;
else
if
(
chip_type
==
Andanta_CcdFT2k
)
geom_type
=
SPB2_F16
;
THROW_HW_ERROR
(
NotSupported
)
<<
"Obsolete Frelon16 "
<<
"with SPB2"
;
}
else
if
(
has
(
SPB8
))
{
if
(
chip_type
!=
Andanta_CcdFT2k
)
THROW_HW_ERROR
(
Error
)
<<
"SPB8 only supports Frelon16"
;
THROW_HW_ERROR
(
NotSupported
)
<<
"SPB8 only supports "
<<
"Frelon16"
;
SPBConType
spb_con_type
=
getSPBConType
();
bool
dual_spb
=
(
spb_con_type
==
SPBConXY
);
geom_type
=
dual_spb
?
SPB8_F16_Dual
:
SPB8_F16_Single
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment