Skip to content

Motor has to have 'motor' word in the commander  #1

@askuric

Description

@askuric

This has to be documented ASAP!

Here's the line of code:
https://github.com/simplefoc/simplefoc-webcontroller/blob/1bdc1c68b8dc3e2fe862f227664ad60d93078160/src/components/Motors.tsx#L40C49-L40C49

IN order for the motor to be read well with the webcontroller it has to have a word 'motor' in its command description when adding to the commander

command.add('M', doMotor, 'motor 1'); 
// or
command.add('M', doMotor, 'motor up'); 
// or
command.add('M', doMotor, 'my motor'); 
// or
command.add('M', doMotor, 'motor'); 

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