This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import jax.numpy as jnp | |
from jax import jit, jacfwd | |
import pandas as pd | |
from casadi import * | |
def attitude_jacobian_bar(Thetab): | |
phi, theta, psi = Thetab[0][0], Thetab[1][0], Thetab[2][0] | |
H = jnp.array([ | |
[jnp.cos(phi) / jnp.cos(theta), jnp.sin(phi) / jnp.cos(theta), 0 ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export root_dir=`pwd` | |
export tag="0.0.0" | |
# install necessary packages | |
pip install -U bloom | |
sudo apt-get install fakeroot dpkg-dev debhelper rapidjson-dev -y | |
# clone/install dependencies | |
cat <<EOF > ros2_ap.repos | |
repositories: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numpy==1.14.5 | |
pandas==0.23.4 | |
scipy==1.1.0 | |
keras==2.2.4 | |
tensorflow-gpu==1.10.0 | |
scikit-learn==0.20.0 | |
tensorboard==1.10.0 |