Inverted pendulum

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
[[File:pendulum.jpg]]
 +
 
Connect the pendulum to an RT-computer with NI io-interface using bnc-cables
 
Connect the pendulum to an RT-computer with NI io-interface using bnc-cables
 +
 +
AD0->AI 0
 +
 +
AD1->AI 1
 +
 +
AD2->AI 2
 +
 +
DA0->AO 0
  
 
Log on the computer:
 
Log on the computer:
Line 10: Line 20:
 
start the system:
 
start the system:
 
  ./pendulum
 
  ./pendulum
 +
 +
demo is a local user that is currently available on RT10 and RT19
 +
 +
The code is available in the svn-repository:
 +
 +
  svn://svn.gbar.dtu.dk/jcan/mobotware/pendulum

Latest revision as of 12:11, 24 September 2015

Pendulum.jpg

Connect the pendulum to an RT-computer with NI io-interface using bnc-cables

AD0->AI 0

AD1->AI 1

AD2->AI 2

DA0->AO 0

Log on the computer:

user      demo
password  smr4ever

change directory:

cd pendulum

start the system:

./pendulum

demo is a local user that is currently available on RT10 and RT19

The code is available in the svn-repository:

 svn://svn.gbar.dtu.dk/jcan/mobotware/pendulum
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox