GLOBAL SITE AUSTRALIAN SITE

Edison programmed to respond to remote control and claps | Program sharing | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic3
Edison programmed to respond to remote control and claps
September 11, 2017
5:26 pm
robomaster
New Member
Members
Forum Posts: 2
Member Since:
September 11, 2017
sp_UserOfflineSmall Offline

Hi 

I have been programming Edison V2.0, using my own programs and sample ones. 

I can’t figure out how to make Edison to detect an obstacle, wait for a remote control command to make the motors go backwards (I made a catapult using LEGO Technic), then go forwards by detecting a clap. 

The program is below.

http://www.edwareapp.com/share/uMfty

Thanks.

September 27, 2017
10:30 am
Jamal
Member
Forum Posts: 9
Member Since:
April 20, 2017
sp_UserOfflineSmall Offline

Hi, 

When programming its best to think about what you want Edison to do and in what order. It sounds like you want Edison to:
Wait until an obstacle is detected then
Wait until a remote control command is received then
Drive backwards for a set amount of time (Edison cannot detect claps while driving) then
Wait until a clap is heard then
Drive forwards for a set amount of time then
repeat the whole lot (so it can be done multiple times)

Most of these things only require one block in EdWare to archive, except for the driving and the wait for clap. to drive you need 3 block (dual drive -> event wait -> dual drive). To wait for a clap after driving you

To wait for a clap after driving you need 3 blocks (event wait for 0.4 seconds -> blue detect clap -> event wait for clap)

This is some sample code: http://www.edwareapp.com/share/Xcjue this code is only the basic structure, you will need to go through the code and change settings to make it work for your build

November 30, 2017
11:57 pm
Texas
Member
Members
Forum Posts: 26
Member Since:
November 10, 2017
sp_UserOfflineSmall Offline

robomaster said
Hi 

I have been programming Edison V2.0, using my own programs and sample ones. 

I can’t figure out how to make Edison to detect an obstacle, wait for a remote control command to make the motors go backwards (I made a catapult using LEGO Technic), then go forwards by detecting a clap. 

The program is below.

http://www.edwareapp.com/share/uMfty

Thanks.  

How did your catapult work out?  Did you use the program that Ben posted?  Any advice?

Thanks!

December 27, 2017
11:10 am
robomaster
New Member
Members
Forum Posts: 2
Member Since:
September 11, 2017
sp_UserOfflineSmall Offline

Hi Texas

I haven’t tried it yet but I will soon.

  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead

Country

Pin It on Pinterest

Share This