GLOBAL SITE AUSTRALIAN SITE

warning message help/troubleshooting | EdScratch programming | 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
warning message help/troubleshooting
August 23, 2018
2:45 am
Kate
New Member
Members
Forum Posts: 1
Member Since:
August 23, 2018
sp_UserOfflineSmall Offline

I am getting a yellow warning message (green text below here) in the bug box and although we get the “success sound” after “programming Edison,” the program is doing absolutely nothing with Edison once we disconnect from the cord and try to run the program.

Some sensor data is stored in Edison’s memory. You may need to clear the sensor data for your program to work correctly. Learn More

I am completely new to ANY type of programming and have no clue what I’m doing but am trying to help my child with this.

When I click on the “learn more” at the end of the yellow warning message above that appears in the bug box, it takes me to this “help:”

Some sensor data is stored in Edison’s memory. You may need to clear the sensor data for your program to work correctly.

Meaning

All of Edison’s sensors generate data when they detect specific events. Some of this sensor data is stored in Edison’s memory. This stored data can sometimes be a problem, making the robot react to an old event because the robot still ‘remembers’ the old event.

For example, when Edison checks if a condition has been met, if there is stored data, the robot will think that the condition has been met, even if it has not been met. For this reason, it is good coding practice to clear the sensor data. Clearing the sensing data is especially important when you use sensor events in conditionals (such as ‘if’ or ‘until’ blocks) which are nested inside loops. This prevents data from a previous loop to affect the next loop.

It is also best to clear the data at the start of a program, just in case the robot has old data stored from a previous program.

The concept of what it is saying makes sense to me, but I have no idea HOW to clear data before I would begin any new program. What does that mean and where would I do that in the EdScratch online programming app?

Thanks for any help!!confused

August 24, 2018
1:33 pm
Ben
Admin
Forum Posts: 179
Member Since:
August 24, 2015
sp_UserOfflineSmall Offline

Hi

Clearing the data in a sensor is done with the “Clear [drop-down] sensor data” block that can be found in the sensor category.

To clear data before you would begin any new program, use the clear sensor data block as the very first block in the program (connected directly to the start block)

This is needed in some cases, but should not be needed for a simple program.

Can you please log in, save the program and send through a share code?

What is the program suppose to do?

  • 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