Git Product home page Git Product logo

Comments (2)

NameOfTheDragon avatar NameOfTheDragon commented on September 3, 2024

Transferring issue to the firmware repository

from firmware.

NameOfTheDragon avatar NameOfTheDragon commented on September 3, 2024

Suggestion from Christopher Duffey - turn off holding torque when there is no serial connection. Seems like a good idea.
As luck would have it, the Leonardo variant is about the only type of Arduino where this might just work. Worth putting in to test.
In theory, this should work on Arduino Leonardo, but in practice it doesn't seem to. I suspect there was a change to the Leonardo core recently that broke some serial features, leading to the creation of the SafeSerial library used in the NexDome firmware. Regrettably, this doesn't seem to be an option.

What we've done instead is to start a countdown timer every time there is serial activity. If this timer expires, then the holding torque is released. We chose an initial value of 10 minutes, so the motor would be released 10 minutes after the driver disconnects. It is assumed that the application and driver will generate enough traffic to keep the timer alive. This should be the case because most slaving implementations send position updates at least every 1 to 2 minutes.

from firmware.

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.