Comments (5)
I think a good workaround is to simply generate multiple trajectories - this way you can also control (in your high-level code) how long the pause should be. In the library that is used here, it is also possible to add constraints on derivatives, i.e., you could force the velocity to be zero at a certain waypoint. However, since the timing is computed automatically based on the dynamic limits of your quadrotor, this would not result in a user-configurable pause.
from uav_trajectories.
Hi @whoenig
Just some feedbacks & questions here.
I have some waypoints generated from Blender, where it defines what time to be at what coordinate
Here's a csv of the path shown above
sequence_000.zip
It has: Timestamp (100ms interval), x,y,z (absolute) and r, g, b
Can this lib be easily extended to also meet time constraints?
from uav_trajectories.
This tool is not made for this purpose. The problem you are describing is actually simpler (mathematically speaking): a trajectory is just another representation of positions (and higher order derivatives) over time. It looks like Blender already generated some smooth curve (e.g., Bezier curve?). All you would need to do is to export the curve itself and convert it the trajectory format (8th order polynomial spline) that is used for the Crazyflie. This repository here deals with the problem of finding timing information if only the waypoints are known.
from uav_trajectories.
This tool is not made for this purpose. The problem you are describing is actually simpler (mathematically speaking): a trajectory is just another representation of positions (and higher order derivatives) over time. It looks like Blender already generated some smooth curve (e.g., Bezier curve?). All you would need to do is to export the curve itself and convert it the trajectory format (8th order polynomial spline) that is used for the Crazyflie. This repository here deals with the problem of finding timing information if only the waypoints are known.
Hi Whoenig,
I would like to use timestamped Cartesian coordinates to generate 8th order polynomials like NicksonYap showed in his CSV and i don't know how to do this. Is this something you can elaborate on?
from uav_trajectories.
@J-Durotifa so far this is not handled by this repo, nor was it the goal for creating Trajectories
Assuming you use Crazyflie, for now we can only use Crazyflie's Timescale to speed up or slow down the whole Trajectory (a chain of polynomials)
It's equivalent to this repo's 'stretchtime' argument in:
https://github.com/whoenig/uav_trajectories/blob/master/scripts/plot_trajectory.py
For more details on possible workarounds, See:
#3
from uav_trajectories.
Related Issues (14)
- Question about build HOT 4
- CMake Issue - nlopt.hpp HOT 3
- WARNING: Logging before InitGoogleLogging() is written to STDERR HOT 2
- Drone swarm formation path-planning for collision avoidance. HOT 6
- Circle trajectory for less than 5 crazyflies
- What made Trajectories capable to control more CF? HOT 1
- What is in waypoints1.csv? HOT 1
- Help in generating the trajectory in run time based on getting target points and obstacles around HOT 1
- Timed Trajectories for Multi-UAVs HOT 1
- How to translate the trajectory I want to design into .csv format HOT 7
- Find a way to project the trajectory into 2-D plot
- Time allocation in trajectory design HOT 1
- Generated trajectories have discontinuities HOT 4
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 uav_trajectories.