parallaxinc / BlocklyProp

Blockly based visual programming editor for Propeller C
MIT License
44 stars 24 forks source link

Add robot blocks #816

Closed MatzElectronics closed 7 years ago

MatzElectronics commented 8 years ago

Add robot blocks to Propeller Activity Board WX profile

MatzElectronics commented 8 years ago

Tested, failed, will submit an update

mrodriguez-parallax commented 8 years ago

Robots blocks test results.

The Display calibration block cannot display readable data. Data scrolls horizontally and is hard to read. image

image

Activity Bot Calibration seems to go well but cannot verify since displayed data is unreadable image

The Activity Bot block performed as expected. The block ramped the Activity bot to speeds of 64 and 128 using various ramping speeds like light, medium, heavy, and ,maximum. No obvious issues observed. image

The Arlo robot block works okay when there's no ramping involved, however once ramping of any kind is introduced (light, medium, heavy, maximum) the Arlo does not move in any direction. image

The servo differential drive block was able to drive each wheel independently in either direction however no ramping was observed. I tried moving each wheel independently at the same time while trying to introduce ramping. Both wheels observed the same speeds at all ramping levels thus no ramping was observed. image

The Drive Stop block worked as expected. image

MatzElectronics commented 8 years ago

@mrodriguez-parallax can you pull the generated code for Arlo into SimpleIDE and see what you have to do to get it to work? I'm not sure what's causing the problem - and we may need @AndyLindsay to take a look at it - the units for ramping might be different for Arlo.

If you can, try to do the same for the diff drive - what code changes need to be made to get it to start ramping?

Once we know that, I can make the changes accordingly in the block generators. Thanks!

MatzElectronics commented 7 years ago

Still have an error on the display calibration interpolation table - everything else is tested and verified.

MatzElectronics commented 7 years ago

Only remaining problem is described in another issue. Closing.