September 2, 2018
My daughter has just assembled the EdCrane and programmed her Edison robot with the sample program. https://www.edscratchapp.com/?share=5DMQ3XDw
She used the barcodes to set up four arrow buttons on our remote control.
Up arrow = remote button 1
Down arrow = remote button 2
Right arrow = remote button 3
Left arrow = remote button 4
After getting everything set up, two of the buttons work as expected, and two do not.
Up arrow: spins right motor forwards, but also left motor backwards
Down arrow: spins right motor backwards
Right arrow: spins left motor backwards, but also right motor backwards
Left arrow: spins left motor forwards
We've tried the default program. We've tried adding some blocks to stop the other motor. We can't get the motors to behave independently of each other.
Any suggestions on how we can debug this?
March 16, 2018
Below I have attached a program that I wrote which I have just tested and can confirm it works correctly.
There are a few differences in the code that we have produced. The structure that you had in your program looked correct to me, I have just brought it all back to the main line instead of having it in the event. I also clear the remote code data every time the Edison receives a new message.
September 2, 2018
Thank you, Isaac. I still can't figure out why the original version didn't work for us, but your code does resolve our issue.
February 18, 2019
I have a small STEM group that all built the crane as well, and they all worked the same way that Jonathan described. I've tried Isaac's code, and that also did not resolve the dual motor running issue. Anyone out there have any other troubleshooting thoughts?
*edit* Never mind, I just found my answer, after programming the robot, you must press the 'play' button to run the code. Hope this edit helps someone else.