Develop and Download Open Source Software

Browse Subversion Repository

Contents of /rangesCtrl/rangesCtrl.dox

Parent Directory Parent Directory | Revision Log Revision Log


Revision 126 - (show annotations) (download)
Fri Nov 2 11:36:31 2007 UTC (16 years, 7 months ago) by satofumi
File size: 2383 byte(s)
add doxygen's comment

1 /*!
2 \page rangesCtrl_page RangesCtrl
3
4 \section rangesCtrl_section_abst 概要
5
6 測域センサからのデータ取得クラス、および取得データの変換関数から構成される。
7
8 \n
9 \section rangesCtrl_section_classlist 主なクラス一覧
10
11 - RangeSensorInterface ... 測域センサのインターフェース定義
12 - UrgCtrl ... URG 制御
13 - UrgIdHandler ... URG の接続管理
14 - convertToGrid() ... 取得データの2次元変換
15 - convertToVector() ... 取得データからの直線検出
16
17 \n
18 \section rangesCtrl_section_tech 技術ドキュメント
19 - \subpage compare_auto_manual_page
20
21 \n
22 \section rangesCtrl_section_samplelist サンプル
23
24 - \ref connection_device_search_page ... シリアル ID を指定しての URG 接続サンプル
25 - \subpage sometimesScan_sample_page ... 逐次取得サンプル
26 - \subpage scan_sample_page ... 連続取得サンプル (参考 \ref compare_auto_manual_page)
27 - \subpage urg_convert_to_grid_page ... データの2次元変換サンプル
28 - ... データからの直線検出サンプル
29 */
30
31
32 /*!
33 \page compare_auto_manual_page AutoCapture と ManualCapture
34
35 URGセンサからデータを取得するモードには, AutoCapture と ManualCapture の2種類が用意されている。
36
37 \section compare_auto_manual_section_auto AutoCapture によるデータ取得
38
39 AutoCapture モードでは、データ取得専用のスレッドが起動し、バックグラウンドにて常に最新のデータを取得している。従って、UrgCtrl::capture() によるデータ取得は URG との通信速度に拠らず、即座に処理される。AutoCapture モードは、シリアル接続時など、URGとの通信速度が遅い場合に利用するとよい。
40
41 \image html capture_auto.png データ取得のシーケンス図 (n番目のデータが帰る)
42
43 URGCtrl::capture を連続で呼び出した場合で、新しいデータが取得されていない場合、UrgCtrl::capture() は 0 を返す。
44
45 \n
46 \section compare_auto_manual_section_manual ManualCapture によるデータ取得
47
48 Manualモードでは、URGCtrl::capture コマンドが発行されてから URGセンサにデータ要求を行い、データが送られてくるまで URGCtrl::capture はブロックする。
49
50 \image html capture_manual.png データ取得のシーケンス図 (n+1番目のデータが帰る)
51 */
52
53
54 /*!
55 \page urg_convert_to_grid_page convertToGridSample.cpp
56
57 取得データの2次元変換サンプル
58
59 \include convertToGridSample.cpp
60 */
61
62
63 /*!
64 \page sometimesScan_sample_page sometimesScanSample.cpp
65
66 UrgCtrl によるデータの逐次取得サンプル
67
68 \include sometimesScanSample.cpp
69 */
70
71
72 /*!
73 \page scan_sample_page scanSample.cpp
74
75 UrgCtrl によるデータの連続取得サンプル
76
77 \include scanSample.cpp
78 */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26