Questions tagged [matlab]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
23 views

Plotting a Robot in App Designer

I've a robot created with Peter Corke toolbox and I must plot it inside an app (must be in App Designer - Matlab). The problem is that everytime I try to plot it, it makes an independent figure ...
0
votes
1answer
98 views

How do you control the end effector of a rigid body system using keyboard keys?

So in my lab, I am to create a rigid body tree robot that has an end effector that can be teleoperated by keyboard commands. I found a function called waitforbuttonpress that allowed me to give the ...
1
vote
1answer
37 views

What should be the prediction step in particle filter?

I am implementing a particle filter using MATLAB. I am implementing it first time. I have written the system model and measurement model. Given below: ...
0
votes
0answers
60 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 ...
3
votes
1answer
115 views

Converting from Modified to Standard Denavit Hartenberg

This is probably a noob question. But as of right now I am having difficulty converting from the Modified DH to a Standard DH parameters for the Franka Emika Panda. I need standard because it allows ...
5
votes
2answers
416 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 ...
2
votes
2answers
54 views

How to take prediction step in particle filter?

I am working on particle filter. I have studied it thoroughly, but stucked at one point during implementation. I have to implement it using MatLab. The issue is this that I am unable to implement the ...
2
votes
2answers
340 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/...
0
votes
1answer
219 views

Matlab Code for Lynx Robot

In this section, you will need to write a function lynx_fk which returns the positions of 10 points along the robot arm as defined later, given the joint angles of the robot. For this question, ...
1
vote
1answer
35 views

Solving for rotation matrix: Aligning vector a with vector b and then rotating around vector b

Currently working on a quadcopter simulation. I have a desired thrust vector, t =sin(30)cos(45)a1+sin(30)sin(45)a2+cos(30)a3 and desired yaw angle, ...
4
votes
1answer
236 views

Yaw drift when implementing AHRS filter fusion

I am using the Matlab AHRS filter fusion algorithm with an InvenSense ICM-20948 to determine object orientation. I seem to be obtaining reasonable results however I am getting what appears to be ...
1
vote
1answer
248 views

What is exact model of haptic interface system in 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 ...
1
vote
1answer
114 views

Regarding kalman filter implementation

I think I might have originally posted this in the wrong stack exchange forum, link. I think this might be the right place, I am not sure if posting again is considered "bad style", I apologize if ...
0
votes
1answer
28 views

how to communicate vrep with ESP8266 via wifi to send and receive data

I'm looking for some guidance on a project that I've been doing for quite a long time; the project is about a 4WD robotic platform for obstacle avoidance with haptic feedback. if you know about the ...
0
votes
0answers
22 views

SerialLink.ikine producing inconsistent inner coordinates - Robotics Toolbox

I'm trying to write a Matlab function that will enable me to write letters and numbers using my 6dof manipulator (RRRRRR). I have a function named gensym that ...
0
votes
0answers
38 views

Use Camera Calibration Matrix without Toolbox

I am doing this little project where try to calibrate a Raspberry Pi Camera. I use Matlab and I do not want to use the Calibration Toolbox (!). The algorithm I use is the direct linear transformarion ...
0
votes
3answers
63 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 ...
0
votes
0answers
28 views

Robotics: Solving differential equations using computer program

I am having trouble trying to do problem 2 of this robotics problem. Problem 2 requires making a code to solve the derived equations using computer programs such as Maethematica or Matlab. How would I ...
0
votes
0answers
17 views

why cumtrapz integrator always return zero?

I have been trying to use cumtrapz function to integrate velocity at a given time interval to get the position. However, it keeps giving me zero position at the beginning and end of the iteration, ...
0
votes
0answers
66 views

Compensator design

I got a plant $G(s)=\left(0.13s+1\right)/s^2$ to design a compensator which provides below demands: Settling time : max 2s Overshoot : max %35 Gain margin : min 10 dB Phase margin : min 30 deg ...
0
votes
1answer
338 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 ...
0
votes
0answers
44 views

Using CTRV UKF, to predict yaw and yaw_rate without measuring it

