Posted: Fri Sep 28, 2012 5:03 pm Post subject: How to deactivate standby mode by clapping?
Hi there guys, nice to meet you all, Im Alejo from Colombia, i got my bioloid premium C type (Colombian edition, hehe) some weeks ago, his name is Magnus...
sorry to disturb you, but after trying so much on how to make magnus to standup and be ready from his standy mode (when seated) just by clapping, i cannot make it, would you give me a helping hand please?
Well, this is magnus
and this is the standby code to modify
thank you,
Last edited by vaguin on Mon Oct 01, 2012 12:55 am; edited 1 time in total
Take a look at the subroutine named "DemoMode" in the default humanoid task that comes with the robot. In this mode the robot will listen for repeated sharp noises (hand claps) and then clap its hands in response.
The process first clears the variable "Sound count" then runs a loop that periodically checks if the "Sound count" is greater than zero. Instead of clapping you could run the Standup motion and then wait for it to complete.
Take a look at the subroutine named "DemoMode" in the default humanoid task that comes with the robot. In this mode the robot will listen for repeated sharp noises (hand claps) and then clap its hands in response.
The process first clears the variable "Sound count" then runs a loop that periodically checks if the "Sound count" is greater than zero. Instead of clapping you could run the Standup motion and then wait for it to complete.
thank you Fritzoid for your answer, i wanted to deactivate the standby mode either by pressing the keys of the remote or by clapping, but it is not possible, it has to be done just by one way, so i just changed the "remocon arrived = false" for "Address 58 = false" and add a timer at the end, so now its working like a charm, it deactivates the standby mode and stand up just by clapping once
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum