Main Menu

Site Menu

Who's Online

We have 54 guests and 2 members online
  • vickly
  • noralewis

Login Form






Lost Password?
No account yet? Register

Find us on Facebook

Welcome ( Log in )
How to deactivate standby mode by clapping?

 
Post new topic   Reply to topic    RoboSavvy Forum Forum Index -> Bioloid & Robotis
View previous topic :: View next topic  
Author Message
vaguin
Robot Builder
Robot Builder


Joined: 28 Sep 2012
Posts: 7

PostPosted: Fri Sep 28, 2012 5:03 pm    Post subject: How to deactivate standby mode by clapping? Reply with quote

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
Back to top
View user's profile Send private message   Share
Fritzoid
Savvy Roboteer
Savvy Roboteer


Joined: 18 Dec 2006
Posts: 331

PostPosted: Fri Sep 28, 2012 7:35 pm    Post subject: Reply with quote

Nice looking robot vaguin!

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.
Back to top
View user's profile Send private message   Share
vaguin
Robot Builder
Robot Builder


Joined: 28 Sep 2012
Posts: 7

PostPosted: Mon Oct 01, 2012 12:59 am    Post subject: Reply with quote

Fritzoid wrote:
Nice looking robot vaguin!

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
Back to top
View user's profile Send private message   Share
Display posts from previous:   
Post new topic   Reply to topic    RoboSavvy Forum Forum Index -> Bioloid & Robotis All times are GMT
Page 1 of 1

 
Jump to:  
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

 



Powered by phpBB ©

Contact us

In Our Store

 

SparkFun - Raspberry Pi - Model A
£28.72   £34.46 inc. VAT
 

GoogleSearch

Google
robosavvy.com
Web


Makerbot DARwIn-OP Robotis Sparkfun Kondo Robobuilder DfRobot Dagu
© 2013 RoboSavvy All rights reserved. Privacy Policy.