• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1793 (tree)
日時2010-04-19 18:49:20
作者satofumi

ログメッセージ

add timestamp print script.

変更サマリ

差分

--- trunk/libs/packages/urg_c/README (revision 1792)
+++ trunk/libs/packages/urg_c/README (revision 1793)
@@ -0,0 +1,5 @@
1+!!!
2+
3+Contact
4+----------------------------------------
5+URG Helper Mailing List <urgwidget-users@lists.sourceforge.net>
--- trunk/libs/packages/urg_cpp/README (revision 1792)
+++ trunk/libs/packages/urg_cpp/README (revision 1793)
@@ -0,0 +1,5 @@
1+!!!
2+
3+Contact
4+----------------------------------------
5+URG Helper Mailing List <urgwidget-users@lists.sourceforge.net>
--- trunk/libs/packages/urg/README (revision 1792)
+++ trunk/libs/packages/urg/README (revision 1793)
@@ -27,4 +27,4 @@
2727
2828 Contact
2929 ----------------------------------------
30-Satofumi KAMIMURA <satofumi@users.sourceforge.jp>
30+URG Helper Mailing List <urgwidget-users@lists.sourceforge.net>
--- trunk/programs/UrgViewer/UrgViewerWindow.cpp (revision 1792)
+++ trunk/programs/UrgViewer/UrgViewerWindow.cpp (revision 1793)
@@ -119,8 +119,7 @@
119119 void initializeForm(void)
120120 {
121121 // タイトルにバージョン情報を付加
122- const QString title =
123- widget_->windowTitle() + " " + Version;
122+ const QString title = widget_->windowTitle() + " " + Version;
124123 widget_->setWindowTitle(title);
125124
126125 // ウィジットの配置
--- trunk/programs/UrgViewer/print_timestamp.py (nonexistent)
+++ trunk/programs/UrgViewer/print_timestamp.py (revision 1793)
@@ -0,0 +1,28 @@
1+#!/usr/bin/env python
2+#
3+# print SCIP timestamp value
4+
5+import sys
6+
7+
8+def decode(string):
9+ value = 0
10+
11+ for ch in string:
12+ value <<= 6
13+ value &= ~0x3f
14+ value |= ord(ch) - 0x30
15+
16+ return value
17+
18+
19+pre_line = ''
20+pre_timestamp = -1
21+for line in open("mConnection_0_recv.txt"):
22+ if pre_line == '99b':
23+ timestamp_string = line[:-2]
24+ timestamp = decode(timestamp_string)
25+ print str(timestamp) + "(" + str(pre_timestamp - timestamp) + ")"
26+ pre_timestamp = timestamp
27+
28+ pre_line = line[:-1]
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
旧リポジトリブラウザで表示