Closed SamHSlva closed 4 years ago
For "git submodule update --init --recursive". I think you need to save your public ssh key in your git account to get access rights.
Thank you, even adding my public-key it did not work. I was able to work around that by individually cloning the folders 2nd and 3rd part.
I have deleted the package, catkin_make clean
, cloned and recompiled the entire workspace. Still, I am having errors. It seems that everything points to spencer tracking and the plugin to Rviz. I have even tried compiling rviz from sources but it does not help. Does anyone has any suggestion?
Error: According to the loaded plugin descriptions the class spencer_tracking_rviz_plugin/TrackedPersons with base class type rviz::Display does not exist.
I am using Ubuntu 16.04 with ROS Kinetic.
Try rospack find spencer_tracking_rviz_plugin
after sourcing your devel workspace, and see if it is able to find the plugin.
Hello, I am running Ubuntu 18.04 with ROS Melodic. I had similar issues with spencer_tracking_rviz_plugin. The screen print is attached below. Could you help figure out it?
By the way, I use "catkin_make" instead of "catkin build -c". I installed qt5 and qt4, but qt4 was used here. Thanks in advance.
I needed to change each shared_ptr in there with boost::shared_ptr. You can do it with one long command. You can search it. But I actually thought that that was not a good solution and made me think maybe there is a problem with the compiler but yet I couldn't solve it otherwise.
We've only tested the plugin up to Ubuntu 16.04/ROS Kinetic, so it might very well be the case that some Rviz header files were changed in Melodic, causing these errors (maybe they removed a using namespace boost
in a header file that we depend on, or something similar). Or it is due to a newer Boost or STL version on 18.04.
Yeah but even though I compiled it somehow, simple_pedestrian.launch still doesn't really work. And I also tried to change the version of c++ compiler and Boost library but I couldn't make it work. It would be great if you could somehow help us. Because if I want to convert to ROS Kinetic it might still not work because of the newer versions of Boost already installed.
I also had this issue. My workspace: Ubuntu 18.04 LTS + melodic
I solved this problem as following: I don't know why catkin_make don't find and build spencer_tracking_rviz_plugin (in pedsim_ros/2ndparty folder). So I manually built it seperately
$ catkin_make --only-pkg-with-deps spencer_tracking_rviz_plugin
After building completely, I tested:
$ roslaunch pedsim_simulator simple_pedestrians.launch
The result is ok.
Thanks for adding the solution here
Thanks the solution of @rocket42 . It worked for me.
I am running on Ubuntu 16.04, with ROS Kinetic.
Whenever I try the installation step:
git submodule update --init --recursive
I run in the following error:`Cloning into '2ndparty/spencer_messages'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:spencer-project/spencer_messages.git' into submodule path '2ndparty/spencer_messages' failed`
Even though, I moved forward, and catkin_make, the working space has compiled with no errors.
Whenever I try,
roslaunch pedsim_simulator simple_pedestrians.launch
, RViz opens but only the limits of the environment open. I have the following error:[ERROR] [1538608123.222584045]: PluginlibFactory: The plugin for class 'spencer_tracking_rviz_plugin/TrackedPersons' failed to load. Error: According to the loaded plugin descriptions the class spencer_tracking_rviz_plugin/TrackedPersons with base class type rviz::Display does not exist. Declared types are rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/WrenchStamped rviz_plugin_tutorials/Imu