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
| @article{Yakubovich1986, | |
| author = {Yakubovich, V. A.}, | |
| title = {A linear-quadratic optimization problem and the frequency theorem for nonperiodic systems. I}, | |
| journal = {Siberian Mathematical Journal}, | |
| volume = {27}, | |
| number = {4}, | |
| pages = {614--630}, | |
| year = {1986}, | |
| doi = {10.1007/BF00969175} | |
| } |
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
| #!/bin/bash | |
| TMPDIR="/tmp" | |
| TMPNAME="$TMPDIR/out.mp4" | |
| function getsize { | |
| echo $(stat -c%s "$1") | |
| } | |
| function compress { |
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
| { | |
| "plates_inertia": 0.89e-3, | |
| "plates_distance": 0.027, | |
| "ball_radius": 0.017, | |
| "max_torque": 0.15, | |
| "ball_inertia": 5.8e-7, | |
| "ball_mass": 3.0e-3, | |
| "gravity_acceleration": 9.81, | |
| "friction_coefficient": 0.60, | |
| "plates_shape": [ |
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
| """ | |
| =========== | |
| Basic Units | |
| =========== | |
| """ | |
| import math | |
| from packaging.version import parse as parse_version |
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
| { | |
| "plates_inertia": 0.89e-3, | |
| "plates_distance": 0.02700000, | |
| "ball_radius": 0.01700000, | |
| "max_torque": 0.15, | |
| "ball_inertia": 5.8e-7, | |
| "ball_mass": 3e-3, | |
| "gravity_acceleration": 9.81, | |
| "friction_coefficient": 0.4, | |
| "plates_shape": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
| from functools import reduce | |
| def quat_make_continuous(q): | |
| R''' | |
| Brief: | |
| ------ | |
| The function makes a trajectory `q` continuous |
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 casadi as ca | |
| class MyFun(ca.Callback): | |
| def __init__(self, coefs): | |
| ca.Callback.__init__(self) | |
| self.coefs = coefs | |
| self.construct('MyFun') | |
| def has_jacobian(self): | |
| return True |
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
| #include <iostream> | |
| #include <stdio.h> | |
| #include <png.h> | |
| int read_png_file(char const* filename, uint8_t*& pimg, int& width, int& stridex, int& height) | |
| { | |
| FILE *fp = nullptr; | |
| png_structp png = nullptr; | |
| png_infop info = nullptr; |
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 | |
| def quat_make_continuous(q): | |
| R''' | |
| Brief: | |
| ------ | |
| The function makes a trajectory `q` continuous | |
| Detailed: |
NewerOlder