Comments (3)
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.
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.
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)
- I am getting this error while building the ORB_SLAM2 file please help.. I m running this on NVIDIA JETSON ORIN NANO
- Build failed on Ubuntu 22.04 and ros2 humble
- Stereo baseline of Da Vinci Xi surgical robot
- camera postion please ?
- Why not do `mpCurrentKeyFrame->AddMapPoint(pMP, i)` after `pMP->AddObservation(mpCurrentKeyFrame, i)` during LocalMapping::ProcessNewKeyframe ?
- KeyFrameTrajectory.txt?
- Fix cmake to work with new version of opencv please? I have 4.5.4 HOT 1
- Program does not go forward after initialization while doing rgb-d example.
- compilation issue -- ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or HOT 2
- Running Stereo Node Error
- /usr/bin/ld: Cannot find -lEigen3::Eigen
- When using a undistored image as input image
- C++ Version and OpenCV version
- Gazebo and ORBSLAM
- Run Tracking, Local Mapping, and Loop Closure on a single thread
- makefile found - problem
- Error when using RGBD mode with depth obtained by monocular depth estimate
- Use forward declaration in header but also include corresponding header file at same time HOT 1
- fatal error: opencv2/photo/photo_c.h: 没有那个文件或目录 HOT 1
- When I run './build.sh', I made an error like ‘recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/FrameDrawer.cc.o' failed’
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orb_slam2.