6
votes
Accepted
How can I apply different control approach without having a state space model?
Many control strategegies (PID is not neceserily one of these) are computing some of their parameters from your system. If you do not want to model your system yourself (or play around with it until ...
6
votes
About official robotics system toolbox Matlab and Peter Corke Robotics toolbox matlab
There are very few problems having both toolboxes installed. The biggest gotcha is the function angdiff() which is provided by both toolboxes but defined differently.
If you want to stick with ...
5
votes
Accepted
Does simulink accepts robotics toolbox in matlab?
The MATLAB function block in Simulink has some limitations. The fact that Link.m is referred to as a function not a class is a worry. I recreated your Simulink model and get similar error messages, ...
5
votes
Mathematical modelling of system dynamic on matlab
the Simulink diagram is straightforward. It is a matter of connecting blocks. For the differential equations provided in your post, the simulink is
For $u_1$ and $u_2$, I've chosen the unit step. ...
5
votes
Accepted
Meaning of a negative step response with quaternion
Welcome to Robotics, PaoloH! This is a fantastic question for Robotics - It has some Matlab/Simulink, some control theory, some spatial (quaternion) representations, etc. Robotics is the place to come ...
5
votes
How to take prediction step in particle filter?
The prediction step generates a new set of states from the old set of states. The motion model of the system is used to make this best estimate of what we think the new state might be. The motion ...
4
votes
Accepted
Using Gazebo installed on same machine in MATLAB
The MATLAB tutorial doesnt cover this aspect well about when you have matlab and gazebo running on the same linux machine with no virtual box.
Change your linux ethernet interface ip address ...
4
votes
Human arm inverse kinematics
You are tackling two non trivial problem at the same time
1. Inverse kinematics of an overactuated manipulator
2. Obstacle avoidance using the null space
By definition of the null-space projection ...
4
votes
Accepted
Complimentary filter issues
There are quite a few things wrong here. I'll split them into two sections: technical errors, and coding warnings.
Technical Errors:
You are not calculating your angles from accelerometer readings ...
4
votes
Does simulink accepts robotics toolbox in matlab?
You appear to be using a third-party toolbox, the Robotics Toolbox. If it's not running in Simulink, then it might not run in Simulink. If you want something that does, try the official toolbox. ...
4
votes
Matlab Inverse Kinematics 6 DOF
Ideal solution can be defined in many ways.
The simplest way to choose one is to compare which of the 8 solutions is closest to your current pose in joint space. This is usually a good idea if you ...
4
votes
Can I write the seperation principle for LQG controllers in this state space form?
Both state space representations are equivalent. For example the eigenvalues of the two closed-loop system matrices should be the same. However when implementing LQG you only have access to the ...
4
votes
Accepted
Determine the relative camera pose given two RGB camera frames in openCV-python
If you understand how relative pose estimation works in theory, it should be quite trivial to translate it into OpenCV code. First, you can pick any feature detection/description approach you like (...
4
votes
Is the translational vector (positon) in transformation matrices in cm or another unit (MATLAB)?
They are in whatever units the kinematic analysis uses. It could be feet, inches, meters, millimeters, or whatever. Your question is a bit like asking “what unit is the Pythagorean theorem written ...
4
votes
Solving pseudo inverse of Jacobian in Matlab/Octave
After running your code, it looks like everything is behaving how you have defined it to. The problem you are running into has more to do with the Jacobian itself and less to do with any mistakes you ...
3
votes
Accepted
Mobile robot algorithm implementation error
So I'll point out what might be some problems, at-a-glance, but wow this is one of the longest questions I've seen here. I'm pretty swamped with real-life stuff at the moment, so I'll just point these ...
3
votes
Accepted
Are there any aerodynamics modeling/simulation software that is capable to consume a SolidWorks model and to interface with MATLAB/Simulink?
Matlab has a package called Simscape that you can use for modeling physical systems in general. I would just caution you up front that Simscape is almost more like a plugin manager in that it enables ...
3
votes
Accepted
How to move root locus to the left?
Brief process for pole placement in Matlab:
Check that the system is actually controllable.
.
...
3
votes
Accepted
Platooning leader follower code
I don't have access to the article, so I have to guess about the expected behavior.
Looking at your code, the first thing I did was to change all of your atan ...
3
votes
Accepted
Reading multiple signed digits from serial port
It looks like you're doing this in a very round-about manner. You said,
The matlab function in sumlink is supposed to read the received ASCII characters and add them to a variable until it reaches ...
3
votes
Accepted
How to get Max Torque on Robot arm 's Joints (RRR)
Torque is pretty easy to calculate for a single static arm configuration. Torque is just the length of the moment arm * the perpendicular force. And it is easy to decompose the problem into X and Y ...
Ben♦
- 5,825
3
votes
Accepted
Can I write the seperation principle for LQG controllers in this state space form?
This is really a lot to look at, but the most glaring issue I noticed off the bat is your definition of the control signal $u(t)$.
What is the input to your controller? What should be the input to ...
3
votes
Accepted
Inconsistent results between Simulink derivative model and tf for PD controller
After some investigation, there is a problem with the derivative block in Simulink. tf yields the correct response in my case. While the values of Kd has been ...
3
votes
Accepted
Control system in Matlab with RSA encryption
:EDIT:
Your numbers must be integers POSITIVE INTEGERS. (link)
This is probably the root of the trouble you're having. Interesting that the paper didn't mention anything about this. I'm not sure how ...
3
votes
Accepted
3
votes
Smooth step function Simulink
There are a variety of functions that can give you an "S" curve like you want. Check out the Sigmoid function.
I usually use something like this:
$f(x) = \frac{x}{\sqrt{1+x^2}}$
And it can ...
Ben♦
- 5,825
2
votes
Pole placement gains tuning
I assume that you'd aim to place the poles in $-0.5 \pm 0.2 \cdot i$ for stability reasons.
In the s-domain, the transfer function is:
$$
\frac{\Phi_c}{\Phi}=\frac{K_p}{s^2+K_ds+K_p}.
$$
Computing the ...
2
votes
Accepted
Filtering IMU angle discontinuities
Here are my two suggestions for dealing with this problem:
Use a median filter, which replaces each value of your signal with the median of the values in a small window around each one. Here is some ...
2
votes
Why I'm getting very long terms in the inertia matrix (or dynamics model) of the robot using matlab script?
Long formulas are to be expected. I actually have derived such equations of motion for a planar RRRR manipulator. I assumed real symbolic variables assume(A, 'real')...
2
votes
Pick and place robot
I assume from your question that you are only simulating the robot's kinematics, and not dynamics or controls. However, this recommendation would be the same even if you had to complete a full-up ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
matlab × 255ros × 42
control × 41
robotic-arm × 41
simulation × 40
inverse-kinematics × 25
kinematics × 19
arduino × 15
dynamics × 14
mobile-robot × 13
pid × 11
robotics-toolbox × 11
forward-kinematics × 10
quadcopter × 7
motion-planning × 7
manipulator × 7
gazebo × 7
ros-kinetic × 7
kalman-filter × 6
imu × 6
navigation × 6
algorithm × 6
jacobian × 6
rosmatlab × 6
gyroscope × 5