mirror of
https://github.com/BotChain-Robots/ui.git
synced 2026-07-08 15:07:22 +02:00
Merge branch 'Add-New-Modules' of https://git.uwaterloo.ca/capstone-group2/ui into Add-New-Modules
This commit is contained in:
@@ -33,7 +33,7 @@ public class ServoStraightModule : ServoMotorModule
|
||||
{
|
||||
currentAngle = Mathf.Clamp(angle, 0f, 180f);
|
||||
lastSentAngle = currentAngle;
|
||||
armPivot.localRotation = Quaternion.Euler(currentAngle, 0f, 0f);
|
||||
MoveArmPivot(currentAngle);
|
||||
}
|
||||
|
||||
// public void SetHighlight(bool enabled)
|
||||
|
||||
Reference in New Issue
Block a user