Skip to content

acceleration and deceleration #23

Description

@valentinptc

Hi,
I would love to slowly accelerate and deceleration the motor to a precise angle.
I get it to to accelerate, but I cant figure out how to slow down the motor at the end of the command. I can only call another degree command and the motor will transition from one to the other speed.

I can find the following in your documentation* but its unlcear what the meaning is:

0x0000000? | Acc.- profile
0x000000?0 | Decc.- profile

*3.27.9. Output Sub Command - StartSpeedForDegrees(Degrees, Speed, MaxPower, EndState, UseProfile) [0x0B]

Here is the command I send:

0x0D, 0x00, 0x81, port, 0x11, 0x0B, motorbytes[0],motorbytes[1],motorbytes[2],motorbytes[3], speed, 100, 127, 0x00000021]);

I was playing around with the last byte wondering if I can figure out what the meaning of the two question marks are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions