pedsim_ros icon indicating copy to clipboard operation
pedsim_ros copied to clipboard

Social drive robot mode not working

Open sasilva1998 opened this issue 3 years ago • 3 comments

I am assigning the robot the following configuration with waypoints with robot_mode equal to 2 but it does not move according to the social forces model, does anyone have an idea why?

<!--robot-->
  <agent x="0" y="0" n="1" dx="0" dy="0" type="2">
    <addwaypoint id="office4"/>
    <addwaypoint id="office3"/>
  </agent>

sasilva1998 avatar Apr 13 '21 12:04 sasilva1998

I am assigning the robot the following configuration with waypoints with robot_mode equal to 2 but it does not move according to the social forces model, does anyone have an idea why?

<!--robot-->
  <agent x="0" y="0" n="1" dx="0" dy="0" type="2">
    <addwaypoint id="office4"/>
    <addwaypoint id="office3"/>
  </agent>

Have you done this yet? I am also having the same problem

ThaiLe79 avatar Jul 07 '21 16:07 ThaiLe79

i haven't been able to solve it, for my purpose I just started to write my own python code to calculate the forces and control a robot I have.

sasilva1998 avatar Jul 08 '21 14:07 sasilva1998

I see the topic "/pedsim_simulator/robot_position". I thought it would be possible to write a node to use the information in this topic to control the robot I have. Do you do the same?

ThaiLe79 avatar Jul 24 '21 01:07 ThaiLe79