Open
Conversation
s-takatsuki
reviewed
Dec 12, 2024
Collaborator
s-takatsuki
left a comment
There was a problem hiding this comment.
大変遅くなりました。一先ずサンプルを動作させてみた結果、3点気になる所があったので確認お願いします。
| send_command.append(sc) | ||
| send_command.append(sc) | ||
|
|
||
| print("send_command:", send_command) |
Collaborator
There was a problem hiding this comment.
出力を削除するか、logger.debugを使用したほうが良いかもしれません。
| raise InvalidResponseDataException("送信コマンドを正しくループバックできていません。") | ||
| recv_command = recv_byte_list[offset:] | ||
|
|
||
| print("recv_command:", recv_command) |
Collaborator
There was a problem hiding this comment.
出力を削除するか、logger.debugを使用したほうが良いかもしれません。
| self.set_target_position(pos, sid=sid) | ||
| else: | ||
| # Free状態を送信 | ||
| self._send_recv(sid, self.CMD_POSITION, data=[0x00, 0x00]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
KONDOのICSパケットサポートを追加しました。
KONDOのパケットは送信と受信がセットのため、sendのみではなくreceiveまで待って値等を取得するようにしています。
コンストラクタの引数ですが、以下を拡張で追加しています。
またTODOコメントを入れて処理を実装していない関数がいくつかあるのですが、これらはプロトコル上対応可能だけど私の時間が取れなかったため実装できていないものです。
動作チェックは角度の取得、指示に関してはできていますが他は確認していません。
塩漬けになりそうだったので、一旦プルリクエストさせてください。