micros_hopfield package from micros_hopfield repo


Package Summary

Tags No category tags.
Version 0.0.3
License TODO
Build type CATKIN

Repository Summary

Checkout URI https://github.com/micros-uav/micros_hopfield.git
VCS Type git
VCS Version master
Last Updated 2016-10-19
CI status No Continuous Integration
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package for path planning

Additional Links

No additional links.


  • Tianjiang Hu


  • Xiaojia Xiang


We are pleased to announce a new package for path planning, an implementation of a specified Hopfield neural network based approach. Its source code is available now.

The package aims to give an optimal path for an agent to get its destination in an obstacle environment. The agent starts from a random position except the barrier area in the map, and then generates a feasible path to its destination while avoiding all the obstacles. Furthermore, it can support multiple agents to plan in the map.

There are two cpp files in this package: Plan_client.cpp and Plan_server.cpp .

System Requirements

  • Ubuntu 14.04
  • ROS indigo


with catkin

cd catkin_ws/src
git clone http://github.com/491734045/micros_hopfield
cd ..

Quick Start

  • Setup rviz
roscore & rosrun rviz rviz

Set the config parameter in rviz : File-open config-user.rviz

-Open a new consol for sever. Set up environment variables

source devel/setup.bash

Note: Run this command under ~/catkin_ws directory. - Run Server Node

rosrun micros_hopfield plan_server

Note: Run this command under ~/catkin_ws directory, due to loading the terrain map.

-Open a new consol for client. Set up environment variables

source devel/setup.bash

Note: Run this command under ~/catkin_ws directory. - Run Client Node

rosrun micros_hopfield plan_client i

where i is the client ID, i = 1,2,3...

Note: Run different clients in independent terminal

  • Demo demo_micros_hopfield

  • The green texture presents a terrain with different altitude.

  • The blue cylinder is an obstacle.

  • The red and blue lines are the pathes generated for two different agents.

Note: The package is inspired by and adapted from [1]. Related details about neural network based path planning may also be found in [2], [3] and [4]. - [1] Chonghong Fan, Youzhang Lu, Hong Liu, Shangteng Huang. Path planning for mobile robot based on neural networks. Computer Engineering and Application, 2004, 8: 86-89. (in Chinese) - [2] Roy Glasius, Andrzej Komoda, Stan C.A.M. Gielen. Neural network dynamics for path planning and obstacle avoidance. Neural Networks, 1995, 8(1):125-133. - [3] Simon X. Yang, Max Meng. An efficient neural network approach to dynamic robot motion planning. Neural Networks, 2000, 13(2):143-148. - [4] Simon X. Yang, Max Meng. Neural network approaches to dynamic collision-free trajectory generation. IEEE SMC Part B, 2001, 31(3): 302-318.


Changelog for package micros_hopfield

0.0.3 (2016-10-19)

  • 0.0.1
  • Contributors: 491734045

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

Deps Name
1 catkin

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found


No message files found.



No plugins found.

Recent questions tagged micros_hopfield at answers.ros.org