Robpod Studio Docs
  • Get Started
    • Introduction
    • Download
    • Installation
      • Install Platform
      • Install Plugin
    • First Steps
      • Choose Studio Flavor
      • Welcome Screen
      • Create a Project
      • Create a Script
      • User Interface
      • New UI
      • Robpod Studio Assistant
    • License
      • Buy a License
      • Install a License
    • Safety
  • ROBOT
    • Robot Toolbar
      • Connect the Robot
      • Control the Robot
      • Get Positions
      • Move To
      • Run a Script
    • Robot Tool Window
      • Status
      • Teach Pendant Viewer
      • Variables
      • Digital I/O
      • Analog I/O
      • Debug
    • Robot Variables
    • Robot Logs
  • Advanced Scripting
    • Live Auto Completion
    • Templete Completion
    • Param Info
    • Code Inspections
    • Quick Doc
    • Python Scripting
    • Editor Settings
  • Synchronization
    • Upload On Robot
    • Download From Robot
    • Synchronize Project
    • Clean Robot Files
    • Synchronization Settings
  • Simulation
    • Connect a Simulator
    • Simulate a Script
    • Off-Line Programming
    • Simulator Viewer
    • Simulation Commands
    • Simulation Settings
    • Simulation Examples
      • Palletizing
  • HMI Designer
    • Introduction
    • User Interface
    • Installation
    • Design Steps
      • Create new HMI Panel
      • Add HMI Components
      • Edit HMI Components
      • Preview HMI Panel
      • Synchronize HMI Panel
      • Run HMI Program
    • HMI Components
    • HMI Charts
    • Display Conditions
    • HMI Commands
    • HMI Icon Generator
    • Desktop HMI Viewer
    • HMI and UR Polyscope
    • HMI and Doosan Robotics
    • HMI Tutorials
      • Beginner Tutorial
      • UR Polyscope Tutorial
      • Doosan Robotics Task Editor Tutorial
      • Doosan Robotics DRL Tutorial
    • Working Examples
      • Universal Robots
        • Pick and Place Example
        • Polishing Example
        • Machine Tending Example
        • Simple Pallet Example
        • Welding Example
        • Skrewdriving Example
        • Chart Monitoring Example
        • Production Mix Example
        • Pallet App Example
        • Camera QA Example
        • Assembly Example
      • Doosan Robotics
        • Pick and Place Example DR
  • Other
    • Updates
    • License FAQ
    • Customer Portal
  • LEGAL
    • License Agreement
    • Privacy Policy
    • Third Party Licenses
  • Appendix
    • Supported Robots
    • Robot Specific Functions
      • Universal Robots
        • URSim
    • Supported Simulators
    • Network Configuration
    • Security Settings
Powered by GitBook
On this page
  1. Simulation

Simulation Commands

PreviousSimulator ViewerNextSimulation Settings

Last updated 1 year ago

When coding robotics application with Robpod Studio, a set of special functions called Simulation Commands is available to better interact with the simulation environment from the robot program.

Simualtion Commands are particullary suited during to let the robot grasp and move objects inside the simulation environment.

All Simulation Commands starts with the sim_ prefix, i.e. sim_grasp().

Here the complete list of simulation commands:

Command Name
Description
Parameters

sim_grasp(object)

Attach an object to robot tool.

object: string - Name of object to attach to robot tool. If object is not specified, closest object to robot tool will be used.

sim_release(object)

Detach an object from robot tool.

object: string - Name of object to detach from robot tool. If object is not specified, all attached objects will be detached from robot tool.

sim_set_parent(object, parent)

Attach an object to another parent while maintaining the current absolute position in the simulation.

object: string - Name of the object to set the parent to. parent: string - Name of parent. If parent is not specified, object is attached to simulation workstation.

You can find here an example of pick and place application using Simulation Commands:

Off-Line Programming
1020B
sim_commands_pick_place.script
UR Script file
3MB
workstation_box_pick_place.rdk
RoboDK workstation