ServoFramInno-Servo86
86Duino IDE 從 Coding 209 開始加入此函式庫,此函式庫可用來操作和編輯 RC Servos 機器人(或機器手臂、六足機械獸等)動作,並實現下面幾種功能:
1. 單一 Servo 角度、速度編輯,可指定多顆 Servo 同時運作。
2. 所有 Servo 角度可儲存為單一動作幀,存放於 SD 卡,使用者可自由決定動作幀播放時間間隔,重現或紀錄機器人的動作。
Servo 類別
Servo 類別初始化 Servo 函式庫和 Servo 設定。
- attach()
- detach()
- attached()
- angleMap()
- setVelocity()
- setPosition()
- setOffset()
- setRealTimeMixing()
- write()
- writeMicroseconds()
- read()
- readMicroseconds()
- run()
- pause()
- resume()
- stop()
- release()
- isMoving()
- servoMultiRun()
- servoMultiPause()
- servoMultiResume()
- servoMultiStop()
- isServoMultiMoving()
ServoFrame 類別
ServoFrame 類別用於設定、儲存或播放機器人動作 。
- positions[]
- setPositions()
- save()
- load()
- playPositions()
ServoOffset 類別
ServoOffset 類別用於設定機器人上所有伺服機的偏移量。
- offsets[]
- setOffsets()
- save()
- load()
ServoFrameInno 類別
ServoFrameInno 類別用於設定、儲存或播放利基 Servo 控制板生成的動作檔(.ftxt 或 .frm 檔案)。
- positions[]
- setPositions()
- save()
- load()
- playPositions()
ServoOffsetInno 類別
ServoOffsetInno 類別用於設定、讀取或儲存利基 Servo 控制板生成的偏移量檔案(.otxt 或 .ofs 檔)。
- offsets[]
- setOffsets()
- save()
- load()
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.