2018-02-01から1ヶ月間の記事一覧
対処療法として、writeMicroseconds()して動作完了したらdetach()することで、振動を抑える(そもそもPWMを切ってしまう)ことにした。 均衡点付近で永久に振動していることを考えると、スライディングモード制御などが使えるんだろうか。 #include <Servo.h> Servo s</servo.h>…
write()ではなく、writeMicroseconds()を使う http://tetsuakibaba.jp/index.php?page=workshop/ServoBasis/main #include <Servo.h> Servo sv; void setup() { Serial.begin(9600); sv.attach(9); } void loop() { for(int i=0;i<180;i++){ int j = map(i,0,180,800,</servo.h>…
http://ednjapan.com/edn/articles/1009/01/news112.html 基本的には間引き(decimation)を利用することから、ダウンコンバージョン、ダウンサンプリング、間引きは同一のものとして扱われるとのこと。
https://stackoverflow.com/questions/17077494/how-do-i-convert-a-ipython-notebook-into-a-python-file-via-commandline $ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
グラフのインライン表示の設定と、グラフのダークカラースキーム対応の設定をしたい。 ~/.ipython/profile_default/startup/load_matplotlib_for_dark_colorscheme.ipy %matplotlib inline from jupyterthemes import jtplot jtplot.style('monokai')いちい…
0. jupyter-nbextensions(contrib?)を入れる https://github.com/ipython-contrib/jupyter_contrib_nbextensions sudo pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user 1. jupyter-vimbindingを入れる https://github…
https://www.youtube.com/playlist?list=PLQVvvaa0QuDfKTOs3Keq_kaG2P55YRn5v
https://www.youtube.com/playlist?list=PLDVKrmVEl_Wt0WoaQqDfRVt9EK1lQjZu5