Code Monkey home page Code Monkey logo

Comments (3)

MathewDenny avatar MathewDenny commented on July 4, 2024 6

The expected sequence would be
1.roscore &
2. Run the camera node / dataset
2.cd ORB_SLAM2 && cd Examples && cd ROS && cd ORB_SLAM2
3.export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/cm/ORB_SLAM2/Examples/ROS 4.rosrun ORB_SLAM2 RGBD /home/ORB_SLAM2/Vocabulary/ORBvoc.txt /home/ORB_SLAM2/Examples/RGB-D/TUM1.yaml

The roscore command, which starts the rosmaster, should always be run first before executing any ROS node. Then only will you be able to communicate between your nodes and also a host of other tasks.

I would request you to get the basic intro to ROS first and then continue on.

from orb_slam2.

MathewDenny avatar MathewDenny commented on July 4, 2024

Make sure you are running ROS master before running any ROS node.
rosrun roscore

If the ROS master is running in another machine check/set your ROS_IP and ROS_MASTER_URI environment variables.

export ROS_IP=your_ip
export ROS_MASTER_URI=http://master_ip:11311
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:pathtoORB_SLAM/Examples/ROS

from orb_slam2.

kilimeters avatar kilimeters commented on July 4, 2024

I just turn on a terminal and enter the last orders:
1.cd ORB_SLAM2&& cd Examples&& cd ROS&&cd ORB_SLAM2
2.export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/cm/ORB_SLAM2/Examples/ROS
3.rosrun ORB_SLAM2
What's the ROS master?
PS:could u leave the email adress?

在 2016-03-22 09:28:17,"Denny Mathew" [email protected] 写道:

Make sure you are running ROS master before running any ROS node.
rosrun roscore

If the ROS master is running in another machine check your check/set your ROS_IP and ROS_MASTER_URI environment variables.

export ROS_IP=;export ROS_MASTER_URI=http://:11311;export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}://Examples/ROS


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

from orb_slam2.

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.