Trajectory Optimization Question.

So I have a question about trajectory optimization. In the adrlab of Eth Zurich, they have these sensors right to see where the drone or any thing is there in the 3D space of the lab. In the lab when they do traj opt for drone they know the location for the end point, but in the real world how does traj opt works?. I can't seem to think of any explanation other than radar for traj opt in real world.

So I want to ask you guys, how do you do traj opt for algorithms that need traj opt like mpc etc in the real world.

πŸ‘︎ 11
πŸ’¬︎
πŸ“…︎ Sep 23 2021
🚨︎ report
KSP Trajectory Optimization Tool v1.6.8 Release! forum.kerbalspaceprogram.…
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/Arrowstar
πŸ“…︎ Aug 20 2021
🚨︎ report
What is the optimal Starship flip? A trajectory optimization analysis.

Hi everyone! It occurred to me last night that one of the tools I use in my robotics research (I am a PhD student in Mechanical Engineering right now) can be used to analyze/test the Starship landing maneuver. The method falls under a field of control theory called β€œoptimal control theory” which is all about – as the name suggests – using a systematic method to optimize your controller or control signal according to some objective measure.

I have been inspired to do this, in part because some internet arm-chair controls engineers in have suggested that issues with the landing maneuver are attributable to (and I am paraphrasing) SpaceX β€œhaven’t tuned their PID parameters correctly yet,” or their trajectory is pitching over too far or something like that. I believe this is a bit of a Dunning-Kruger situation, and in my opinion, comes off a little offensive as it vastly underestimates the knowledge of SpaceX engineers. SpaceX have one of the most advanced aerospace controls and simulation research teams in the world. This analysis may help put into perspective one of the possible methods they use to plan a trajectory or do model-predictive-control (MPC).

#The Method Direct collocation is a trajectory optimization method that breaks down the time in which you want to control something into discrete time points and solves a problem that minimizes an objective which is computed across the trajectory (for instance, minimize the total propellant expended for a rocket by integrating the mass burn at each time point in the trajectory, or minimize the total time it takes to complete the task).

In specific, I am using a trapezoidal collocation method – as it is the easiest for me to code from scratch in a hurry. All of the code to solve this problem was written from scratch today. The problem I have specified is a bit more restricted and simplified than the actual landing problem.

Here are some of the modeling choices I have made:

##Endpoint Conditions I have started the problem at the approximate height (500 m) and vertical decent rate (90 m/s) of the Starship at the start of the SN10 landing burn according to some data from a video from FlightClub.io (tweet). I have started it at a pitch angle of 85 degrees. I have specified that it should land with zero velocity and zero pitch angle. I have allowed the total duration of the maneuver to be whatever it likes so the time interval is not fixed but a

... keep reading on reddit ➑

πŸ‘︎ 442
πŸ’¬︎
πŸ‘€︎ u/tymo7
πŸ“…︎ Mar 19 2021
🚨︎ report
Kneed Passive Walker Limit Cycles via Trajectory Optimization github.com/MahanFathi/Tra…
πŸ‘︎ 56
πŸ’¬︎
πŸ‘€︎ u/MahanFathi
πŸ“…︎ Apr 10 2021
🚨︎ report
[Article] Convex Approach to Three-Dimensional Launch Vehicle Ascent Trajectory Optimization - Boris Benedikter, et al.

https://arc.aiaa.org/doi/abs/10.2514/1.G005376

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Jul 22 2021
🚨︎ report
Difference between trajectory optimization and motion planning and when to use either (both as defined on wikipedia)

Trajectory optimization includes direct & indirect techniques such as shooting and collocation which solve the 2-pt boundary value problem whereas motion planning includes algs like RRT and A* which plan a path through a space.

My issue: given sufficient compute, both approaches will compute a path while adhering to constraints and minimizing some cost function... so what's the difference? When do you use one technique over the other?

πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ Mar 24 2021
🚨︎ report
[R] The Break-Even Point on Optimization Trajectories of Deep Neural Networks

