Community:Science/Robotics/MORSE/Pocolibs Scene

提供: wiki
移動先: 案内検索

Constructing a simulation scene using Pocolibs

  1. Buld the scenario using Blender (terrain, buildings, trees)
  2. Save the file with a new name, in the $ORS_ROOT/scenarii directory
  3. Link in the props from the file
    $ORS_ROOT/components/scenes/sceneProps-2.0.blend
    
    • Scene_Script_Holder
    • CameraUser
    • Screen (optional)
  4. Link in the Dala robot from the file
    $ORS_ROOT/components/robots/dala/dala_pocolibs_grouped-2.0.blend
    
    • All the elements listed under Objects
  5. Select all elements of the robot
    • RMB Template-RMB.png on the body of Dala
    • ⇧ ShiftG  »  Children
      Press ⇧ ShiftG
      From the menu that appears, select "Children" (pressing ↵ Enter immediately will work too)
  6. Make them local to the scene
    • L  »  Selected Objects
      Press L
      From the menu that appears, select "Selected Objects" (pressing ↵ Enter immediately will work too)
  7. Additional components can be added to the robot, by following steps 4-6 linking the corresponding Blender files. Then parenting the components to the main robot:
    • Select the Empty object of the component RMB Template-RMB.png
    • Select also the robot ⇧ ShiftRMB Template-RMB.png
    • Parent the two objects CtrlP
  8. Optionally, duplicate the robot
    • Press the 7 NumPad to switch to Top view
    • With the robot selected, press ⇧ ShiftD
    • The copy is already in "grab" mode, meaning it will move with the mouse. Place it at the desired location, then press LMB Template-LMB.png