Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
askuric opened this issue Jun 28, 2023 · 0 comments
Open

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

askuric opened this issue Jun 28, 2023 · 0 comments

Comments

@askuric
Copy link
Member

askuric commented Jun 28, 2023

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'); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant