2017-10-01から1ヶ月間の記事一覧

PYNQでボタンを押すとLEDを点灯させる(GPIOの割り込み)

#include <stdio.h> #include "platform.h" #include "xparameters.h" #include "xgpio.h" #include "xscugic.h" #include "xil_exception.h" #include "xil_printf.h" // Parameter definitions #define INTC_DEVICE_ID XPAR_PS7_SCUGIC_0_DEVICE_ID #define BTNS_DE</stdio.h>…

AXI Timer 32bitで周期を設定する

以下のTMR_LOADをどう設定するかがわからなかった XTmrCtr_SetResetValue(&TimerInstancePtr, 0, //Change with generic value TMR_LOAD);

API level24(android 7.0)でSpinnerタイプのDate pickerを表示する

stack overflow https://stackoverflow.com/questions/28740657/datepicker-dialog-without-calendar-visualization-in-lollipop-spinner-mode/46579216#46579216ダイアログフラグメントを使うと、API Level24でだけ動かない→バグAPIレベルでの分岐 https://…

zynqでLEDをタイマーで点灯する

https://www.xilinx.com/support/answers/50572.html をベースにGPIOを組み合わせた /* * Pl_timer_intr_test.c * * Created on: 2012-6-8 * Author: yzhang */ #include <stdio.h> //#include "platform.h" #include "xil_types.h" #include "xtmrctr.h" #include "x</stdio.h>…

zybo gpioでタイマー割り込み

Zybo > Interrupt > AXI Timer > LEDを点灯する処理 https://qiita.com/7of9/items/e3253f4a426f2384600cZYBO / Pmod > GPIOをPmodコネクタに出力してみた https://qiita.com/7of9/items/2e714e66d4a6c78c4a02

Vivado2017.1でI/O Portsの場所

右上のレイアウトをI/O Planningに切り替えるとI/O Portsのタブが出て来る

zynqのタイマー割り込み

WIP

ここを参考に試した。 https://qiita.com/7of9/items/e3253f4a426f2384600c#vivado%E3%81%A7%E3%81%AE%E5%87%A6%E7%90%86

Zynqのタイマー割り込み

ドライバを使う? http://www.wiki.xilinx.com/GIC+Standalone+Driver

Xilinx SDKでC++プロジェクトを作る

http://www.vision.put.poznan.pl/?p=182https://github.com/PUTvision/Xilinx_code_templates

openMVGのデモ

環境はUbuntubuild/software/SfM/にある、tutorial_demo.pyを実行したら、 build/software/SfM/tutorial_out/reconstruction_global/に、plyファイルが生成された -rw-rw-r-- 1 shohei shohei 505 Oct 5 01:43 cameraPath_translation_averaging.ply -rw-rw-…

sfmのライブラリ

TheiaSfMopengvRegard3D

App inventorでJSONをパースする

https://badcheese.com/blog/index.php/2016/06/02/i-finally-figured-out-how-to-get-json-parsing-in-mit-app-inventor-2-working-and-adding-to-a-listview-widget/ListViewのHeightを固定ピクセルで指定しないと駄目だった(Automatic, fill parentでは…

scrapy & scraping hubの使い方

http://data.gunosy.io/entry/python-scrapy-scraping