We (finally) released camera-ready for our spotlight ICLR paper https://arxiv.org/abs/2002.09572. We argue that there is a "break-even point" on the optimization trajectory, which is encountered early in training.

Fun animation: http://kudkudak.github.io/assets/misc/G.gif

Abstract: The early phase of training of deep neural networks is critical for their final performance. In this work, we study how the hyperparameters of stochastic gradient descent (SGD) used in the early phase of training affect the rest of the optimization trajectory. We argue for the existence of the "break-even" point on this trajectory, beyond which the curvature of the loss surface and noise in the gradient are implicitly regularized by SGD. In particular, we demonstrate on multiple classification tasks that using a large learning rate in the initial phase of training reduces the variance of the gradient, and improves the conditioning of the covariance of gradients. These effects are beneficial from the optimization perspective and become visible after the break-even point. Complementing prior work, we also show that using a low learning rate results in bad conditioning of the loss surface even for a neural network with batch normalization layers. In short, our work shows that key properties of the loss surface are strongly influenced by SGD in the early phase of training. We argue that studying the impact of the identified effects on generalization is a promising future direction.

Thoughts? :)

πŸ‘︎ 167
πŸ’¬︎
πŸ‘€︎ u/kudkudak
πŸ“…︎ Feb 26 2020
🚨︎ report
Trajectory Optimization Example: The Lunar Lander, implemented using CasADi. The Python code that created this video is in the comments. gfycat.com/formalgleaming…
πŸ‘︎ 951
πŸ’¬︎
πŸ‘€︎ u/versvisa
πŸ“…︎ Oct 29 2019
🚨︎ report
What is the difference between optimal control and trajectory optimization?

In the context of control systems taking the cart pole problem as an example, as I understand, trajectory optimization is coming up with a sequence of control inputs u(k) that maximizes an objective function (ie. inverse of energy used to move the cart).

However, this description also sounds like optimal control?

What would be the difference between these terms?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Cogitarius
πŸ“…︎ Feb 12 2021
🚨︎ report
Cassini-Huygens mission to Lindor (JNSQ) with 4 gravity assists. Planned with KSP Trajectory Optimization Tool imgur.com/gallery/l1w5Fya
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/strubinator
πŸ“…︎ Aug 14 2020
🚨︎ report
Arrowstar’s Trajectory Optimization Tool, my all time favorite planing tool for flybys and slingshots. forum.kerbalspaceprogram.…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/-Rendark-
πŸ“…︎ Jul 20 2020
🚨︎ report
Another Pinpoint Booster Landing, but now with Direct Orbital Rendezvous and Trajectory Optimization reddit.com/r/SpaceXLounge…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/janismac
πŸ“…︎ Aug 21 2020
🚨︎ report
Trajectory Optimization Example: The Lunar Lander, implemented using CasADi. The Python code that created this video is in the comments. gfycat.com/formalgleaming…
πŸ‘︎ 49
πŸ’¬︎
πŸ‘€︎ u/versvisa
πŸ“…︎ Oct 29 2019
🚨︎ report
Multi-Phase Trajectory Optimization and Tracking for a Combined Orbital Rendezvous and Booster Landing Mission reddit.com/r/SpaceXLounge…
πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/janismac
πŸ“…︎ Aug 21 2020
🚨︎ report
Two drone trajectory optimization w/ fixed distance

Hello guys,

I've been trying to solve this problem where I optimize the trajectories of 2 drones that keep a fixed distance between them.

So the way I solve this problem was by applying the euclidean distance between them as an equality constraint:

sqrt((x_d2-x_d1).^2+(z_d2-z_d1).^2)-2

Besides that, I optimize the states and variables of both drones in the cost function as follows:

% center of mass

com_x = (x_d1+x_d2)/2;

com_z = (z_d1+z_d2)/2;

vector_drone1=[mode_diff_d1; mode_common_d1; theta_d1; x_velocity_d1 ;z_velocity_d1;angular_velocity_d1];

