NT Motor&Encoder Module CLI: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
(Created page with "@Q: resets main board and module RESTART: restarts QMODE stream1: enable stream at rate 1 stream2: enable stream at rate 2 stream3: enable stream at rate 3 stream4: enable st...")
 
No edit summary
Line 1: Line 1:
@Q: resets main board and module
{| class="wikitable"
RESTART: restarts QMODE
!CLI command
 
!effect
stream1: enable stream at rate 1
|-
stream2: enable stream at rate 2
| rrange; || run the encoder range test sequence
stream3: enable stream at rate 3
|-
stream4: enable stream at rate 4
| rpp; || run the motor pole pairs determination sequence
 
|-
retrieve: retrieve module settings from EEPROM
| rofs; || run the motor offset determination sequence
store: store module settings into EEPROM
|-
getsetup: display current module settings
| reval; || run the display encoder raw values sequence, send any string to stop it
clrsetup: set current module settings to default
|-
 
|
setidpitch: set the module's ID to pitch (ID = 4)
|-
setidroll: set the module's ID to roll (ID = 5)
| getcal; || display the current pole pair and offset settings
setidyaw: set the module's ID to yaw (ID = 6)
|-
clrid: set the module's ID to ID = 0
| clrpp; || set the current pole pairs to zero
 
|-
rrange: run the encoder range test sequence
| clrofs; || set the current offset to zero
rpp: run the motor pole pairs determination sequence
|-
rofs: run the motor offset determination sequence
| setpp X; ||  set the current pole pairs to the given value
reval: display the encoder raw values
|-
 
| setofs X; || set the current poffset to the given value
getcal: display the current pole pair and offset settings
|-
clrpp: set the current pole pairs to zero
|
clrofs: set the current offset to zero
|-
 
| retrieve; || retrieve module settings from EEPROM
setpp X:  set the current pole pairs to the given value
|-
setofs X: set the current poffset to the given value
| store; || store module settings into EEPROM
 
|-
r4: run the determine torque cogging sequence
| getsetup; || display current module settings
getdt: display the determined time constants
|-
 
| clrsetup; || set current module settings to default
r5: run the speed sequence
|-
getspeed: display the determined speed constants
| setidpitch; || set the module's ID to pitch (ID = 4)
|-
| setidroll; || set the module's ID to roll (ID = 5)
|-
| setidyaw; || set the module's ID to yaw (ID = 6)
|-
| clrid; || set the module's ID to ID = 0
|-
|
|-
| r4; || run the determine torque cogging sequence
|-
| getdt; || display the determined time constants
|-
| r5; || run the speed sequence
|-
| getspeed; || display the determined speed constants
|-
| streamX; || enable stream at rate X, X = 1,2,3,4
|-
|
|-
| @Q || resets main board and module
|-
| RESTART || restarts QMODE
|}

Revision as of 08:23, 14 May 2017

CLI command effect
rrange; run the encoder range test sequence
rpp; run the motor pole pairs determination sequence
rofs; run the motor offset determination sequence
reval; run the display encoder raw values sequence, send any string to stop it
getcal; display the current pole pair and offset settings
clrpp; set the current pole pairs to zero
clrofs; set the current offset to zero
setpp X; set the current pole pairs to the given value
setofs X; set the current poffset to the given value
retrieve; retrieve module settings from EEPROM
store; store module settings into EEPROM
getsetup; display current module settings
clrsetup; set current module settings to default
setidpitch; set the module's ID to pitch (ID = 4)
setidroll; set the module's ID to roll (ID = 5)
setidyaw; set the module's ID to yaw (ID = 6)
clrid; set the module's ID to ID = 0
r4; run the determine torque cogging sequence
getdt; display the determined time constants
r5; run the speed sequence
getspeed; display the determined speed constants
streamX; enable stream at rate X, X = 1,2,3,4
@Q resets main board and module
RESTART restarts QMODE