Questions tagged [matlab]

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

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
480 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 ...
4
votes
1answer
548 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 ...
2
votes
0answers
140 views

Use MATLAB Compiler SDK generated package in KUKA Sunrise.Workbench

The MATLAB Compiler SDK allows to create a wrapper for a MATLAB function which can be accessed by Java software. Based on my understanding, KUKA's Sunrise.Workbench IDE uses most of the standard Java ...
1
vote
0answers
59 views

Inverse Kinematics for a 4-DoF Leg

I am beginner in the robotics space and I am trying to apply inverse kinematics to robot leg that has 4 degrees of freedom. I do not know how to think about solving these problems, so any guidance ...
1
vote
1answer
194 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 ...
1
vote
1answer
74 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: ...
1
vote
0answers
54 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 ...
1
vote
0answers
289 views

Maintaining scale factor for essential matrix

I want to recover the trajectory of a vehicle using a monocular camera via the computation of the essential matrix between t-1 and ...
1
vote
0answers
946 views

Matlab Simulink showing following errror: kinematic constraints cannot be maintained

I'm using simulink to get joints torque by giving motion input. I create very simple CAD model in solidworks to learn simulink. Simulink model is showing in below figure. During update it shows no ...
1
vote
0answers
82 views

how to actuate pneumatic muscle by the signals received by emg sensors interfaced with raspberry pi?

My aim is to actuate a pneumatic muscle based on signals received by EMG sensors placed on the biceps. Is there any Matlab code which can process the received EMG signals and convert them into any ...
0
votes
0answers
8 views

Algorithm for Hand-eye Calibration with static camera brings wrong parameters

I tried a hand-eye-calibration with a static camera and the following alogorithm in Matlab. https://de.mathworks.com/matlabcentral/fileexchange/48696-camera-to-robotic-arm-calibration The algorithm is ...
0
votes
0answers
35 views

Joint space trajectory script unclear

I have a script provided by The MathWorks Inc. that makes a robot end-effector follow both a task space and a joint space trajectory through several waypoints. These trajectories are then plotted in ...
0
votes
0answers
21 views

How to connect to a kinova gen3 arm in gazebo through MATLAB and ROS?

I want to simulate a kinova gen3 arm in Gazebo through MATLAB and ROS. I am using a windows laptop which is running MATLAB natively, and I am running ROS and Gazebo via a virtual machine. I have ...
0
votes
0answers
26 views

Retrieving Denavit-Hartenberg-Parameters from homogenous transformation-matrix

i am trying to implement a matlab script where the user can enter quaternions and retrieve the corresponding denavit hartenberg parameters for this link. My approach is to create the homogenous ...
0
votes
0answers
28 views

i want to model the variable distance between two moving vehicles

please i need to model the variable distance between two vehicles, below the code that i'm trying to do , The code ...
0
votes
0answers
29 views

How I Calculate the correct Joint Torques of Robotic arm in Simmechanics?

I have imported my Solidwork Robotic arm into Simmechanics successfully, now I want to calculate torque required for each joints at different conditions, I cant find the Torque, I have tried Total ...
0
votes
0answers
101 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 ...
0
votes
1answer
64 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
26 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
31 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=...
0
votes
1answer
106 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 ...