Repository navigation
[로보메이션] 브라우저 연결 기능 - 거북이 추가 - #3109
Open
RobomationRnD wants to merge 1 commit into
Open
RobomationRnD wants to merge 1 commit into
RobomationRnD wants to merge 1 commit into
Conversation
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.
어떤 하드웨어 인가요?
거북이 / (주)로보메이션. 브라우저 연결(하드웨어Lite), Web Serial + 전용 동글
변경 사항
turtlelite_*입니다. 연결 프로그램과 같은 이름을 쓰면 한 번들 안에서 기존 정의를 덮어쓰기 때문입니다(#3096의 햄스터S 항목과 같은 방식).block_robomation.js의TurtleRobot, entry-hwturtle.js)과 같게 구현했습니다. 로봇으로 나가는 패킷과 블록이 돌려주는 값을 연결 프로그램 코드와 바이트 단위로 대조해 맞췄습니다.새 파일 세 개(
block_turtle_lite.js,metadata_turtle_lite.json,images/hw_lite/turtlelite.png)만 추가했고 공용 파일은 건드리지 않았습니다.검증
참고사항
연결 프로그램과 동작이 다른 곳은 아래와 같습니다. 그 밖에는 로봇으로 나가는 패킷과 블록 값이 같습니다.
연결 프로그램과 다른 동작
아래 항목 중 앞의 다섯 가지(명령 중첩, 움직임 신호 대기, 16비트 초과 펄스, 보정값 응답 검사, 긴 시간 대기)는 연결 프로그램 쪽도 추후 같은 동작으로 맞출 예정입니다. 나머지는 브라우저 연결의 연결 방식에서만 생기는 동작입니다.
미미한 차이