-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add humanoid code #17
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update: code is up ...
I'll push code here today that adds the humanoid code to this project ... the changes have already been added to the Arduino 'unified' OttoDIYArduino project ...
uses the same import and initialization for either Otto or Humanoid
to initialize Otto, call things as you would normally ...
Otto.init(YL, YR, RL, RR, load_calibration, NoiseSensor, Buzzer, USTrigger, USEcho)
to initialize the Humanoid ... there are several ways ... including initHUMANOID() to stay 100% backwards compatible ...
Otto.init(YL, YR, RL, RR, load_calibration, NoiseSensor, Buzzer, USTrigger, USEcho, LA, RA)
Otto.init(YL, YR, RL, RR, LA = 4, RA = 5, load_calibration, NoiseSensor, Buzzer, USTrigger, USEcho)
Otto.initHUMANOID(YL, YR, RL, RR, LA, RA, load_calibration, NoiseSensor, Buzzer, USTrigger, USEcho)
essentially, Otto is a Humanoid with the arms not hooked up ... so we could just use the Humanoid code ... however, steps were taken to only init, and update the connect servos ... if you call 'arm only movements' and initialized as a Otto (not Humanoid) the call will be ignored ...
The text was updated successfully, but these errors were encountered: