[SOLVED] Event Handlers | EdPy Programming | Forum

Please consider registering
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
[SOLVED] Event Handlers
April 26, 2017
5:37 am
Forum Posts: 5
Member Since:
March 10, 2017
sp_UserOfflineSmall Offline

My students are having trouble getting their robot to behave as desired. I have a question:

If I have multiple event handlers, (one for object ahead, a second for object to the right, and a 3rd for object to the left), when the robot detects an obstacle ahead, does it at the same time detect obstacles on both the left and right? If so, wouldn’t the program try to run all 3 functions referenced in the event handlers?

April 27, 2017
2:29 pm
Forum Posts: 180
Member Since:
August 24, 2015
sp_UserOfflineSmall Offline


This one is a bit of a unique case. 

Edison’s obstacle detector can really only obstacles on Left and Right.

Edison’s software then interprets seeing both obstacles on the Left and Right as seeing an obstacle in front.

This means Edison will always see an obstacle on one side before it see’s an obstacle on both sides (i.e. in front)

So Edison will start to run either the left or the right event before registering the obstacle ahead

Forum Timezone: Australia/Adelaide
Most Users Ever Online: 41
Currently Online:
Guest(s) 2
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Texas: 27
MAX: 16
edison101: 15
gloriacoding: 13
arvin-edison: 12
Caleb: 12
rino.sardon: 10
David: 9
djosh: 8
demetraorth: 7
Member Stats:
Guest Posters: 0
Members: 4880
Moderators: 1
Admins: 5
Forum Stats:
Groups: 3
Forums: 12
Topics: 290
Posts: 792
Newest Members:
Natalie, Sandra Bryant, Griffin, Xavier Ly, Deepa Nagarwadia, James Pickett, Candy Aboelnour, ga, Gordon, Abderrahim
Moderators: Test Moderator: 0
Administrators: Tony: 0, Brenton O'Brien: 3, Ben: 180, Sean Killian: 0, Adrian Herber: 25
  • 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

Pin It on Pinterest

Share This