Merge pull request 'Fix inverted X-Axis for PTG Target' (#875) from fix-tgt-ptg into main
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
Reviewed-on: #875 Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
This commit is contained in:
commit
158927ce5c
@ -16,6 +16,13 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
|
|
||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
# [v7.7.2] 2024-03-06
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Camera and E-band antenna now point towards the target instead of away from the target for the
|
||||||
|
pointing target mode.
|
||||||
|
|
||||||
# [v7.7.1] 2024-03-06
|
# [v7.7.1] 2024-03-06
|
||||||
|
|
||||||
- Bumped `eive-tmtc` to v6.1.1
|
- Bumped `eive-tmtc` to v6.1.1
|
||||||
|
@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.13)
|
|||||||
|
|
||||||
set(OBSW_VERSION_MAJOR 7)
|
set(OBSW_VERSION_MAJOR 7)
|
||||||
set(OBSW_VERSION_MINOR 7)
|
set(OBSW_VERSION_MINOR 7)
|
||||||
set(OBSW_VERSION_REVISION 1)
|
set(OBSW_VERSION_REVISION 2)
|
||||||
|
|
||||||
# set(CMAKE_VERBOSE TRUE)
|
# set(CMAKE_VERBOSE TRUE)
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ void Guidance::targetQuatPtgTarget(timeval timeAbsolute, const double timeDelta,
|
|||||||
// this aligns with the camera, E- and S-band antennas
|
// this aligns with the camera, E- and S-band antennas
|
||||||
double xAxisIX[3] = {0, 0, 0};
|
double xAxisIX[3] = {0, 0, 0};
|
||||||
VectorOperations<double>::normalize(targetDirI, xAxisIX, 3);
|
VectorOperations<double>::normalize(targetDirI, xAxisIX, 3);
|
||||||
|
VectorOperations<double>::mulScalar(xAxisIX, -1, xAxisIX, 3);
|
||||||
|
|
||||||
// transform velocity into inertial frame
|
// transform velocity into inertial frame
|
||||||
double velSatI[3] = {0, 0, 0};
|
double velSatI[3] = {0, 0, 0};
|
||||||
|
Loading…
Reference in New Issue
Block a user