Skip to main content

ปราสาทแครชเชอร์

6 บทเรียน

ในบทนี้ คุณจะได้สำรวจวิธีใช้เซ็นเซอร์แบบออปติคอลและระยะทางเพื่อค้นหา ชน และเคลียร์ 'ปราสาท' ลูกบาศก์เพื่อทำคะแนนในการแข่งขัน Castle Crasher!

ไปที่พอร์ทัลครูเพื่อดูสื่อและวิดีโอสนับสนุนครูเกี่ยวกับเนื้อหาและการอำนวยความสะดวกของบทเรียน Castle Crasher

ปราสาทแครชเชอร์ พอร์ทัลของครู  >

VEX IQ 2nd generation BaseBot build.

บทที่ 1: บทนำ

ในบทเรียนนี้คุณจะได้รับการแนะนำให้รู้จักกับการแข่งขัน Castle Crasher สร้าง BaseBot และเตรียมพร้อมสำหรับการเขียนโค้ด

A close up view of the BaseBot at the corner of the raised Field with 3 Cubes falling off the Field to the surface below.

บทที่ 2: Castle Crasher ไม่มีเซ็นเซอร์

ในบทเรียนนี้คุณจะได้เรียนรู้เกี่ยวกับการคำนวณมุมและการเปลี่ยนความเร็วของหุ่นยนต์ของคุณเพื่อให้คุณสามารถแข่งขันใน Tower Over Challenge ได้

A close up view of the BaseBot at the edge of the raised Field, having just pushed a green Cube off the Tiles. The Distance Sensor on the front of the robot is highlighted in yellow.

บทที่ 3: Castle Crasher + เซ็นเซอร์ระยะทาง

ในบทเรียนนี้คุณจะได้เรียนรู้เกี่ยวกับเซ็นเซอร์ระยะทางคืออะไรและสามารถใช้กับหุ่นยนต์ของคุณได้อย่างไร นอกจากนี้คุณยังจะได้เรียนรู้เกี่ยวกับบล็อก [รอจนกว่า] และวิธีใช้ในโครงการ VEXcode IQ จากนั้นคุณจะนำสิ่งที่คุณได้เรียนรู้ไปใช้ในการแข่งขัน Cube Crasher Challenge!

A close up of the BaseBot pushing a green cube off the edge of the raised Field, with the Distance and Optical Sensors attached to the front of the robot highlighted in yellow. The Distance Sensor faces forward, and the Optical Sensor is positioned downward.

บทที่ 4: การสร้างอัลกอริทึม

ในบทเรียนนี้คุณจะได้เรียนรู้เกี่ยวกับออปติคัลเซนเซอร์และวิธีการสร้างอัลกอริทึมที่ใช้ข้อเสนอแนะของเซ็นเซอร์ จากนั้นคุณจะต้องตั้งรหัสให้หุ่นยนต์ของคุณค้นหาลูกบาศก์โดยอัตโนมัติและผลักออกจากสนามในการแข่งขันกวาดล้างสนาม

A close up image of the BaseBot with the Distance and optical Sensors on the front, pushing a stack of two cubes off the corner of the raised Field, with cubes on and off the Field in the background.

บทเรียนที่ 5: การแข่งขัน Castle Crasher

ในบทเรียนนี้คุณจะใช้การเรียนรู้ของคุณจากบทเรียนก่อนหน้านี้เพื่อแข่งขันในการแข่งขัน Castle Crasher!

Blue light bulb icon.

บทที่ 6: บทสรุป

ในบทเรียนนี้คุณจะได้ทบทวนหน่วยและระบุความเชื่อมโยงระหว่างสิ่งที่คุณทำกับอาชีพ STEM