# Questions tagged [simulation]

Robotics simulators represent the world in software. They range in complexity from the simple and only operate in a top-down 2D world, or very complex with photo-realistic rendering and physics modeling.

128 questions
Filter by
Sorted by
Tagged with
10 views

### SOLIDWORKS-Bolting a COTS part from a STEP File onto an Assembly [closed]

Problem I have a STEP file with a few holes for bolts. I'm hoping to bolt this part into stock material in Solidworks. Example My first thought is to extend the holes into other connected components ...
7 views

### What is the format and required content to define a Joint trajectory using the RoboAnalyzer simulator?

I'm trying to learn how to use the Roboanalyzer simulation tool to model and then display the torques required to pivot a 2 DoF arm. ( [http://www.roboanalyzer.com/][1] ) I see that the tool has a ...
9 views

### Is it possible to use coordinates to modify the floor into a polygon in Webots?

I'm using Webots to model an irregular polygon floor for a coverage problem. I want to define the floor using the coordinates of the vertices. So far I have been able to generate an irregular polygon ...
• 1
85 views

### Simulating robotic swarm

I am playing around with swarm robotics and trying to figure out a way to simulate it. Here is my dilemma: I am trying to simulate thousands of agents that will asynchronously communicate with local ...
• 103
19 views

### Robot Trajectory Control with MATLAB

I want to make a MATLAB (Simulink) simulation of the robot model shown above. However the input should be the sinx(t) function as a trajectory. How could I integrate this sinx(t) function in Simulink ...
1 vote
49 views

### Training Multiple Robots for different tasks at the same time using Deep Reinforcement Learning

I'm wondering if a single agent can train multiple robots to perform different tasks simultaneously. If possible, can you please recommend me some research papers and implementations that I can take a ...
126 views

### Solving pseudo inverse of Jacobian in Matlab/Octave

I'm attempting to create a simulation of a 3 (rotational) DOF robotic arm in 3D space. So far I've had success getting to the Jacobian. What seems to be the issue is that the pseudo inverse of the ...
1 vote
26 views

### What inertial information can I get from a SolidWorks object for simulation in MuJoCo?

MuJoCo needs me to enter the position of the inertial frame and the diagonal of the inertial matrix, (if I understand correctly). I'm not sure how to get this information from SolidWorks. This object ...
• 113
48 views

### In MuJoCo I have a model with one hinge joint made of two meshes that I can't get to actuate

The joint just opens 180 degrees and shakes in place a little. What am I doing wrong that would make this egg slicer open and close smoothly? ...
• 113
151 views

### Simulate Wind in Gazebo - physics_msgs

I am trying to simulate a drone inside an environment with constant wind. I have found a good plugin (link below) and I have done the following to integrate this plugin in my system: include the ...
• 65
36 views

### Underwater Glider Obstacle Avoidance simulator

I am currently taking part in a project where a team is building an autonomous underwater glider with obstacle avoidance features. However, since I do not have a background in Robotics (I am in ...
• 101
1 vote
495 views

### How do you model a physical robot (diff drive) in python?

I am using PyGame to simulate the motion of a differential drive robot. So far, I have used the standard diff drive kinematics, multiplying by delta time, and I have the motion working as expected. ...
• 11
22 views

### Threading on Microsoft AirSim with Python Throws Type Error

Hope everyone is doing well. I have just started use AirSim for some computer vision simulations. Right now I am trying to implement threading for navigation purposes with Python. As a starting point,...
• 306
385 views

### Air Resistance Drag Force Calculation For Quadcopter

Hello there. Hope you are all doing well. I have created a dynamic quadcopter model on Simulink and designed a controller for it. So far, everything is going well. However, since I am going to be ...
• 306
35 views

### Count number of collisions while navigating to goal

I have the navigation stack working in ROS Kinetic on my computer. In Stage ROS simulations, I can specify the goal and the robot navigates to it. I need to count the number of collisions (if any) ...
238 views

### How to combine URDF files in pybullet?

I have a URDF file for the Kinova Gen3 robotic arm (6 dof) and a URDF file for a suction end effector that was built for a UR5 arm. I am able to load the file for the arm along with a table and some ...
• 101
89 views

### Pose difference estimation in cartesian impedance control

I am trying to implement a cartesian impedance controller in simulation (gazebo + KDL). The method which I am using is the following: Compute the EE pose from KDL's forward kinematics for the ...
184 views

### How to program to generate robot URDF(Serial manipulator) when having stl file of each link with Python

I've tried : to use obj2udf library(PyPI) then It can generate 1 URDF per 1 STL(it doesn't work because I can't find how to program to change link name or add link and can't combine STL) so now I ...
620 views

