Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [matlab]

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.

0
votes
1answer
14 views

Is system identification and a physics engine the same?

In the control theory the term “system identification” is used quite often. A typical sentence in a robotics oriented paper is that the author is trying to “build a model of a plant with matlab”. The ...
0
votes
1answer
25 views

Convert local coordinates of a moving IMU to global coordinates

I am trying to compare the performance of an IMU in motion against an optical tracking system. The IMU has an accelerometer and a gyroscope and gives output in the local IMU coordinate frames. The ...
0
votes
1answer
35 views

Image data fusion

I have three cameras separated by some distance, looking at a scene. I have calibrated them using checkerboard and I have their respective intrinsic parameters and their pose and rotation matrix, I am ...
0
votes
0answers
8 views

How can I import openmv camera feed in MATLAB

I am planning to use openmv camera with wifi shield for my project. I want to import the video feed to MATLAB for further processing. As per my preliminary search it is extremely difficult and ...
0
votes
1answer
22 views

Libraries to simulate path planning in a dynamic environment for a 2D space

I need to simulate a path planning approach for a 2D space where the obstacles are moving. Initially, I need to implement probabilistic road map, D* lite, A* and Bug2 algorithm. The robot needs to be ...
2
votes
3answers
924 views

RGB-D SLAM - Compute Information Matrix

currently im working on a RGB-D SLAM with a Kinect v1 Camera. In the front-end the SLAM estimates the pose with Ransac as an initial guess for the ICP. With the pose estimation i transform the ...
3
votes
3answers
728 views

Kuka KR16L-2 robot simulation base and wrist rotation inconsistent with original robot

The issue is regarding simulation of Kuka robot KR16L6-2 in MATLAB using Robotics toolkit by Peter Corke. I wish to simulate the kinematic before passing a command to real robot for motion. I have ...
0
votes
2answers
520 views

About official robotics system toolbox Matlab and Peter Corke Robotics toolbox matlab.

I came to know that matlab released robotics system toolbox in 2016 version but I'm using Matlab 2014b. At that time I installed Peter Corke Robotics toolbox matlab and start working on it. I develop ...
0
votes
2answers
482 views

Does simulink accepts robotics toolbox in matlab?

I'm trying to make a model for a robotic arm on simulink and then excute it on arduino controller but i want also to use robotics toolbox to calculate forward and inverse kinematics so i need to add ...
3
votes
2answers
370 views

inverse kinematics matlab RVC for 3 joint RRR

Hi im having problem with Inverse kinematic using RVC toolbox in matlab for RRR manipulator. ...
4
votes
2answers
325 views

Lego Mindstorms EV3 gyro sensor offset fix

I am currently working on a project for a Lego Mindstorms EV3 autopilot using Matlab/Simulink. Basically, I am using a closed loop control system with a PID controller for the control of the control ...
0
votes
1answer
257 views

Baxter and Robotics System Toolbox

I am trying to setup a two way communication with the Baxter Robot using the Robotics System Toolbox from MATLAB. However, I am unable to move the arms or record a trajectory using the rosactionclient ...
1
vote
2answers
222 views

Error in simmechanics matlab while doing inverse dynamics using custom joint

I am doing inverse dynamics in Matlab simmechanics in which position and orientation will be input to the end effector. But it shows error as below. Error originates in Mechanical block rob33/...
3
votes
1answer
3k views

How to create Matlab Simulation for Kinematics of Differential Drive

I studied the forward and inverse Kinematics of the robot and got a clear understanding. I am in the progress of developing my matlab simulation for a two wheeled differential drive robot. The robot ...
2
votes
0answers
37 views

how to introduce 2 inputs into a matlab block function that processes only one variable at a time? [closed]

Using SIMULINK, I wanted to optimize 2 variables with the ant colony optimization algorithm; which is written in a matlab function block, the function is of type function y = f (x) it has only one ...
0
votes
1answer
25 views

Forward Kinematics Frame Simulation in MATLAB

I've worked out the T matrix of the tip (position and orientation) with respect to the base frame of a 6 DoF robot for 2 seconds at 1kHz. So the size of the total T matrix is 4*4*1000. How can I ...
2
votes
1answer
91 views

Control system in Matlab with RSA encryption

