SMR: Difference between revisions

From Rsewiki
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
====SMR Command Languge====
==SMR Command Languge==
 
Reference document for SMR command language (SMRCL)


SMRCL http://aut.elektro.dtu.dk/mobotware/doc/smrcl.pdf
SMRCL http://aut.elektro.dtu.dk/mobotware/doc/smrcl.pdf
Line 5: Line 7:
SMRCL simulator: http://www.iau.dtu.dk/ingarb/sim/
SMRCL simulator: http://www.iau.dtu.dk/ingarb/sim/


====Further links====
===Other pages===
 
[[List of SMRs]] (List of SMRs)
 
[[SMR test]] (SMR test procedures)
 
===Additional smrcl features===


[[SMR Clips Interface]]
Also available SMRCL functions
 
asin(x)
acos(x)


[[SMR wiring and assembly]]
===reverse using smrcl===
Reverse 0.5m straight
fwd -0.5
Reverse and turn (turnradius 0.5m turn 90 degrees to the left, speed 0.2 m/s).
Back and forward to the same end position:
turnr 0.5 90 @v-0.2
turnr 0.5 90 @v0.2
stop


===Set RHD write variable===


[[How to make the SMR's work without a monitor]]
setoutput "variable_name" 88


[[SMR Peer to Peer Networking]]
Sets a RHD write variable with the name variable_name to the value 88


===Get RHD variable===


==Old outdated links==
Use the name of the read variable preceded with a $, e.g.


[[SMRD communication]]
eval $encl
time2 = $tick / 100


[[libsmr]]
===quotes===


[[SMR Flash Disk Cloning]]  (See updated version on main-page)
In smrcl backslash '\' is interpreted as quotes '"'


----
==Further links==


[[RHD generated variables]]
[[SMR Clips Interface]]


[[SMR wiring and assembly]]


====Additional smrcl features====
[[SMR Peer to Peer Networking]]


Also available SMRCL functions
[[RHD generated variables]]


asin(x)
[[Connecting FTDI USB-RS422 cable to SMR RS485 bus]]
acos(x)


====reverse using smrcl====
Reverse 0.5m straight
fwd -0.5
Reverse and turn (turnradius 0.5m turn 90 degrees to the left, speed 0.2 m/s).
Back and forward to the same end position:
turnr 0.5 90 @v-0.2
turnr 0.5 90 @v0.2
stop


====Set RHD write variabel====
===Old outdated links===


setoutput "variabelnavn" 88
[[SMRD communication]]


Sætter en RHD writevariable med navnet variabelnavn til værdien 88
[[libsmr]]


====quotes====
[[SMR Flash Disk Cloning]]  (See updated version on main-page)


I smrcl tolkes backslash '\' som quotes '"'
[[How to make the SMR's work without a monitor]]

Latest revision as of 14:32, 7 November 2017

SMR Command Languge

Reference document for SMR command language (SMRCL)

SMRCL http://aut.elektro.dtu.dk/mobotware/doc/smrcl.pdf

SMRCL simulator: http://www.iau.dtu.dk/ingarb/sim/

Other pages

List of SMRs (List of SMRs)

SMR test (SMR test procedures)

Additional smrcl features

Also available SMRCL functions

asin(x)
acos(x)

reverse using smrcl

Reverse 0.5m straight

fwd -0.5 

Reverse and turn (turnradius 0.5m turn 90 degrees to the left, speed 0.2 m/s). Back and forward to the same end position:

turnr 0.5 90 @v-0.2
turnr 0.5 90 @v0.2
stop

Set RHD write variable

setoutput "variable_name" 88

Sets a RHD write variable with the name variable_name to the value 88

Get RHD variable

Use the name of the read variable preceded with a $, e.g.

eval $encl
time2 = $tick / 100

quotes

In smrcl backslash '\' is interpreted as quotes '"'

Further links

SMR Clips Interface

SMR wiring and assembly

SMR Peer to Peer Networking

RHD generated variables

Connecting FTDI USB-RS422 cable to SMR RS485 bus


Old outdated links

SMRD communication

libsmr

SMR Flash Disk Cloning (See updated version on main-page)

How to make the SMR's work without a monitor