Comments (1)
Dear @frontw ,
consult me how could I set up drone physical constraints
There are two ways. Either use the linear optimizer without constraints and then check the constraints of the trajectories using https://github.com/ethz-asl/mav_trajectory_generation#checking-input-feasibility . Or use the non-linear optimizer and set maximum magnitude constraints on velocity, acceleration, jerk or snap https://github.com/ethz-asl/mav_trajectory_generation#nonlinear-optimization .
maximum horizontal velocity;
maximum and minimum vertical velocity;
The current implementation only allows checking for the absolute maximum velocity, both in the non-linear and the posterior feasibility check.
maximum horizontal acceleration;
maximum and minimum vertical acceleration;
Same for the acceleration, we only check for the magnitude. Note that we assume a rigid body model and vertical props. Acceleration only occurs in the thrust direction of the props and the gravitational acceleration.
maximum height and flight distance.
You can check a segment for maximum flight height using the half space feasibility check. Flight distance is currently not implemented. But you could implement a method that computes the flight distance of a segment.
There is also addConstraint function and I could set constraints on different derivative_order, but, I think, it is equality constraint, not inequality.
I belief you are referring to
opt.addMaximumMagnitudeConstraint(mav_trajectory_generation::derivative_order::VELOCITY, v_max);
.
The constraints are handled as a soft constraint in the cost function of the optimization (see Burri et al.). Thus they act like inequality constraints. However, the time of the segment is minimized such that most of the time one of the constraints will be met.
Hope I could help.
from mav_trajectory_generation.
Related Issues (20)
- Documentation neglects to mention certain installation dependencies HOT 1
- Segment Cost computation HOT 1
- omav reference angular acceleraion HOT 2
- time budget
- Message type conflict: PolynomialTrajectory with PolynomialTrajectory4D HOT 1
- Missing dependency to yaml_cpp_catkin HOT 1
- reaching maximum velocity as soon as possible HOT 2
- Isolated build fails
- undefined reference to `YAML::detail::node_data::push_back(YAML::detail::node&, boost::shared_ptr<YAML::detail::memory_holder>)' HOT 1
- How do I update the planner in example.launch? HOT 1
- Can't roslaunch HOT 1
- After adding a few more waypoints, the example does not work HOT 1
- catkin_build problem
- Issues on step catkin build mav_trajectory_generation_ros
- wrong number of all constraints
- Can we add nonholonomic constraints in this optimization problem? HOT 1
- Installation on Noetic HOT 1
- What's the meaning of the orange line?
- Create sub-trajectory from a computed trajectory
- Help: trajectory generator always gives a straight line instead of curve
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mav_trajectory_generation.