### How to reset odom positions of robots while setting initial positions of robots in gazebo simulation through launch file

I'm in the process of creating a coordination system for a multi robot system. For that i currently have created a ROS based simulation in gazebo using Rosbot2.0 (Robot physically available as well). ...
332 views

### Drone Development using ROS Noetic on Ubuntu 20.04

I installed ROS Noetic on Ubuntu Mate 20.04 in my Raspberry Pi but couldn't find any specific tutorial to follow along for Noetic. Most are available for Melodic, which doesn't work with the latest ...
1 vote
143 views

### What is the best way to simulate Staubli robots inside a C++/C# app

A little bit of context : I want to create an app using C++ (or C#) to handle 3D objects (obj), I will perform some operations on those 3D models to create some robotic trajectories. Then I want to ...
• 123
1 vote
158 views

### How do industrial robots solve the inverse kinematic problem?

I want to make a real-time end-effector position control simulation of a 6 DOF robotic arm. To do so, I should solve the inverse kinematic problem, but due to the complexity of calculations, it is ...
871 views

I'm trying to do a multi agent simulation using leo_rover which is open source. I'm comfortable with single system, but when I add a second robot using namespaces i get the second robot spawned in the ...
1 vote
330 views

### Gazebo freezes on vm after running roscore

I'm a beginner in ROS, since the learning curve for ROS is steep i decided to use a book to learn how to use ros ([ROS Robotics Projects - Second Edition][1]). I'm currently on the third chapter. I'm ...
1 vote
53 views

### How do I compute the feedforward terms in a control law using Matlab?

I have the following situation. I have computed the linear and angular velocity which are the controls for a mobile robot, which have the form: $v_d=v_{fb}+v_{ff}$ $\omega_d=\omega_{fb}+\omega_{ff}$ ...
• 449
35 views

### Reinforcement train butterfly robot in virtual reality?

Suppose I want to train butterfly robot with reinforcement learning. So I need physically correct simulation of aerodynamics and material physics (because butterfly wings should bend etc). Also I ...
• 115
1 vote
34 views

### I'm looking for a simplified control scheme for a game-rendered robotic arm

I'm a programmer, but not savvy with robotics (to lay a baseline for my lack of knowledge). I have a game-simulated arm that allows me to set joint angles which it will automatically move the joints ...
1 vote
60 views

### My Pick and Place Program Not Working

hope you are all well. I am trying to finish a capstone project on Coursera. It asks me to carry a cube object from an initial position to goal. This video shows the movement. Project website: http://...
• 306
96 views

### How do I call Matlab code into Simulink for doing a simulation for doing plots?

I have built a simulink model for performing cartesian regulation on a unicycle: and plot the results with a Matlab code but, I am not very confident with Simulink and so I don't know how to call ...
• 449
165 views

### error with dimensions in Simulink

I am trying to simulate a cartesian regulator for a unicycle with Simulink and I am having some problems. My simulink model is the following: and when I run it I get the following error message: so ...
• 449
122 views

### Simulation of Robotic arm

I want to simulate my 5 DOF robotic arm, in such a way that the calculated Torque and mass values of each joints (Servos) defined to be tested that are they capable of physically bear all the weight ...
796 views

### Simulator for NEMA17 (stepper motor) and A4988 (stepper motor driver) along with Arduino

I want to simulate an Arduino MEGA (or UNO) controlling a NEMA17 (stepper motor) using A4988 (stepper motor driver). I couldn't find the stepper motor and driver on TinkerCAD. Can this be done in ...
1 vote
21 views

### How to do a relative rotation of a cuboid such that the longest edge is upright?

I am using pybullet. I have a cuboid with half extents [4,2,1] corresponding to x,y,z dimensions. I rotate this cuboid around the z world axis theta and also translate it by [0, 0, .65]. I take a ...
• 141
31 views

### Compute absolute position of obstacle in V-Rep from proximity sensor measurement

all. I am trying to construct the map of the environment by using the measurements from the proximity sensor in V-Rep. I have absolute position of the robot. So, I know the X1, Y1 coordinates of the ...
• 3
102 views

### Simulating sensor readings based on an existing Alan Variance Analysis

My goal is to model an accelerometer and a gyroscope based on real hardware. I understand deterministic errors like bias and scaling but the different types of non-deterministic errors are difficult. ...
• 41
135 views

### How can I modeling a simple haptic interface system to obtain results similar to the paper “Time-Domain Passivity Control of Haptic Interfaces”?

I am trying to simulate the experiments in the paper "Time-Domain Passivity Control of Haptic Interfaces", Hanaford and Ryu, 2002, IEEE transactions on robotics and automation vol .18, No1 about the ...
46 views

### ROS sensor implementation

From this page, there are lots of sensors to be used in ros robots. http://wiki.ros.org/Sensors But, I could not install any of them to the robots in my simulations. For example, I want to install the ...
• 3
53 views

### Data collected from ROS

How can we collect the flight data after a ROS simulation and what kind of dataset do we obtain? Can we get the sensor and video dataset with timestamps to be used in analysis?
• 3
1 vote
150 views

### Inverse Kinematics for 4 legged robots and body translation

The prompt here is to implement the IK on a real robot with constraints. I started off with writing the DH-Table. \$\begin{bmatrix}n & a_{i-1} & \alpha_{i-1} & d_i & \theta_i \\1 & ...
75 views

### Free 2 and 3d simulators [closed]

What physics simulators exist which are open source/free? AI Gym uses a proprietary for-cost physics engine making it nonviable.
• 205
101 views

### How to simulate a quadcopter using robotics simulator?

I am building my own autonomous quadcopter. I wish to simulate it using V-REP/Gazebo in order to tune the flight controller. I see that there are inbuilt models but they have properties(physical ...
137 views

### What Software Is Used For Autonomy Software Simulation?

I don't have a physical robot but I would like to test the performance of my C++ code for odometry, SLAM, and path planning. Are there any good simulation software where I can test my algorithm ...
114 views

### What is the best way to simulate a robotic arm?

I have been working on a senior design project. In this project, we designed a 4-DOF robot arm. Now, I want to do a simulation for this system. I guess I have to design controllers for the servo ...
50 views

### Cannot get 3 DOF bicycle model to run correctly

I'm trying to simulate a vehicle using a dynamic bicycle model but I cannot seem to get it working. If I set a constant steering angle the lateral velocity grows exponentially and creates impossible ...
44 views

### All Joint Angle values not converging to desired set point (I am using Roy Featherstone's Spatial Toolbox)

I need the robot joint angles to become the same as given (desired) joint angles. The kinematics and dynamics (used Spatial Toolbox) are correct and the motor models are realistic too. But out of 3 ...
• 99
107 views

### Forward Kinematics of non-planar robot using Roy Featherstone's Spatial Toolbox

I have a non-floatbase 3 DOF non-planar robot whose forward kinematics I need to compute using Spatial Toolbox. The code for this purpose is p = fbkin(q) but as my ...
• 99
1 vote
60 views

### Non-planar robot Dynamics error using Roy Featherstone's Spatial toolbox

I am using this code to test robot dynamics of above robot using Spatial Toolbox function: FDab(rob, [0;0;0], [0;0;0], [0;0;0]) %a_grav = [0,0,-9.81] But it ...
• 99
1 vote
55 views

### Roy Featherstone toolbox robot model

I want to model these D-H parameters in spatial toolbox: Link: alpha, a, theta, d Link 1 : -90 0 theta1* d1 Link 2 : 0 a2 ...
• 99
128 views

### Simulating a robot

I try to simulate a robot, but with a GUI. I can make a simulation using pyopengl to simulate the movement of robot, but I cannot make the GUI with that. I need to make it easier to simulate, analyze, ...
• 609