Skip to main content
4 votes
0 answers
61 views

I am working with the DirectCollocation class and an often getting trajectory solutions with large oscillations (sometimes in the position, almost always in the velocity). These oscillations seem to ...
louis's user avatar
  • 183
Advice
0 votes
0 replies
45 views

I am working on a project to build a robust locomotion policy for quadruped robots on adverse terrains using reinforcement learning. My end goal is to deploy a trained RL policy on real hardware, and ...
KANISHK KHANDELWAL's user avatar
0 votes
0 answers
111 views

I manage to correctly simulate a closed loop with Simulink using pure python "control" library. However, I'm now trying to do the same with a new closed loop that has uses a PID controller: ...
João Schmidt's user avatar
0 votes
1 answer
535 views

I am new to ACADOS and MPC. I have a task where I need to define the dynamics of a mobile robot and solve the MPC problem using ACADOS. I have defined the model using CASADI as follows: def ...
Ady's user avatar
  • 1
0 votes
1 answer
174 views

I have built a simple kalman filter for an arbritary that seems to work well as long as I do not use a non-zero input. When I run this script with a zero input I can see from my plots at the end that ...
DuffRumkins's user avatar
1 vote
0 answers
160 views

Given (z,p,k) my goal is to convert to a state-space representation (A, B, C, D) with high numerical accuracy and stability. I do not really care about complexity and implementation cost. One approach ...
DaveC's user avatar
  • 167
6 votes
0 answers
268 views

I am working with Octave in the control package, and I want to take an array of transfer functions (initialized as follows) and just extract the diagonal elements of the matrix. Whenever I try to do ...
Justin T's user avatar
  • 111
0 votes
1 answer
130 views

I'm applying Proportional-Derivative controller to control my model in ROS. I'm limited to python 2.7.17 version. There are two types of errors in this script; position error(ep) and heading error(eth)...
Shadan Zahid's user avatar
0 votes
1 answer
347 views

I want to design a PI controller in C code for controlling the system Pressure using the Current of a proportional solenoid valve. The valve is normally open, which lets the hydraulic fluid back to ...
SLovesToLearn's user avatar
0 votes
1 answer
168 views

I have a lever/joystick that can be pulled manually, which gives a value range between (0 to 250) depending on the percentage of how much it has been pulled. This serves as my input to the C code. The ...
SLovesToLearn's user avatar
0 votes
2 answers
2k views

I'm trying to design a controller to balance a 2-wheels robot (around 13kg) and making it robust against external forces (e.g. if someone kicks it, it should not fall and not drift indefinitely ...
Luca Mannini's user avatar
0 votes
1 answer
90 views

I've been trying to solve an equation composed of matrices. MATLAB has run it for almost two hours now and nothing. It's supposed to multiply some 8x8 matrices and invert one 8x8 matrix. Should it ...
kmalone's user avatar
0 votes
1 answer
2k views

Following this question, I am trying to convert the state-space model from this tutorial back into its transfer-function form. I have tried the R = 2.0; % Ohms L = 0.5; % ...
Foad S. Farimani's user avatar
0 votes
1 answer
642 views

So I want to create an MPC controller for my seesaw-cart system. All the "grunt work" (getting equations of motion, state-space representation etc.) has been done, so I went into coding into ...
BigDuckPlaya's user avatar
1 vote
1 answer
2k views

Following this question, I am trying to comprehend the functionality of MATLAB's ss() and tf2ss() functions and their differences. Consider the code below: Kf = 0.2; J = 0.02; h2 = tf(1, [J Kf]); ...
Foad S. Farimani's user avatar

15 30 50 per page
1
2 3 4 5
7