• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1948 (tree)
日時2011-04-19 18:59:29
作者satofumi

ログメッセージ

adjusted for SCIP 2.2 protocol

変更サマリ

差分

--- trunk/libs/range_sensor/c/scip_handler.h (revision 1947)
+++ trunk/libs/range_sensor/c/scip_handler.h (revision 1948)
@@ -41,6 +41,7 @@
4141 When the command response is included in expected_ret, the return value of this function becomes 0 (normality).
4242
4343 \param[out] serial Structure of serial control
44+ \param[in] command_first first command
4445 \param[out] return_code Return value
4546 \param[in] expected_ret Return value considered to be normal
4647 \param[in] timeout Time out [msec]
--- trunk/libs/range_sensor/c/urg_ctrl.h (revision 1947)
+++ trunk/libs/range_sensor/c/urg_ctrl.h (revision 1948)
@@ -503,7 +503,7 @@
503503 \image html urg_sensor_radian.png Front of the sensor is a positive in X axis
504504
505505 \param[in,out] urg Structure of URG control
506- \param[in] Angle(radian)
506+ \param[in] radian Angle(radian)
507507
508508 \return Index
509509
@@ -516,7 +516,7 @@
516516 \brief Angle(degree) is converted into index
517517
518518 \param[in,out] urg Structure of URG control
519- \param[in] Angle(degre)
519+ \param[in] degree Angle(degre)
520520
521521 \return Index value
522522
--- trunk/libs/range_sensor/ScipHandler.cpp (revision 1947)
+++ trunk/libs/range_sensor/ScipHandler.cpp (revision 1948)
@@ -202,7 +202,7 @@
202202 snprintf(send_buffer, 10, "SS%06ld\n", baudrate);
203203 int return_code = -1;
204204 // !!! 既に設定対象のボーレート、の場合の戻り値を ss_expected... に追加する
205- char ss_expected_response[] = { 0, 0x3, 0x4, -1 };
205+ char ss_expected_response[] = { 0, 0x3, 0x4, 0xf, -1 };
206206 if (! response(return_code, send_buffer, ss_expected_response)) {
207207 error_message_ = "Baudrate change fail.";
208208 return false;
旧リポジトリブラウザで表示