open modular snake robot software...

28
Open Modular Snake Robot Software Architecture Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo {juan.leon,laura.paez,kamilo.melo}@km-robota.com KM-ROBOTA Research Group, KM-ROBOTA S.A.S. Bogota - Colombia www.km-robota.com . ICRA2013, SDIR 8 workshop - Karlsruhe, Germany May 6, 2013 1 / 28

Upload: others

Post on 01-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Open Modular Snake Robot Software Architecture

Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo{juan.leon,laura.paez,kamilo.melo}@km-robota.com

KM-ROBOTA Research Group, KM-ROBOTA S.A.S.Bogota - Colombia

www.km-robota.com.

ICRA2013, SDIR 8 workshop - Karlsruhe, Germany

May 6, 2013

1 / 28

Page 2: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Motivation

2 / 28

Page 3: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Introduction

Figure: 16-DOF Lola-OPTM, Modular Snake Robot

http://www.km-robota.comhttp://www.robotsource.org

3 / 28

Page 4: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Introduction, Current Gait Control

Parameterized gaits

θ(n, t) =

Oo + AoSin

(n

λo+ ωot

), n odd

Oe + AeSin

(n

λe+ ωet + δ

), n even

(1)

Scripted Gaits.

4 / 28

Page 5: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Framework Architecture, Information Flow

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Simulation and Control Framework Architecture.

5 / 28

Page 6: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Framework Architecture, Model-View-Controller

Model

View

Controller

Figure: Model-View-Controller Architecture.

6 / 28

Page 7: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Framework Architecture, Information Flow

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Simulation and Control Framework Architecture.

7 / 28

Page 8: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Information Flow - Open Loop Robot Test

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Open Loop Test.

8 / 28

Page 9: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Information Flow - Open Loop Simulation Run

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Open Loop Simulation Run.

9 / 28

Page 10: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Information Flow

Information Flow - Closed Loop Experiment

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Closed Loop Experiment.

10 / 28

Page 11: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Forward Kinematics Plotting Tool

Forward Kinematics Plotting Tool

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Forward Kinematics Plotting Tool

11 / 28

Page 12: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Forward Kinematics Plotting Tool

Forward Kinematics Plotting Tool

Figure: Forward Kinematics Plotting Tool examples.

12 / 28

Page 13: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Forward Kinematics Plotting Tool

Forward Kinematics Plotting Tool

Figure: Forward Kinematics Plotting Tool examples.

13 / 28

Page 14: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Forward Kinematics Plotting Tool

Forward Kinematics Plotting Tool

Figure: Forward Kinematics Plotting Tool examples.

14 / 28

Page 15: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Message Passing Protocol Converter

Message Passing Protocol Converter

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Message Passing Protocol Converter

15 / 28

Page 16: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Message Passing Protocol Converter

Message Passing Protocol Converter

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Lola-OPTM

Kulebra-OPTM

NTNUKulKo

CMUUncle Sam

Lola-OP Simulator

KM-RoBoTa s.a.s.

Figure: Message Passing Protocol Converter16 / 28

Page 17: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Log File and Real-Time Plotting

Log File and Real-Time Plotting

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Figure: Message Passing Protocol Converter

17 / 28

Page 18: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Architecture Log File and Real-Time Plotting

Log File and Real-Time Plotting

Virt

ual E

nviro

nmen

t

V. Exo. Sensors

V. R

obot

ForwardKinematics

V. Prop.Sensors

Exo. Sensors

Rob

ot

ForwardKinematics

Prop.Sensors

DAQ

Plotting

User Input

High leveltaskinput

Controller Log

ProtocolSelector

Mes

sage

Pas

sing

Pro

toco

l Con

vert

er

Par

am

eter

ized

Scr

ipte

d

Look

-Up

Tabl

e C

ont

rol

Control Interfaces

FKPlotting

Tool

Animation

Kde-KST

Figure: Message Passing Protocol Converter

18 / 28

Page 19: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Control Interfaces

Control Interfaces

Scripted Gaits Front End

Parameterized Gaits Front End

High Level Controller

19 / 28

Page 20: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Control Interfaces Scripted Gaits Front-end

Control Interfaces - Scripted Gaits Front-end

Figure: Scripted Gaits Front-end.

20 / 28

Page 21: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Control Interfaces Parameterized Gaits Front-end

Control Interfaces - Parameterized Gaits Front-end

Figure: Scripted Gaits Front-end.21 / 28

Page 22: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Control Interfaces High Level Controller

Control Interfaces - High Level Controller

Log file

Ready to be used ...

22 / 28

Page 23: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Physics Simulator

Physics Simulator

Physics simulator structure of classes

Simulator Control (process pipeline)

Physics Processor (solves the interaction)

Snake Container (joints+actuators)

Graphics Processor (visual rep)

Data Processor (input/output)

23 / 28

Page 24: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Physics Simulator

Physics Simulator Examples

24 / 28

Page 25: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Integration Error Handling

Framework Integration

Error Handling...Three sources of error

Invalid Data Input

Communication Failure

Unbounded control signal

25 / 28

Page 26: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Framework Integration Controller and High Level Task Input

Controller and High Level Task Input

Add/Remove components

Embedded on-board, Tested on TI ARM R©Cortex-A8TMprocessors onGumstix Overo R©boards (https://www.gumstix.com/) and AtmelATMega2561 processor on Dynamixel CM-700 controller(http://support.robotis.com/).

26 / 28

Page 27: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Conclusions

Conclusions

27 / 28

Page 28: Open Modular Snake Robot Software Architecturerobotics.unibg.it/tcsoft/sdir2013/slides/kamilo-melo.pdf · Juan Leon, Jose Monsalve, Alvaro di Zeo, Laura Paez and Kamilo Melo fjuan.leon,laura.paez,kamilo.melog@km-robota.com

Conclusions

Questions?

Thank you!

28 / 28