• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1777 (tree)
日時2010-04-14 22:41:26
作者satofumi

ログメッセージ

add ScipDecoder

変更サマリ

差分

--- trunk/widgets/UrgDrawWidget/UrgDrawWidget.cpp (revision 1776)
+++ trunk/widgets/UrgDrawWidget/UrgDrawWidget.cpp (revision 1777)
@@ -32,6 +32,7 @@
3232 {
3333 const double DefaultPixelPerMm = 20.0;
3434
35+
3536 struct DrawData
3637 {
3738 vector<Point<long> > point_data;
--- trunk/libs/range_sensor/c/urg_ctrl.h (revision 1776)
+++ trunk/libs/range_sensor/c/urg_ctrl.h (revision 1777)
@@ -153,7 +153,7 @@
153153
154154 \see urg_maxDistance(), urg_minDistance(), urg_scanMsec(), urg_dataMax()
155155
156- Execution example of get_parameters.c (Classic-URG)
156+ Execution example of get_parameters.c (URG-04LX)
157157 \verbatim
158158 % ./get_parameters
159159 urg_getParameters: No Error.
@@ -402,7 +402,7 @@
402402 \param[in] data_max Maximum number of data that can be received
403403 \param[out] intensity Storage location of intensity of received data.
404404
405- \attention Applicable only to Classic-URG (currently 2008-12-24)
405+ \attention Applicable only to URG-04LX (currently 2008-12-24)
406406 */
407407 extern int urg_receiveDataWithIntensity(urg_t *urg, long data[], int data_max,
408408 long intensity[]);
--- trunk/libs/range_sensor/samples/decodeSample.cpp (revision 1776)
+++ trunk/libs/range_sensor/samples/decodeSample.cpp (revision 1777)
@@ -17,14 +17,6 @@
1717 int main(int argc, char *argv[])
1818 {
1919 printf("%ld\n", ScipHandler::decode("1H9", 3));
20- printf("%ld\n", ScipHandler::decode("0?X", 3));
21- printf("%ld\n", ScipHandler::decode("0Ac", 3));
22- printf("%ld\n", ScipHandler::decode("0A]", 3));
23- //printf("%ld\n", ScipHandler::decode("000", 3));
24- //printf("%ld\n", ScipHandler::decode("009", 3));
25- printf("%ld\n", ScipHandler::decode("0A", 2));
26- printf("%ld\n", ScipHandler::decode("2<X", 3));
27- printf("%ld\n", ScipHandler::decode("<b2", 3));
2820 printf("%ld\n", ScipHandler::decode("0DKO", 4));
2921
3022 return 0;
--- trunk/programs/ScipDecoder/main.cpp (nonexistent)
+++ trunk/programs/ScipDecoder/main.cpp (revision 1777)
@@ -0,0 +1,20 @@
1+/*!
2+ \file
3+ \brief 入力した SCIP 文字列を数値に変更するツール
4+
5+ \author Satofumi KAMIMURA
6+
7+ $Id$
8+*/
9+
10+#include <QApplication>
11+
12+
13+int main(int argc, char *argv[])
14+{
15+ QApplication app(argc, argv);
16+
17+ // !!!
18+
19+ return app.exec();
20+}
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
旧リポジトリブラウザで表示