vector_drone2=[mode_diff_d2; mode_common_d2; theta_d2; x_velocity_d2 ;z_velocity_d2;angular_velocity_d2];

vector_drones=[com_x;vector_drone1;com_z;vector_drone2];

%reference to follow

ref_d1=[5*ones(H,1); zeros(H,1);10*ones(H,1);zeros(4*H,1)];

ref_d2=[5*ones(H,1); zeros(H,1);10*ones(H,1);zeros(4*H,1)];

ref=[ref_d1;ref_d2];

cost = sum(vecnorm(vector_drones-ref).^2);

-------------------------------------------------------------------------------------------

Drone 1 has the blue trajectory and drone 2 has the pink one.

So I tried 2 approaches:

- First, the trajectory of drone 1 starts at (0,0) and its position x initial condition has value =0. And the trajectory of drone 2 starts at (2,0) and its position x initial condition has value =2.

the beggining

the end

The problem is that it goes to an infeasible point and the trajectories don't finish in the position that it's supposed.

---------------------------------------------------------------------------------------------------------------------------------------------

So I tried another approached where both trajectories started at (0,0)

https://preview.redd.it/1zzmir1avzg51.png?width=545&format=png&auto=webp&s=694c02d418566ff37aed189da4fd027c74484e16

and It also converges to an infeasible point.

So my doubts are:

- Should I maintain the approach where both trajectories start at different positions so the constraint isn't violated a priori?

- I don't know why it converges to an infeasible point.

This is my code:

