[로보메이션] 삐오봇, 라쿤봇 하드웨어 블록 추가 - #3098
Merged
Tnks2U merged 1 commit intoSep 8, 2026
Merged
Conversation
- 로보메이션의 새 로봇 두 종. 기존 로보메이션 동글을 그대로 사용 - 삐오봇: 바퀴 두 개, 목 회전, 눈 LED, 버저 - 라쿤봇: 관절 네 개짜리 로봇 팔. 각도 지정, 좌표 지정, 티치 재생 - 블록 파일 `block_pio.js`, `block_raccoon.js` 신규 - 블록에 뜨는 글자는 각 파일의 `setLanguage()` 에 ko, en, jp, vn 네 로케일 - 로봇 동작은 `block_robomation.js` 에 `PioRobot`, `RaccoonRobot` 으로 추가 - 하드웨어 목록 등록은 `hardware/index.js` 가 자동 처리. 등록 파일 수정 없음 - 로봇 사진 `images/hw/pio.png`, `images/hw/raccoon.png`
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.
어떤 하드웨어 인가요?
변경 사항
setLanguage()에 ko, en, jp, vn 네 로케일로 담았습니다.파일 5개(
block_pio.js,block_raccoon.js,block_robomation.js,images/hw/pio.png,images/hw/raccoon.png)만 바뀌고 엔트리 코어 관련 파일은 건드리지 않았습니다.참고사항
기준(
develop-hw) 대비 무엇이 달라지는지 함께 적었습니다.block_robomation.js에는 수정 없이 새 로봇 추가만 진행하였습니다. 이 파일을 공유하는 기존 로봇(햄스터, 햄스터S, 거북이, 라인, 제로원, 치즈스틱)의 코드는 한 줄도 바뀌지 않습니다.hardware/index.js의require.context가 디렉터리를 훑어 자동 등록하므로, 블록 파일을 추가하는 것만으로 목록에 올라갑니다.±90은 프로토콜 필드 범위이고 물리 가동 범위는±45입니다.