This ros package is derived from the ORCA library (lib).
git clone https://github.com/hanruihua/rvo_ros.git
cd ~/catkin_ws
catkin_make
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:~/catkin_ws/devel/lib
Please write this line in the file .bashrc or .zshrc
rosrun rvo_ros rvo_node args
args: the coordinates of init point. default 0,1 0,2 ...0 10
for example:
rosrun rvo_ros rvo_node 0 1 0 2 0 3
roslaunch rvo_ros rvo_gazebo_agent.launch
Note: Using service to set the model and goals.
rosrun rvo_ros set_goals_client
arguments:
example:
rosrun rvo_ros set_goals_client default 1 1 1 4 4 4 4 1
rosrun rvo_ros set_goals_client random 0 5 1 4
rosrun rvo_ros set_goals_client circle 4 4 4 0
/rvo/model_states (gazebo_msgs/ModelStates)
attention: To avoid the model confusion, only the model name which is like the 'agent+num' style, for example, agent1, agent2, can be regarded as the agent model.
/rvo_vel (gazebo_msgs/WorldStates)
Note: only the speed in x, y direction of each agent calculated from the rvo are set in the WorldStates twist part.
Han - Han
This project is licensed under the MIT License
The approach for reciprocal n-body collision avoidance, where multiple mobile robots need to avoid collisions with each other while moving in a common workspace.
Assumption:
Advantage:
Limitation: