• Background, there are alot more details on the Redditt sub-group, not sure of the best pace to post this.

    So, I have downloaded modified wall avoidance software from the web, it does not run automatically.

    Taking advice I have modified a panel on the app so that :

    Button 1 on the app when pressed calls load()

                                          when released calls wallAvoidance()
    

    Button 2 on the app when pressed calls a function to stop wallAvoidance and stop both motors

                                          when released calls reset()
    

    So on power up I connect from the app and I can control the smartibot using the dpad.
    When I press and release Button 1 on the app it starts wall avoidance.
    When I press and release Button 2 on the app, wall avoidance terminates and the motors stop.

    At this point because the RAM has been cleared I expected to be able to take control from the dpad, this does not happen.
    I can however toggle between wall avoidance and not be using buttons 1 and 2 on the app.

    Is there some other function I should use?
    Have I misunderstood what reset() does?
    Or have I found a feature in the firmware?

    I would like to sort it because it means I can demonstrate the robot in schools and exhibitions by switching between the two modes from my phone.

    Steve Gale

    Here is the code for the smartibot itself


    1 Attachment

About

Avatar for user104966 @user104966 started