carlosluis / multiagent_planning

Implementation of several multiagent trajectory generation algorithms
GNU General Public License v3.0
84 stars 23 forks source link

Is there any document? #1

Closed USTfgaoaa closed 5 years ago

USTfgaoaa commented 5 years ago

Dear sir,

Thank you for sharing your code. Could you please provide a simple doc about how to use this repo?

carlosluis commented 5 years ago

Hi,

Thanks for your interest. I plan to update the readme with more instructions in the future, however right now I have my hands full with other projects.

To start using this repo I can at least point you to the "main" files you could execute to test the different algorithms.

cupSCP -> Execute the script cup-SCP/cupSCP.m dec-iSCP -> Execute the script dec-iSCP/decSCP.m DMPC -> Execute the script dmpc/matlab/dmpc_soft_bound2.m

In each of those scripts you can modify the characteristics of the agents (max acceleration, collision radius), as well as the transition task itself (number of agents, initial and final positions, etc.). In each script the first block those all the configurations, the second block executes the algorithms and the third block allows you to visualize the resulting trajectories.

For DMPC there's also a CPP library although that one requires you to correctly setup several QP solver libraries: eigen-quadprog (easiest to set up), OOQP and CPLEX. You can probably modify the CMakelist to just use one of those solvers. In the future I'll make it more customizable on that sense.

Hope that helps

USTfgaoaa commented 5 years ago

@carlosluisg Thanks a lot !