Skip to content

Question to TAPASstartV1_0.py #14

@Splash005

Description

@Splash005

Why do I need to enter the maximum motor current when it is overwritten anyways at the identification process (selection = 2) and run process (selection = 3)?

RATED_CURRENT_RUN is defined in the head of the python script and overwrites the manual entered Amper.

    # get rated current for the connected motor
            win.addstr(9,2,"b) Enter maximum rated motor current [A] ", curses.A_DIM)
            win.addstr(10,4, "4", curses.color_pair(4))
            win.refresh()

            currentInputSucc = 0 
            while(currentInputSucc == 0):
                try :   
                    ratedCurrent = stdscr.getstr(11, 6)
                    ratedCurrent = float(ratedCurrent)
                    currentInputSucc = 1

See Code-Line here when it starts to initialize the run with acceleration and setpoint:

ratedCurrent = RATED_CURRENT_RUN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions