1 / 23

Practical Session

Practical Session. RoboCup MSL Workshop – Kassel (2013). Practical Session - Schedule. Framework Overview ( now – 16:10) Software scheme Development environment Tooling Mini-workshops (16:15 – 17:30) 4 groups , 4 assignments Prepare feedback Discussion (17:30 – ??)

shay
Télécharger la présentation

Practical Session

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. Practical Session RoboCup MSL Workshop – Kassel (2013)

  2. Practical Session - Schedule Framework Overview (now – 16:10) • Software scheme • Development environment • Tooling Mini-workshops (16:15 – 17:30) • 4groups, 4 assignments • Prepare feedback Discussion (17:30 – ??) • Short feedback presentations • Conclusions

  3. Cross compiling with Simulink RTW

  4. Three Main Executables

  5. Communication (on PC) Real-Time Database tool by CAMBADA

  6. Communication (robot to robot)

  7. Application monitoring

  8. Software architecture

  9. Simulink S-Functions - Lifecycle

  10. Simulink – MultiTasking Target • Simulinkby default does not support asynchronoustasks • Therefore: MultiTasking Target (MTT) has been made • MTT task block canbetriggered in three different ways: • Clock-triggered • Event-triggered • Self-triggered

  11. Tooling: Turtle Remote Control (TRC)

  12. Tooling: Turtle Remote Control (TRC) • Trc + tuning

  13. Tooling: Greenfield

  14. Tooling: Calibration GUI

  15. Tooling: Mu GUI

  16. Tooling: Bus Manager

  17. Tooling: Function Tester

  18. Tooling: Test Connections

  19. Workshops: 4 groups, 4 assignments • Groups A, B, C, D • Three assignments per group, 15 minutes per assignment • Feedback from each assignment on one slide

  20. Discussion: Development Environment Disadvantages • Tendancyto make large executables, long time compiling • RequiresMatlablicense • Hard to share code withpeoplenotusingMatlab/Simulink Advantages • Lots of toolingavailable in Matlab • Blockschemestructureenforcesmodular code • Visual way of browsingthrough code • Easy to make GUI’sand scripts

  21. Discussion: Our software Disadvantages • Large executables, soifonething crashes, everything does (and long compiling time) • Afterintroduction of MTT the Motion, Vision, Worldmodeldivisionmakesless sense Advantages • Toolingallowsquicktuning, debuggingandcalibration • Debugging based on whathappenedduring match withGreenfield replay • Well organized variables because of bus manager • … • …

  22. Further reading • SimulinkCoder (formerly ‘real-time workshop’): • http://www.mathworks.nl/products/simulink-coder/ • Simulink S-Functions: • https://www.mathworks.nl/help/simulink/s-function-basics.html • MultiTasking Target: • http://www.techunited.nl/wiki/index.php?title=MultiTasking_Target_for_Linux • BussesforSimulink: • http://www.techunited.nl/wiki/index.php?title=User-friendly_Bus_for_Simulink • S-Function tester: • http://www.techunited.nl/wiki/index.php?title=C_Function_Tester • Simulator: • http://www.techunited.nl/wiki/index.php?title=Simulator

  23. Discussion: Questions that might arise • WhynotuseSimulink’s default bussesinstead of yours? • Whynot start threadsfrom S-functionsinstead of MTT task block? • How muchphysics is simulated in your simulator? • Whydevide Motion/Vision/Worldmodel • How does appmanwork? • Are Motion/Vision/Worldmodel on different cores?

More Related