Comments (6)
Ok just found out why.
The remap in the launch file was the problem.
I just commented this line out:
<remap from="/camera/image_raw" to="/camera/color/image_raw" />
from orb_slam_2_ros.
@MrMinemeet I tried to comment, and it yields to a crash.
[orb_slam2_mono-1] process has died [pid 19197, exit code -11, cmd /home/barov/b_ws/devel/lib/orb_slam2_ros/orb_slam2_ros_mono __name:=orb_slam2_mono __log:=/home/barov/.ros/log/24494d26-4e4b-11ed-bdfa-18c04d905575/orb_slam2_mono-1.log]. log file: /home/barov/.ros/log/24494d26-4e4b-11ed-bdfa-18c04d905575/orb_slam2_mono-1*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done
I tried to publish directly to '/camera/rgb/image_raw' and i've got the same crash error.
¿Do you have some advice?
from orb_slam_2_ros.
Can you verify that your cam node is publishing the topic your orb_slam is subscribing to?
from orb_slam_2_ros.
@lennarthaller according to the documentation the ORB-SLAM2 should subscribe to /camera/image_raw
which the camera is publishing.
When using RQt and selecting /camera/image_raw
I can see the video stream without a problem
from orb_slam_2_ros.
I dont know how your launch file looks. What does rostopic list say?
I cannot imagine a reason why the node would not subscribe other then missconfiguration.
from orb_slam_2_ros.
I mainly worked with it over the summer holidays, and this was already a few years back. If I remember correctly, there was a way to see all listening and providing services. Maybe testing out some, which make sens, may work.
from orb_slam_2_ros.
Related Issues (20)
- orb_slam2_ros orb_slam2_d415
- Visualize and save the trajectory HOT 2
- Tf has two or more unconnected trees HOT 3
- no image received using realsense d435i and orb_slam2_d435_rgbd.launch HOT 1
- catkin build fails (Melodic) HOT 2
- Adjust Scale Factor for Metric Conversion
- orb_slam2_ros crashes when camera image topic is available HOT 5
- Slam doesn’t detect movement HOT 2
- How to correctly make a transformation?
- Though the topic name had been aligned, but still not subscribe. HOT 1
- Pose topic very inacurate - D435i
- Using Pointcloud Map.bin outside orbslam
- "If I want to test using a dataset, what should I do?"
- Im not able to receive the image
- colcon build failed undefined reference to `DUtils::Random::SeedRandOnce()' <ORB_SLAM3_ROS2> HOT 1
- how to build from source on aarch64, opencv 4.* - FAQ
- cant start with ROS2 - Wrong path to vocabulary
- camera_frame_id_param_ and target_frame_id_param_: correspond to what frame exactly?
- Compatibility with ROS2 Humble
- No rule to make target (libg2o.so), Failed to build orb_slam3_ros
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_slam_2_ros.