Giter Site home page Giter Site logo

hxj0316 / ant_colony_algorithms_for_multi_agents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yaominjun/ant_colony_algorithms_for_multi_agents

0.0 0.0 0.0 67 KB

this is a multi-agent algorithm in task planning level based on ant colony algorithms.

ant_colony_algorithms_for_multi_agents's Introduction

Ant Colony Algorithms for Multi-agent talk planning

build

catkin_make

execute

roscore
rosrun acolanner aco_planner_talker
rosrun acolanner aco_planner_listener
rosrun aco_planner aco_planner_node

explanation

(1) aco_planner_talker
publish all the task points that multiple agents need to arrive.

(2) aco_planner_listener
subscribe the result that ant colony algorithms compute.

(3) aco_planner_node
core code to compute the result based on ant colony algorithms.

parameters

the map:
(now is a blank map)

m_srcImg = cvLoadImage("src/aco_planner/src/m_planImg.jpg",-1);         //把原始图形读进m_srcImg

空白地图

the task nodes:

std::string full_path = ros::package::getPath("aco_planner") + "/src/Nodes.txt";

results

the task points that each agent need to go:

the planning path for each agent need to go, and different color indicates different agent:

while other process files can be found in src/aco_planner/Debug folder.

Thanks

Friend fshi2006.

ant_colony_algorithms_for_multi_agents's People

Contributors

yaominjun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.