[https://github.com/preguica00/mpc2drones](https://github.co

... keep reading on reddit ➑

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/preguica00
πŸ“…︎ Aug 14 2020
🚨︎ report
Optimization trajectory for drone w/ MPC controller - problem w/ dynamics implementation.

First, I wanted to say that I'm aware this is more a matlab problem, but I wanted to talk with someone that really understands quadcopter/drone and what it is needed to control one.

So my problem is a optimization trajectory of a drone using model predictive control (mpc).

I'm struggling now more on the theoretical part of the problem.

See please the formulation of the problem I have on github link.

-----------------------------------------

So I run my MPC controller, that is, the optimization I do with fmincon function.

Then, my output is a optimal vector of both my 6 states and my 2 control variables.

I apply the first element of both control variables in the simulation of my model.

And then I calculate the current state that I will apply again back to the controller.

I think that part is ok.

-------------------------------------------------------

The problem is that in my MPC controller, I need to implement the dynamics of the model as an equality constraint. I thought that that was the difference between the states I optimize (that come out of fmincon) and the discretization of the system, but that doesn't work.

Someone suggest to me that the constraint should be the difference between the state I optimize in fmincon and the state that comes out of the simulation of the drone(simulate_step function). But I don't understand why. What's the point of discretizating the system if I don't use it though?

This is my code:

https://github.com/preguica00/MPC_drone

My problem is basically `discretization` function.

Thank you

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/preguica00
πŸ“…︎ Apr 14 2020
🚨︎ report
[Short Science] Regularizing Trajectory Optimization with Denoising Autoencoders shortscience.org/paper?bi…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/SeveralMeeting
πŸ“…︎ Aug 06 2020
🚨︎ report
New Video Shows How Humanity Could Spread Throughout the Galaxy Results of the Global Trajectory Optimization Competition (GTOC X), which is organized by the Mission Design and Navigation section of NASA’s Jet Propulsion Laboratory. First and Second place were won by two China teams. gizmodo.com/new-video-sho…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/EdwardHeisler
πŸ“…︎ Jun 27 2019
🚨︎ report
[S] Regularizing Trajectory Optimization with Denoising Autoencoders shortscience.org/paper?bi…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/research_mlbot
πŸ“…︎ May 07 2020
🚨︎ report
[P] Teaching a Car to Drive with PyTorch and Trajectory Optimization

A little project I did optimizing the path of a steering car using automatic differentiation in PyTorch.

http://blog.benwiener.com/programming/2019/05/14/steering-car.html

I'd love to know what you think!

πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/ishmandoo
πŸ“…︎ May 23 2019
🚨︎ report
[R] The Break-Even Point on Optimization Trajectories of Deep Neural Networks /r/MachineLearning/commen…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/wassname
πŸ“…︎ Feb 26 2020
🚨︎ report
KSP Trajectory Optimization Tool v1.4.0 released! Features new tools for RemoteTech comm network analysis! forum.kerbalspaceprogram.…
πŸ‘︎ 64
πŸ’¬︎
πŸ‘€︎ u/Arrowstar
πŸ“…︎ Jul 08 2015
🚨︎ report
KSP Trajectory Optimization Tool v1.5.4 released! forum.kerbalspaceprogram.…
πŸ‘︎ 90
πŸ’¬︎
πŸ‘€︎ u/Arrowstar
πŸ“…︎ May 31 2016
🚨︎ report
Trajectory Optimization for Wheeled-Legged Quadrupedal Robots using Linearized ZMP Constraints youtu.be/I1aTCTc0J4U
πŸ‘︎ 12
πŸ’¬︎
πŸ“…︎ Apr 08 2019
🚨︎ report
[Article] Quasilinear Chebyshev-Picard Iteration Method for Indirect Trajectory Optimization
  • DOI/PMID/ISBN: https://doi.org/10.2514/6.2019-0260

  • URL

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rongguodong
πŸ“…︎ Jan 15 2019
🚨︎ report
GeneticSharp in the Wild: AeroVision - Aircraft Trajectories Optimization and Visualization diegogiacomelli.com.br/ge…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/ogiacomelli
πŸ“…︎ Jun 05 2019
🚨︎ report
Kinematics Analysis and Optimization of Carbon-Free Vehicle of "8"-Shaped Trajectory Based on Spatial RSSR Mechanism sciencepublishinggroup.co…
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/SpaceMonkiz
πŸ“…︎ Apr 12 2019
🚨︎ report
[Thesis] Large Scale Constrained Trajectory Optimization Using Indirect Methods
  • DOI/PMID/ISBN: N/A

  • URL

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rongguodong
πŸ“…︎ Jun 19 2018
🚨︎ report
Are there any good tutorials for Trajectory Optimization Tool?

The pre-packed PDF tutorials seem to assume quite a lot, so I was wondering if there were any video tutorials or something? I found one video of an Australian guy using TOT, but he seemed to be stumbling through it as though he was still learning how to use it.

πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/Taqwacore
πŸ“…︎ Jun 21 2017
🚨︎ report
[1810.04255] Efficient Trajectory Optimization for Robot Motion Planning arxiv.org/abs/1810.04255
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/ihaphleas
πŸ“…︎ Oct 12 2018
🚨︎ report
The Evolutionary Mission Trajectory Generator vs. KSP Trajectory Optimization Tool? Would EMTG even work for KSP?

I stumbled across an article about the "Evolutionary Mission Trajectory Generator" ( http://www.nasa.gov/content/goddard/nasa-technologist-makes-traveling-to-hard-to-reach-destinations-easier/#.V1GNRZOLRPU ) and remembered that I had read about the similar thing that Arrowstar made for KSP, KSP Trajectory Optimization Tool. Would it be possible to fire up the EMTG for the kerbin system too? Does it do things in a much different way than the KTOT? I just thought it was interesting and I'm sure some of you have thought about it.

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/NickForCabbage
πŸ“…︎ Jun 03 2016
🚨︎ report
Version v1.1.9 of the KSP Trajectory Optimization Tool is released! forum.kerbalspaceprogram.…
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/Arrowstar
πŸ“…︎ Jan 24 2015
🚨︎ report
Anyone use Trajectory Optimization Tool by Arrowstar? I would love to use it in my current playthrough (current year 1988) but the tutorial I found was over 3 years old.

I found this tutorial but it seems out of date and not specific to RSS. I am currently in 1988 in my playthrough and want to start doing complex flybys to save dv. Never could figure out how to use this thing during previous playthroughs.

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/BEAT_LA
πŸ“…︎ Nov 05 2017
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.