| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "distance/vectorize.hpp" | ||
| 2 | |||
| 3 | #include "common/logging.hpp" | ||
| 4 | |||
| 5 | namespace found { | ||
| 6 | |||
| 7 | 15 | PositionVector LOSTVectorGenerationAlgorithm::Run(const PositionVector &x_E) { | |
| 8 | // Use the conjugate here, since the orientation is a backwards rotation. In | ||
| 9 | // other words, the orientation is a rotation from the celestial frame to the | ||
| 10 | // camera frame, but we want to go the other way. | ||
| 11 | 30 | return -this->orientation.Conjugate().Rotate(x_E); | |
| 12 | } | ||
| 13 | |||
| 14 | } // namespace found | ||
| 15 |