I would like to know does it makes sense to use CTRV (constant turn rate & velocity) motion model [x, y, v, yaw, yaw_rate] with Unscented Kalman filter if I have only measurements of the position ...
1
vote
0answers
39 views

Finding transfer function from bode plot

I try to estimate a system transfer function by hand calculation from a bode plot data but I could not succeed yet and I need someone help. it will be appreciated if anyone explains or refer me to a ...
0
votes
1answer
12 views

Need Suggestions for real-time number or object detection with Arduino + MATLAB? [closed]

I'm working on a line follower robot. its a kind of waiter robot. and i am facing problems in detecting customer table. can you guys please suggest me some ideas to detect customer table. i want to ...
0
votes
2answers
726 views
2
votes
2answers
770 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 ...
4
votes
3answers
910 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 ...
1
vote
1answer
781 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
409 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
1answer
34 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 ...
0
votes
0answers
75 views

Using Simulink Interpreted MATLab fcn for robot dynamics using Robotics Toolbox

I am using Interpreted MATLab fcn to compute forward dynamics. I am using code of accel in which I have added my robot model in the beginning, making the accel function: ...
0
votes
0answers
18 views

3 DOF robot torque not converging Robotics Toolbox

I have a Simulink model in which desired torque is [0;0;0] and current torque should converge to zeros too. But I am getting oscillatory torque as output. This is the block diagram of what I am ...
4
votes
1answer
67 views

3-DOF Robot Dynamics error in Robotics Toolbox

I am trying to compute dynamics of 3 DOF robot using Robotics Toolbox by executing this code: robot.accel(q, zeros(1,3), zeros(1,3)) But I am getting this error: ...
2
votes
1answer
182 views

Inverse Jacobian to find joint angles

I am trying to implement a joint space control with the UR5 in MATLAB/Simulink and have programmed the forward kinematics of the same. Now, I want to find out the joint angles of the manipulator using ...
0
votes
1answer
50 views

Rotation at SerialLink.teach Robotic Toolbox

Im using robotic toolbox to simulate my robot, but i always confused when i see the value of rpy. It always different if i compare with tr2rpy and tr2eul. What kind of rotation used in SerialLink....
1
vote
1answer
57 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 ...
2
votes
1answer
855 views

Using 3D graphics animate the robot in Matlab GUI

I have seen this example ( http://in.mathworks.com/matlabcentral/fileexchange/14932-3d-puma-robot-demo/content/puma3d.m) in file exchange and want to do similar thing with 4 dof rootic arm. I follow ...
0
votes
1answer
268 views

Line following robot mathematic model

I'm trying to improve the speed my line following robot. I have made this chassis designs. This is the main prototype I'm working on. Look at the following image. I'm driving the robot with PID, and ...
0
votes
0answers
30 views

How to add some more feature for this simulink model

After some research Robotic hand simulation in MatLab? After some motivation, I have tried to go inside Matlab Simulink and was able to do this :- https://drive.google.com/open?id=...
1
vote
1answer
44 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
107 views

Esc calibration

I want to make a calibration setup for BLDC ESC in the simulink model. I'm using arduino mega (3,9,10,11 pins) and quatro 30Ax4 esc. Normally I can set it to it's max, min, and incrementally increase/...
0
votes
1answer
23 views

Get a signal from position array data

I'm working with position data from a hand sensor, and need to apply an FFT to it to get the level of tremor based on the frequency of the signal. I get two arrays, one with +1000 frames of position ...
-2
votes
2answers
124 views

Robotic hand simulation in MatLab?

We are doing graduation project and require simulation of the robotic hand to be submitted. And we want to control various parameter in for movement for fingers of robotic hand. We tried it in other ...
0
votes
2answers
272 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 ...
0
votes
1answer
935 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 ...
2
votes
3answers
2k 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 ...
4
votes
2answers
784 views

inverse kinematics matlab RVC for 3 joint RRR

Hi im having problem with Inverse kinematic using RVC toolbox in matlab for RRR manipulator. ...
3
votes
1answer
5k 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
42 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 ...