Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use pedsim? #61

Open
aghorbani96 opened this issue Aug 19, 2020 · 5 comments
Open

How to use pedsim? #61

aghorbani96 opened this issue Aug 19, 2020 · 5 comments

Comments

@aghorbani96
Copy link

I'm researching pedestrian dynamics and I'm new with ROS & Rviz, when I execute the launch file(e.g simple_pedestrians.launch) I encounter the empty Rviz window with no object. I would be grateful if you help me with how to use pedsim. (preferably with a sample example)

Thanks

Rviz

@aghorbani96
Copy link
Author

Error in cmd when launching simple_pedestrians.launch:

PARAMETERS

  • /pedbot/control/driving_controller/pose_initial_theta: 0.7
  • /pedbot/control/driving_controller/pose_initial_x: 5.0
  • /pedbot/control/driving_controller/pose_initial_y: 5.0
  • /pedsim_simulator/default_queue_size: 10
  • /pedsim_simulator/enable_groups: True
  • /pedsim_simulator/max_robot_speed: 1.5
  • /pedsim_simulator/robot_mode: 1
  • /pedsim_simulator/scene_file: C:\pedworkspace\s...
  • /pedsim_simulator/simulation_factor: 1.0
  • /pedsim_simulator/update_rate: 25.0
  • /rosdistro: melodic
  • /rosversion: 1.14.6

NODES
/
pedsim_simulator (pedsim_simulator/pedsim_simulator)
pedsim_visualizer (pedsim_visualizer/pedsim_visualizer_node)
rviz (rviz/rviz)
/pedbot/control/
driving_controller (pedsim_simulator/simulate_diff_drive_robot)

auto-starting new master
process[master]: started with pid [4236]
ROS_MASTER_URI=http://127.0.0.1:11311
setting /run_id to 4a67a58f-e2c6-11ea-8fe7-ac2b6e803a36
process[rosout-1]: started with pid [10032]
started core service [/rosout]
�[31mERROR: cannot launch node of type [pedsim_simulator/pedsim_simulator]: Cannot locate node of type [pedsim_simulator] in package [pedsim_simulator]. Make sure file exists in package path and permission is set to executable (chmod +x)�[0m
�[31mERROR: cannot launch node of type [pedsim_simulator/simulate_diff_drive_robot]: Cannot locate node of type [simulate_diff_drive_robot] in package [pedsim_simulator]. Make sure file exists in package path and permission is set to executable (chmod +x)�[0m
�[31mERROR: cannot launch node of type [pedsim_visualizer/pedsim_visualizer_node]: Cannot locate node of type [pedsim_visualizer_node] in package [pedsim_visualizer]. Make sure file exists in package path and permission is set to executable (chmod +x)�[0m
process[rviz-5]: started with pid [11764]
[ERROR] [1597916556.850507800]: PluginlibFactory: The plugin for class 'spencer_tracking_rviz_plugin/TrackedPersons' failed to load. Error: Could not find library corresponding to plugin spencer_tracking_rviz_plugin/TrackedPersons. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1597916556.864185400]: PluginlibFactory: The plugin for class 'spencer_tracking_rviz_plugin/TrackedGroups' failed to load. Error: Could not find library corresponding to plugin spencer_tracking_rviz_plugin/TrackedGroups. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.

@makokal
Copy link
Member

makokal commented Sep 8, 2020

What versions of ROS, ubuntu are you using?

@aghorbani96
Copy link
Author

I'm using melodic for windows.

@mengxingshifen1218
Copy link

hello,I have same question, how to solve?

@makokal
Copy link
Member

makokal commented Nov 30, 2021

Can you share the output of compiling the packages successfully. It seems that you have not build all the packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants