Questions tagged [matlab]

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

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
81 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 ...
4
votes
2answers
374 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 ...
1
vote
0answers
235 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
2answers
267 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/...
1
vote
0answers
458 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
136 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
77 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
28 views

Why my kinematic diagram is not giving the same position and orientation while forward kinematics test?

I am sharing my matlab code so that you can also generate the simulation . ...
0
votes
0answers
11 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
15 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 ...
0
votes
1answer
24 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
1answer
68 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, ...
0
votes
0answers
13 views

Information filter sensor fusion

I am struggling with a basic implementation of the information filter. I have the equivalent Kalman filter working. The information filter appears to be harder to debug. This is mostly because we ...
0
votes
0answers
29 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
25 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
305 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
104 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
53 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 ...