Giter Club home page Giter Club logo

Comments (13)

rohbotics avatar rohbotics commented on June 18, 2024 12

You need to run the source install_isolated/setup.bash command in every terminal that you want to use cartographer in. This could be documented better.

from cartographer_ros.

damonkohler avatar damonkohler commented on June 18, 2024

Sounds like you didn't build everything first?

from cartographer_ros.

carl1218 avatar carl1218 commented on June 18, 2024

I am completely in accordance with the latest version of the tutorial.

from cartographer_ros.

carl1218 avatar carl1218 commented on June 18, 2024

Thank you,it was my mistake,i have run the
echo "source ~/install_isolated/setup.bash" >> ~/.bashrc
source ~/.bashrc

But,when i was running 2d demo bag, I get another erro:
[cartographer-3] process has died [pid 4946, exit code -6, cmd /home/robot/catkin_ws/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/robot/catkin_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_2d.lua echoes:=horizontal_laser_2d __name:=cartographer __log:=/home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3.log].
log file: /home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3*.log

from cartographer_ros.

carl1218 avatar carl1218 commented on June 18, 2024

@rohbotics ,hi,I get another erro:

cartographer_node: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:78: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = double; int Size = 4; int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(eigen_unaligned_array_assert_workaround_gcc47(array)) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ***_"' failed.
[cartographer-3] process has died [pid 4946, exit code -6, cmd /home/robot/catkin_ws/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/robot/catkin_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_2d.lua echoes:=horizontal_laser_2d __name:=cartographer _log:=/home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3.log].
log file: /home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3
.log

from cartographer_ros.

wohe avatar wohe commented on June 18, 2024

Sounds like an alignment issue. Are you running on a 32-bit system? I'm asking because it should not be an issue on 64-bit systems. If you're not: processor? OS? compiler?

from cartographer_ros.

damonkohler avatar damonkohler commented on June 18, 2024

@carl1218 I'm closing this issue now since it seems clear that this is an alignment issue from running on 32-bit. This incompatibility is now documented in our system requirements.

from cartographer_ros.

dadawang avatar dadawang commented on June 18, 2024

I was running 2D demo bag and got this issue:

  • ERROR: cannot launch node of type [robot_state_publisher/robot_state_publisher]: robot_state_publisher
    ROS path [0]=/opt/ros/indigo/share/ros

from cartographer_ros.

wohe avatar wohe commented on June 18, 2024

This doesn't seem Cartographer related: See http://answers.ros.org/questions/
That said: Did you follow our installation instructions? Is ros-indigo-robot-state-publisher installed on your system? Did you source /opt/ros/indigo/setup.bash?

from cartographer_ros.

herogan2017 avatar herogan2017 commented on June 18, 2024

hello, when I run 2d-demo on my computer,found following errors. Can you me tell me why? thanks.

[ERROR] [1550813350.043405211, 1432647018.956007067]: PluginlibFactory: The plugin for class 'Submaps' failed to load. Error: According to the loaded plugin descriptions the class Submaps 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

from cartographer_ros.

 avatar commented on June 18, 2024

@herogan2017 Have you solved the problem? I just got the same problem, but I have already sourced the setup.bash.

from cartographer_ros.

TSRyan avatar TSRyan commented on June 18, 2024

I had the same error message as @herogan2017, and this thread was the top hit on Google. In my case, I had built only the cartographer_ros package, neglecting to build the cartographer_rviz package. After building cartographer_rviz and sourcing the proper setup.bash, it worked fine.

from cartographer_ros.

jankin1024 avatar jankin1024 commented on June 18, 2024

@herogan2017 I met this question just now. It needs run command "sudo apt-get install ros-kinetic-cartographer_rviz" to use rviz in this process. and now it works fine. By the way, the cartographer package can be install directly now.

from cartographer_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.