metadata | Metadata | カーソルなどのメタデータです。 |
metadata.cursor | string|integer | ロングポーリング用のカーソルです。0 を指定すると最新の値をすぐに返します。前回の応答の metadata.cursor を指定すると、値が更新されるまで応答を待ちます。 |
histories | array<History> | 実行履歴の一覧です。 |
histories[].id | string | 識別子です。 |
histories[].command | Command | 実行するコマンドです。oneof のうち 1 つを指定します。 |
histories[].command.move_shelf_command | MoveShelfCommand | 家具を目的地へ運ぶコマンドです。 |
histories[].command.move_shelf_command.target_shelf_id | string | 対象の家具 ID です。 |
histories[].command.move_shelf_command.destination_location_id | string | 運び先の目的地 ID です。 |
histories[].command.move_shelf_command.undock_on_destination | boolean | 到着後に家具を置くかどうかを指定します。 |
histories[].command.return_shelf_command | ReturnShelfCommand | 家具を片付け先へ戻すコマンドです。 |
histories[].command.return_shelf_command.target_shelf_id | string | 対象の家具 ID です。 |
histories[].command.undock_shelf_command | UndockShelfCommand | 家具を置くコマンドです。 |
histories[].command.undock_shelf_command.target_shelf_id | string | 対象の家具 ID です。要求時は空のままで構いません。状態や結果を取得する時点で、置いた家具の ID が入ります。 |
histories[].command.move_to_location_command | MoveToLocationCommand | 目的地へ移動するコマンドです。 |
histories[].command.move_to_location_command.target_location_id | string | 目的地 ID です。 |
histories[].command.move_to_location_command.source_location_id | string | 移動の開始地点にする目的地 ID です。空文字の場合は現在位置から移動します。 |
histories[].command.return_home_command | ReturnHomeCommand | 充電ドックへ戻るコマンドです。 |
histories[].command.dock_shelf_command | DockShelfCommand | 家具を載せるコマンドです。 |
histories[].command.speak_command | SpeakCommand | 発話コマンドです。 |
histories[].command.speak_command.text | string | 発話する文章です。 |
histories[].command.move_to_pose_command | MoveToPoseCommand | 座標指定で移動するコマンドです。 |
histories[].command.move_to_pose_command.x | number | X 座標(メートル)です。 |
histories[].command.move_to_pose_command.y | number | Y 座標(メートル)です。 |
histories[].command.move_to_pose_command.yaw | number | 向き(ラジアン)です。 |
histories[].command.lock_command | LockCommand | その場で待機するコマンドです。 |
histories[].command.lock_command.duration_sec | number | 秒数です。 |
histories[].command.move_forward_command | MoveForwardCommand | 前後移動コマンドです。 |
histories[].command.move_forward_command.distance_meter | number | 進む距離(メートル)です。正の値は前進、負の値は後退です。 |
histories[].command.move_forward_command.speed | number | 速度(メートル毎秒)です。 |
histories[].command.move_forward_command.mute_sensors | boolean | センサーによる停止を無効にするかどうかを指定します。 |
histories[].command.rotate_in_place_command | RotateInPlaceCommand | その場回転コマンドです。 |
histories[].command.rotate_in_place_command.angle_radian | number | 回転角(ラジアン)です。 |
histories[].command.dock_any_shelf_with_registration_command | DockAnyShelfWithRegistrationCommand | 家具を登録しながら載せるコマンドです。Kachaka Pro 専用です。 |
histories[].command.dock_any_shelf_with_registration_command.target_location_id | string | 目的地 ID です。 |
histories[].command.dock_any_shelf_with_registration_command.dock_forward | boolean | 前向きに載せるかどうかを指定します。 |
histories[].command.localize_command | LocalizeCommand | 自己位置推定コマンドです。 |
histories[].command.move_by_velocity_with_muted_sensors_command | MoveByVelocityWithMutedSensorsCommand | センサーを無効にして速度指定で移動するコマンドです。 |
histories[].command.move_by_velocity_with_muted_sensors_command.signed_velocity | number | 移動速度(メートル毎秒)です。正の値は前進、負の値は後退です。 |
histories[].command.move_by_velocity_with_muted_sensors_command.move_duration_sec | number | その速度で移動する秒数です。 |
histories[].command.depart_from_charger_command | DepartFromChargerCommand | 充電ドックから離れるコマンドです。 |
histories[].success | boolean | 成功したかどうかを示します。 |
histories[].error_code | integer | エラーコードです。成功時は 0 です。 |
histories[].command_executed_time | string|integer | 実行時刻です。 |