All Questions
135
questions
1
vote
1
answer
58
views
Pyomo IPOPT Collision Avoidance Violation
I am trying to use pyomo for nonlinear programming trajectory optimization.
I used simple UAV model to optimize for the minimum travel time trajectory from initial position to final position. I want ...
2
votes
2
answers
34
views
How to use Complex conjugate in GEKKO
I have an optimal control problem with GEKKO. And I need take the complex conjugate of a variable. I know that GEKKO have method about .exp .log and so on, but I don't find the method about .conj
So ...
0
votes
0
answers
195
views
How can i get rid of the error = " Control must be added to the page first." on flet python
Here is my complete code, it does not seem to be any other problem than when adding the table control to the page, because it is returning data to fill said table, only that when calling the function ...
0
votes
1
answer
40
views
Create a small control panel on screen for pyautogui monitoring and control purposes
How do I display a small control panel screen that can control and monitoring pyautogui process? I expect there is a pinned window that for monitoring purpose such as displaying current log.txt that ...
3
votes
1
answer
230
views
Calculating inverse laplace transform using python or matlab
I'm trying to simulate simple closed-loop system with PID controller in Python or MATLAB. In both cases I have problems with calculating time domain response of the system using inverse Laplace ...
0
votes
1
answer
149
views
Maya Python: How do I parent these FK controls hierarchically?
I've been trying to get this code to run based off what I found at this forum: https://discourse.techart.online/t/maya-python-fk-controls-generator-parenting-issue/5395
The first list I commented out ...
0
votes
1
answer
241
views
Calculating the transfer function from electronic and mechanical equations in sympy
I am trying to calculate the transfer function of an electric motor using sympy in an effort to save me time doing hand calculations. Here are the mechanical and electrical equations for the motor:
...
1
vote
0
answers
115
views
Determining the state space equation of a MISO system based on input and output data series
I am building a model predictive controller for a reactor with two input streams and an output product. We control the input flow rates and measure the output concentration.
I have input and output ...
1
vote
1
answer
111
views
how to control cs:go alias commands via python?
There are commands in the x go console like "+forward", "+left" and so on. And to them I set alias example: Alias: +fr, Command: "+forward". How can I use python to ...
0
votes
1
answer
73
views
Pixelink autofocus camera control
I am using a Pixelink camera PLD 7620 with a liquid lens for autofocus. I have downloaded the Pixelink capture software and the features of the camera work well there. I installed the pixelinkWrapper ...
0
votes
0
answers
75
views
raise TypeError("Argument must be either a string, dict or module but it is: %s" % m)
I am trying to solve a function which I got which is like
v2 = (1 - d) * sp.diff(h1, x) + (d / ep) * sp.diff(w, y) + d * sp.diff(w, x)
I want to convert symbolic expressions to numerical functions ...
3
votes
1
answer
146
views
Infeasibilities, Solution Not Found - Gekko Error
I'm Arthur. I'm very new to gekko, thus I might be missing something very obvious here.
I have been trying to find the solution to an optimal control problem, namely trajectory optimization of a ...
1
vote
1
answer
272
views
pywinauto print_control_identifiers for pyqt5 application
Using python 3.10 i am trying to use pywinauto and print_control_identifiers for a PyQt5 app (for example Qt Designer).
from pywinauto.application import Application
import os
app = Application()....
0
votes
1
answer
393
views
Python Transfer Function with exponential term in the numerator
transfer function
How would I input this transfer function in python? I'm having trouble with the exponential term in the numerator.
I'm currently using the python control systems library; is it ...
1
vote
0
answers
73
views
Scipy odeint "The array return by func must be one-dimensional, but got ndim=3"
i want to solve a problem with an ODE of a system, but im running into a problem that odeint says my functions return a ndims object. now im confused since i dont know what i did wrong.
i have tried ...