Questions tagged [matlab]

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

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
440 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
322 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
138 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
1answer
65 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
48 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
43 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
273 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
730 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
79 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
14 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
1answer
32 views

Finding the right PD values for a quadcopter simulator

I am working on this short assignment where I have to find the right PD values for a simulated quadcopter. I have to reach 0.9 meters under 1 second with an overshoot of less than 5%. This is my ...
0
votes
0answers
67 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
0answers
31 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
57 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
1answer
41 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
29 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
18 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
115 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 ...
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=...
0
votes
0answers
115 views

Pole placement gains tuning

given my control system I have found the region of the complex space that satisfies my specifications, determining poles position in 0.5 +- 0.2i. Now I want to find the gains that fix the desider ...
0
votes
1answer
85 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 ...