1 / 19

WP3: Robot Control Testbed

WP3: Robot Control Testbed. Klas Nilsson. Physical Testbed Virtual Testbed Demo. Hardware Setup. Cameras. Actuator (motor) node. Windows PC. Internet. ETRAX Linux/RTAI. Sensor (resolver) node. ETRAX Linux/RTAI. Switch. PPC * 2 Linux/RTAI & STORK. GlobeThrottle Linux PC.

gino
Download Presentation

WP3: Robot Control Testbed

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WP3: Robot Control Testbed Klas Nilsson Physical Testbed Virtual Testbed Demo

  2. Hardware Setup Cameras Actuator (motor) node Windows PC Internet • ETRAX • Linux/RTAI Sensor (resolver) node • ETRAX • Linux/RTAI Switch • PPC * 2 • Linux/RTAI & STORK • GlobeThrottle • Linux PC Controller node

  3. RT ORB in RTOS • To achieve hard real-time the ORB (or parts of it) must run in an RTOS (RTAI) • Not part of this project • However, in the testbed the ETRAX and PPC application code need to run in RTAI! • Fix needed! RTOS (RTAI) CORBA client &server application code RT-ORB OCI RTE IIOP TCP IP ThrottleNet EthernetInterface

  4. RT-ORB OCI RTE IIOP TCP IP RT EthernetInterface ORB in Linux/RTAI Linux Soft RT Code Non-RT Code • Use the ORB to establish connection • Extract handle to transport layer • Send and receive directly using handle • Sends only the necessary data (not GIOP) getTransportHandle() RTAI Hard RT Application Code

  5. Demo Setup Cameras Actuator (motor) node • Windows PC • image proc. • non-RT ORB Internet • ETRAX • Linux/RTAI • ORB Sensor (resolver) node • ETRAX • Linux/RTAI • ORB Controller node Two PowerPC Boards Switch • GlobeThrottle • Linux PC STORK RTOS Linux ORB Shared Memory RTAI Slow partsof controller Fast partsof controller

  6. Demo Scenario • Catch ball experiment • Bo Lincoln, Johan Bengtsson,Tomas Olsson

  7. Ball trajectory prediction

  8. Original experiment system

  9. Experiment

  10. Communication Structure • Hard RT Channel: Sensor  Controller (sensor values) • Hard RT Channel: Controller  Actuator (control signals) • IIOP communication from Image Processing PC to Controller (ball data) • Soft RT Channels: • ?? • ??

  11. Virtual Testbed Mathias Haage

  12. Arbitrary dynamics Simple vision Simple controller IIOP for simulated RT communication Standard ORB Non-RTOS One computer can contain several system nodes Simplified environment

  13. Dataflow

  14. IDL interface Activity { oneway void start(); // More control parameters }; module visualcontrol { // Vision interface Vision : Activity { // Fresnel JavaIDL }; interface VisualControl : Activity { // Fresnel JavaIDL oneway void setObjectPos(in Point3D objectPos); }; }; module armcontroller { // Controller interface Resolver : Activity { // IOR Etrax }; interface Servo : Activity { // C3PO PPC oneway void setArmPos( in Joint6D armPos ); oneway void setArmRef( in Joint6D armRef ); }; interface Actuator : Activity { // PUH Etrax oneway void setTorqueRef( in Torque6D torqueRef ); }; };

  15. Nodes / Transports i386 Linux ICa ORB IIOP OCISoftRT transport (slow rate) PPC Linux ICa ORB ETrax Linux ICa ORB ETrax Linux ICa ORB OCISoftRT transport (fast rate) OCISoftRT transport (fast rate) IIOP IIOP JavaIDL

  16. Development road Simplified dynamics Simplified vision Simplified controller JavaIDL with IIOP Actuate in virtual environment Java ETrax, PPC running Linux OS ICa RTORB with OCI SoftRT transport Partial hardware ETrax, PPC running Linux-RTAI RTOS ThrottleNet ethernet driver Linux-RTAI controller IEEE1394 cameras with vision system ICa RTORB with OCI HardRT transport Actuate in real environment Full experiment

  17. Conclusions • CORBA can be extended with hard real- time transport • 8 kHz, 64 Byte messages with hard real-time guarantees • However, we are not certain that the approach chosen is the correct way to go • Minimum CORBA (or even smaller – Micro CORBA) with selected features from RT-CORBA a better alternative

  18. Demo of the Day

  19. Remaining Issues • Fix the current ThrottleNet Problem – maybe done already √ • Compile under ETRAX – moderate, half-day - Martin • Will everything fit into ETRAX? • Compile under PPC (incl writing/porting Ethernet RTAI device driver) – moderate, half-day and full night √ • Fix memory map problem – crucial for demo √ • Port the current resolver (sensor) code to RTAI – easy, little time • Port the existing actuator (motor) code to RTAI – easy, little time • Integrating the parts • Porting the ball catch demo to the new system

More Related