See It In Action

Opening the Model

On Windows/macOS machine/partition:

  1. Navigate to the ~/tasck/tasck_core_models/ directory.
  2. Double-click on the tasck_core_models.xme file.
  3. GME will open and display a pop-up ‘Import to new project’ window. Select ‘Create project file’ and click Next >.
  4. The ‘Save As’ window will open. Click Save to save tasck_core_models.mga inside the tasck_core_models folder.

Viewing Library

On Windows/macOS machine/partition:

  1. Within GME, to your right, there should be a ‘GME Browser’ window with a single RootFolder object inside. Click on the ‘+’ to expand the root folder.
  2. Left-click on the + next to A_Behaviors to view the Behavior Components folder.
  3. Left-click on the + next to A_Parts to view the Physical Components folder.
  4. Left-click on the + next to B_SubSystems to view the SubSystems folder.
  5. Left-click on the + next to D_DesignSpaces to view the DesignSpaces folder.

Generating Physical Artifacts from Model

On Windows/macOS machine/partition:

  1. Within GME, navigate to RootFolder>Testing>Examples.

  2. Double left-click any of the Example URDF Generation Test Benches in the Examples directory.

  3. Left-click the CyPhy Master Interpreter button located on the top toolbar.

    ../../_images/running-a-pet-model-1.png
  4. The ‘CyPhy Master Interpreter’ window will open. Make sure ‘Post to META Job Manager’ is checked and left-click OK.

  5. The ‘CAD Options window’ will open. Left-click OK.

  6. The ‘Results Browser’ window will open. The running TestBench will be listed under the ‘Active Jobs’ tab. Blue means the Master Interpreter is still running, red means the Master Interpreter failed, and green means that the Master Interpreter succeeded.

  7. Once the Test Bench finishes running, right-click the job and select ‘Show in Explorer’ to view the generated artifacts.

Generating Physical+Behavioral Artifacts from Model

On Windows/macOS machine/partition:

  1. Within GME, navigate to RootFolder>Testing>Examples>02_URDF_Launch_File_Generate>Daisy_Gaits>Daisy_Tripod_Gait_Para.

  2. Left-click the CyPhy Master Interpreter button located on the top toolbar.

    ../../_images/running-a-pet-model-1.png
  3. The ‘CyPhy Master Interpreter’ window will open. Make sure ‘Post to META Job Manager’ is checked and left-click OK.

  4. The ‘CAD Options window’ will open. Uncheck all the STEP Formats and then left-click OK.

    ../../_images/master-interpreter-cad-options.png
  5. The ‘Results Browser’ window will open. The running TestBench will be listed under the ‘Active Jobs’ tab. Blue means the Master Interpreter is still running, red means the Master Interpreter failed, and green means that the Master Interpreter succeeded.

  6. Once the Daisy_Tripod_Gait_Para Test Bench finishes running, right-click the job and select ‘Show in Explorer’ to view the generated artifacts.

    ../../_images/results-browser-show-in-explorer.png
  7. Copy the two generated ROS packages over to your Ubuntu 16.04.3 LTS machine/partition (daisy_tripod_gait_example_generated_launch… and daisy_tripod_gait_example_generated_urdf…).

    ../../_images/generated-packages.png

On Ubuntu 16.04.3 LTS machine/partition:

  1. Open a terminal window and run:
~/tasck/catkin_ws/devel/setup.bash
roslaunch daisy_tripod_gait_example_generated_launch-... run_robot_simulation.launch
  1. Hit ‘play’ button on bottom bar in Gazebo GUI when it appears - ROS time is slaved to Gazebo simulation time.

  2. One of the terminal windows will prompt you to enter keystrokes to control the Daisy robot (once it finishes standing up):

    W - forward

    X - reverse

    A - strafe left

    D - strafe right

    Q - rotate left

    E - rotate right

    S - stop