Devirex

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Rotation Count Question #3740
    Author Image
    Devirex
    Participant

    Hi Anders,

    thanks a lot!

    in reply to: Rotation Count Question #3710
    Author Image
    Devirex
    Participant

    Hi again,

    thanks for the code. Now the question of the questions. How can i use this.
    Could you give me an example how to use it?

    in reply to: Rotation Count Question #3703
    Author Image
    Devirex
    Participant

    If you mean with profile the three steps than yes. Its the ramp itsself which does not fit, the lenght of it doesn`t change that. Also it starts always with a speed of 0. If i want to acceelerate from 40 to 70 there is no built in function to do that with a ramp i think.

    in reply to: Rotation Count Question #3684
    Author Image
    Devirex
    Participant

    Hi again,

    thanks for the explanation. Since your last post i have read some theory of PID Controllers and can now fully understand whats happening. Ok now the details of my Robot. I built a functional model of Top Spin (http://www.capte.org/img/enciclopedia/TopSpin.jpg).
    I want to to let it run like in real. The Arm is very heavy about 1kg and its driven by both EV3 Motors with a transmission of 2100 degrees per round. I connected the EV3 to a AC/DC Adapter. If i use the built in Ramp Up it will start too slow in the first third and then accelerate too fast in the last third of the ramp, it looks really unnatural.
    In the last third of the ramp i have also the problem that the load is too much for the motors and its speed of accelaration at this time.

    • This reply was modified 8 years, 9 months ago by Author ImageDevirex.
    in reply to: Rotation Count Question #3668
    Author Image
    Devirex
    Participant

    Thanks for your quick answer. Am i right that the tacho count function is called to often and thats why the reply is not
    correct? It would be really great to get help from you how to realize that PID-Controller thing. Also it would be great to get a more detailed explanation what i’ve done wrong. Have a nice vacation.

    in reply to: Rotation Count Question #3656
    Author Image
    Devirex
    Participant

    Hello Anders,

    thanks for your quick reply. Yes i know that functions. I’m also very familiar with the code of the original lego firmware. I’m creating a robot which controls a kind of pendulum. So i have to write functions which accelerate the motors slow, linear and exponential. With exponential i mean the inverted way of ramp up and ramp down which is implemented in the lms_pwm device (or you can call it the driver of the motors from lego).
    And i want to trigger other functions when the pendulum is in a specific position.

    I also tried to realize it with the EV3-C/EVC Api but the “GetRotationCount” function is also slow there.
    Do you know why?

Viewing 6 posts - 1 through 6 (of 6 total)
Posted in

Make a donation