Code Monkey home page Code Monkey logo

Comments (6)

BrianAdams avatar BrianAdams commented on July 28, 2024

Checked the input manager to ensure it was not somehow holding on to listeners. Registered several different presets, including the same one a couple time. In mock mode, sending a light command only happened once.

from openrov-software.

gilborty avatar gilborty commented on July 28, 2024

Was this reported on a vehicle?

from openrov-software.

BrianAdams avatar BrianAdams commented on July 28, 2024

@nerdgilbert , yes. The test vehicle Grau was using. If you can get a chance to take a look on vehicle, I think that is the next step. Might be worth capturing the serial traffic while recreating the issue.

from openrov-software.

BrianAdams avatar BrianAdams commented on July 28, 2024

@spiderkeys had a sense it might have to do with the syncTargetPower function that keeps retrying every 33ms until it gets a lights_tpow response from the MCU. That it may be the round trip is taking too long and the message gets sent again. Now how a power off message would trigger a power on again is still a mystery.

from openrov-software.

spiderkeys avatar spiderkeys commented on July 28, 2024

The command going to the firmware is a specific value; there is no toggle API. The only place the concept of toggling exists is the browser client, so delayed/repeated toggles are probably building up between the client and server. This behaviour has exhibited itself in many other commands as well, happening especially often on the BBB.

from openrov-software.

BrianAdams avatar BrianAdams commented on July 28, 2024

This was tied to the gamepad press generating multiple gamepad click events. Opened other issues. Closing this one.

from openrov-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.