Repository navigation
[로보메이션] 브라우저 연결 기능 - 햄스터S 블록을 설치형(하드웨어 연결하기)과 같게 수정 - #3108
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.
어떤 하드웨어 인가요?
햄스터S / (주)로보메이션. 브라우저 연결(하드웨어Lite), Web Serial + 전용 동글
변경 사항
hamsterslite_*입니다. 설치형과 같은 이름을 쓰면 한 번들 안에서 설치형 정의를 덮어쓰기 때문입니다(삐오, 라쿤 lite와 같은 방식).block_robomation.js의HamsterSRobot, entry-hwhamster_s.js)과 같게 구현했습니다. 로봇으로 나가는 패킷과 블록이 돌려주는 값을 설치형과 대조해 맞췄습니다.block_hamster_lite.js파일 하나만 바뀌고 공용 파일은 건드리지 않았습니다.구형 햄스터 동작 변화
두 항목이 송수신 코드를 같이 쓰므로, 아래 수정은 ”햄스터" (구형 로봇, 그리고 이 항목으로 연결한 햄스터S)에도 적용됩니다. 모두 설치형과 같아지는 방향입니다.
0x96(-106)으로 나가 로봇이 뒤로 달렸습니다. 출력, 버저 등도 같습니다.기존 작품
참고사항
설치형과 동작이 다른 곳은 네 가지입니다.
설치형의 버그를 따라 하지 않은 것 (3가지)
아래 경우에 설치형은 블록이 멈추거나 로봇에 잘못된 명령이 갑니다. 브라우저 연결은 이 버그를 수정하였습니다. (추후 설치형에도 수정할 예정입니다.)
맞추지 못한 것 (1가지)
engine.js)를 고쳐야 해서 맞추지 못했습니다.