I want to implement an encrypted controller in Matlab using RSA. I am trying to replicate what is written in this scheme from 'Cyber-Security Enhancement of Networked Control Systems Using Homomorphic ...
1
vote
3answers
553 views

How to apply A bang-bang signal of amplitude 1 N and 1 s width as an input force to reproduce certain results in Matlab?

I working on dynamic modeling and simulation of a mechanical system (overhead crane), after I obtained the equation of motion, in the form: $$ M(q)\ddot{q}+C(q,\dot{q})\dot{q}+G(q)=Q $$ All the ...
3
votes
2answers
70 views

Inconsistent results between Simulink derivative model and tf for PD controller

I'm designing a PD controller so that the response due to unit step should exhibit an overshoot of 20% and steady-state error less 0.01. I've computed the parameters Kp and Kd and double-checked the ...
1
vote
1answer
46 views

RRT star Convergence

My Code gives the following convergence characteristics, I wanted to know if it is correct Updated code { ...
0
votes
1answer
37 views

Data Driven Modelling for Motor Position Control

I am trying to identify a plant model for a motor position control using MATLAB System identification toolbox. If it is a speed control example the data set can be generated easily. In this a case ...
3
votes
2answers
57 views

Meaning of a negative step response with quaternion

It's not technically robotics but: I've been trying to reproduce in Simulink a spacecraft attitude simulation using quaternions, and the kinematics and dynamics seem to work fine, however I'm having ...
1
vote
2answers
153 views

How can I get the right sample in RRT star Dubins?

I am trying to find a solution in S(1)*R^2 (x,y, orientation) with obstacles (refer to image) using RRT star and Dubins Model. The code takes a lot of time to find a suitable random sample with x,y, ...
0
votes
1answer
198 views

Platooning leader follower code

I'm trying to develop a platoon leader follower formation for two robots in Matlab. The paper I'm trying to follow is this. I've got next code, where I want follower robot to follow the leader robot'...
0
votes
1answer
55 views

Getting position from joint angles in Matlab RigidBodyTree

I want to use matlab for estimating the position of end effector given joint angles. I saw convenient tool to build robot model using RigidBodyTree. My manipulator is planar, with only revolute joints ...
0
votes
2answers
167 views

Laser Scanner for localization in particle filter

I'm working on a particle filter implementation in Matlab and I found one very good in the Robotics Toolbox (available here https://github.com/petercorke/robotics-toolbox-matlab). My problem is that I ...
3
votes
2answers
742 views

Using Gazebo installed on same machine in MATLAB

I am planning to use MATLAB and Gazebo for one of my course projects. However all the tutorials I have seen till now use Gazebo by using a virtual machine which has ROS and Gazebo installed. I have ...
0
votes
0answers
24 views

Robotics Toolbox Error using tb_optparse Too many input arguments

I tired to run the RRT example that can be found on page 239 of robot.pdf that can be found here ...
0
votes
0answers
12 views

How to determine sampling time, acceptable dead-time to reject output disturbances in FO- and SOPDT models?

I have a few questions regarding sampling time, dead-time, and output disturbance rejection. Given a typical first-order plus dead-time model: $$P = {Kexp^{-sL} \over T_ps+1}.$$ I would like to ...
0
votes
0answers
100 views

MATLAB ROS Communication Issue: The following nodes should be connected but aren't

I have both MATLAB and ROS installed on a SINGLE Linux machine. I am trying to publish data from MATLAB over a rostopic and echoing it in the terminal to view it. No matter, however, I play with URIs ...
4
votes
0answers
85 views

Matlab: Simulate received signals of sonar sensors

StackExchange community! I need the guidance what to use for the generation sensor data in Matlab. My purpose is to optimize the exploration process of unknown environment using the multi-robot ...
0
votes
2answers
277 views

Error when using Matlab Function block in Simechanics (nested functions and parsing of Matlab function both error)

I create a simple simulink model using Matlab Function block to calculate angles of 4 dof robotic arm using Robotic toolbox Matlab while input is x, y and z values. I used forward kinematics to ...
1
vote
2answers
129 views

How quickly can a driverless vehicle generate control commands?

Can anyone give me a typical frequency that a driverless vehicle could generate steering and motor thrust commands? I am trying to model a driverless vehicle in MatLab. Right now the vehicle is ...
0
votes
1answer
43 views

How can i convert Torque input into PWM signal?

I am working on a project in which i have a robot working with stepper motors. I wish to control this robot with simulink. How can i convert the input( Analog sin input ) into the PWM that can be used ...
0
votes
1answer
328 views

Inverse Kinematics 5DOF - general approach - Wrong solution MATLAB

Can anyone name a good source for a general approach (cookbook-like) for the inverse kinematics regarding a 5-DOF? The paper by De Xu et al. is aiming for a general approach, but it doesn't work for ...
0
votes
1answer
454 views

Inverse kinematic solution not giving the same forward kinematics answer

I'm working on an assignment where I need to derive IK for 5 DOF Youbot kuka robotic arm manipulatorofficial website. I'm using inverse kinematics decoupling and following a geometrical approach using ...
0
votes
1answer
531 views
0
votes
2answers
64 views

How to round of these values to 0

How to shorten these values? They are the result of a matrix like this. When I individually run sin(theta1) and such functions, it would give me the correct value as a zero or a one (the angles I am ...
0
votes
1answer
88 views

Should the kalmanfilter have disturbance as input?

This is a kalmanfilter As you can see, the process noise(disturbance) is not going to the kalmanfilter. But the state space model for the state feedback system is written as this: https://youtu.be/...
1
vote
1answer
2k views

Determine the relative camera pose given two RGB camera frames in openCV-python

I would like to determine the relative camera pose given two RGB camera frames. I assume there's overlap in field of view between the two cameras, what I am looking for ultimately is the rotation and ...
-1
votes
0answers
306 views

Design of robot: inverse kinematics doubts + ARTE library on MATLAB

I am designing a robot that I need to model using ARTE library on MATLAB. The robot has 5 DOF with three prismatic and two revolute joints. Works like an inverse gantry robot, with a wrist for ...
1
vote
1answer
357 views

Control of WMR (Wheeled Mobile Robot) in 3D

I've implemented SMC (Sliding Mode Controller) on WMR in both X-Y and X-Z plane. Now i want to combine both of these to control WMR in 3D. For this purpose I'm trying to use resultant vector of ...
2
votes
1answer
389 views

Human arm inverse kinematics

Hi I want to implement an human arm robot and a task such as moving a glass between two points using Robotic Toolbox for Matlab by Peter Coorke. I'm a student and I'm a newbie in this kind of things ...
0
votes
1answer
123 views

Generation of a trajectory (position,velocity,acceleration) from velocity

I would like to generate a trajectory for a quadrotor UAV and I am using an architecture which allows to do so only by specifying position, velocity and acceleration. I only know that I want to do a ...
0
votes
1answer
285 views

Project ideas for Robot modeling

I am a 1st-year grad student majoring in robotics. I have the opportunity to select and execute my own projects for a course called Robot Modeling. For the project, I have decided to model a UR5 and ...
2
votes
1answer
311 views

Driving Rhino DC servo motor using Arduino through commands sending from MATLAB

I have a servo motor (http://robokits.download/documentation/RMCS220x_DCServo_Driver.pdf). I wrote a code in Arduino to rotate it in some defined angles and position. Code is given below: ...
0
votes
1answer
121 views

Disturbance rejection of PID controller with low sampling rate

I have a closed-loop system with the following discrete-time plant: $P(z) = \frac{0.1262}{z^2-0.3303z+0.07517}$ With a fixed (and horrendously low) sampling time of 0.05 seconds. The plant has a ...
0
votes
1answer
138 views

Robot real time control [closed]

I want to control a arduino based robot in real time , i am confused whether simulink real time control is a better option or Using ROS ?? I am familiar with the simulink , My application is to ...
0
votes
1answer
310 views

Tracking a ball returning its x,y,z coordinates [closed]

I'm a Mechatronics Student Engineer, and still new with the computer vision field and am now working on a project that needs to Tracks a small ball and need to determine it's (x,y,z). 1st) Kinect was ...
2
votes
1answer
366 views

Euler-Lagrange Dynamic model

I'm working on a masters thesis and need to calculate Mass inertia matrix ($M$), Coriolis/Centrifugal matrix ($C$), and the gravity matrix ($G$) in the equation $M\ddot{\theta} + C\theta + G = \tau$ (...