Giter Site home page Giter Site logo

Comments (4)

imsenthur avatar imsenthur commented on June 8, 2024

Added support for thermal scaling! Each DephyActpack instance now calls the update_and_get_scale() method within its update() method which updates its new thermal_scaling_factor attribute that can be used to achieve thermal scaling based on the output of the thermal model.

Please checkout the dev branch [39a26c0].

from opensourceleg.

tkevinbest avatar tkevinbest commented on June 8, 2024

Do we want to make this a flag passed into the actuators (or maybe a flag we set true after instantiation) that automatically does the scaling when you call set current or set impedance? I'm thinking that might be safer in case someone forgets to include the scaling manually at some call.

from opensourceleg.

imsenthur avatar imsenthur commented on June 8, 2024

I was thinking more on these lines:

  • We want the update() method to stop/shutdown the actpacks as soon as they hit the user defined max temperature and the thermal_scaling functionality would be something used only by people who clearly understand how the current/impedance is scaled based on the thermal model.
  • This way thermal_scaling can be an attribute of the actpack that anyone can use to scale their torque, current, or impedance commands and not be an argument inside set_motor_command methods. This workflow will also allow us to generalize the methods for other motors without a thermal model.

Please let me know your thoughts.

from opensourceleg.

tkevinbest avatar tkevinbest commented on June 8, 2024

Ok cool, so the safety is still implemented if the max temp is hit. I'm good with that!

from opensourceleg.

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.