Skip to content

Instantly share code, notes, and snippets.

@fboris
Last active August 29, 2015 14:07
Show Gist options
  • Save fboris/8b6cad680dfc7884c7be to your computer and use it in GitHub Desktop.
Save fboris/8b6cad680dfc7884c7be to your computer and use it in GitHub Desktop.
Geometry Notes
##Use Euler angle to represent direction cosine matrix
$C_b^n = \left[
\begin{array}{clcr}
cos\theta cos\psi & -cos\phi sin\psi+sin\phi sin\theta cos\psi & sin\phi sin\psi + cos\phi sin\theta cos\psi\\
cos\theta sin\psi & cos\phi cos\psi+sin\phi sin\theta cos\psi & -sin\phi cos\psi + cos\phi sin\theta sin\psi\\
-sin\theta & sin\phi cos\theta & cos\phi cos\theta
\end{array}
\right]$
```
void Transformer::lookupTransform ( const std::string & target_frame,
const std::string & source_frame,
const ros::Time & time,
StampedTransform & transform
)
```
$$P^{target}=T^{target}_{source}*P^{source}$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment