Simulation Construction Set

Simulation Construction Set

  • IHMC Home
  • All IHMC Docs
  • About IHMC

›Using the SCS GUI

Getting Started

  • Quick Start
  • Requirements
  • Using IHMC Open Robotics Software .jar releases with Maven/Gradle
  • Building .jars
  • Depending Directly on the Source

Using the SCS GUI

  • Running a simulation
  • Changing the Camera Settings
  • SCS Variables
  • Graphing Variables
  • Simulation Replay
  • Data Buffer
  • Exporting Data
  • Export Snapshots and Video of the 3D View

Creating a New Simulation

  • Summary
  • Create a New Project
  • SimplePendulumSimulation.java
  • SimplePendulumRobot.java
  • Run the simulation

Adding Control to a Simulation

  • Summary
  • Adding control to a simulation
  • Run the simulation

Creating Links

  • Summary
  • Creating Links
  • Run the Simulation

Creating Robot with Multiple Joints

  • Summary
  • Create a New Package
  • Mobile Simulation
  • Initial Variables in MobileRobot Class
  • MobileRobot Class Description

Ground Contact Modeling

  • Summary
  • Create a New Package
  • Create a New Class FallingBrickSimulation
  • Create a New Class FallingBrickRobot
  • Create a New Class WavyGroundProfile
  • Description and Analysis

Implementing Closed-Chain Mechanisms Using External Force Points

  • Summary
  • Implementing Closed-Chain Mechanisms
  • FlyballGovernorSimulation Class
  • FlyballGovernorRobot Class
  • FlyballGovernorSimpleClosedLoopConstraintController Class
  • FlyballGovernorCommonControlParameters Class
  • Description and Analysis

Data Buffer

As the robot is simulated, the data is stored in a data buffer. The period in which data is stored defaults to once every 20 milliseconds (50 Hertz). This can be changed through the SimulationConstructionSet API. The default size of the data buffer is 16000 points. With these two defaults, 320 seconds of data can be recorded. If the simulation runs over this size, the current index is wrapped to the beginning of the buffer.

To change the data buffer properties, go to Data Buffer->Data Buffer Properties on the menu.

DataBuffer

In the Data Buffer Properties dialog you can change the current size of the buffer. You can also change the default handling of the buffer to Enlarge instead of Wrap. When in Enlarge mode, the buffer will increase in size by 25% each time the end is reached until the buffer reaches Max Size.

You can also change the buffer size by cropping it to the in point and out point. To do this, choose a window of data that you'd like to crop and set the in point to the beginning of the window and the out point to the end of the window. Then go to Data Buffer->Crop Buffer to In/Out in the menu. The data should be cropped to the window you selected.

Sometimes you may wish to move the data so that the in point is the first index but you don't wish to crop the data. To do this, go to Data Buffer->Pack Buffer to In/Out on the menu. This will rotate the data in the buffer so that the in point is "packed" to the left.

← Simulation ReplayExporting Data →
Simulation Construction Set
Docs
Quick StartSoftware Documentation
Community
GitHubFacebookTwitterYouTube
Copyright © 2018 IHMC Robotics