Comments (14)
Hey @MontyTHall. Seems that’s a problem with recent version of RViz. Just change the camera_init frame on rviz from /camera_init to //camera_init. That solved my problem.
from loam_velodyne.
I tried to change "/camera_init" to "//camera_init" but it doesn't work, with terminal warning "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:"
However changing "/camera_init" to "camera_init" can solve this problem.Hi yqmy0814,
Can you please explain where do I have to go for making this change, in Rviz window only or some config file?
I am getting the same error "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:". Please help me out here.
You will try it.
case 1) Change [Global Options] - [Fixed Frame] at the Displays tap of Rviz.
Change "camera_init" to "//camera_init". but, when I tried case 1), you must be always tried it.
case 2) Change the code.
You search "/ into the loam code. you should change the code.(LaserMapping.cpp, LaserOdomertyr.cpp, TransformMaintenance.cpp)
ex) LaserMapping.cpp - LaserMapping::LaserMapping(const float& scanPeriod, const size_t& maxIterations)
odomAftMapped.header.frame_id = "/camera_init"; --> odomAftMapped.header.frame_id = "camera_init";
from loam_velodyne.
Could it be because of the broadcaster rate, seen below:
frames.pdf
from loam_velodyne.
Hi @mberrey how did you fix that? Thanks.
from loam_velodyne.
@laurojljunior , yes, I'm in the same boat as you. @mberrey did you find a solution?
from loam_velodyne.
@laurojljunior great, I can see the odometry path. but I can't seem to see the point cloud. You get a point cloud?
from loam_velodyne.
@MontyTHall Hi, i got the same problem. Did you find a solution to get the point cloud?
from loam_velodyne.
@wrotcat, no I still cannot see the point cloud.
from loam_velodyne.
@MontyTHall Hey. Maybe you could 'catkin_make' it again, and change /camera_init to //camera_init. I don't know what happened exactly but the point clouds work now.
from loam_velodyne.
I was having a problem visualizing the data in RVIZ in a branch my lab uses LeGO-LOAM. On the jack-devel branch you can see how I removed all of the forward slashes from the hard coded tf frames in a commit I made today. Rebuild after making those changes and it worked like a charm.
This may not be the best way to solve the problem, but as I understand it the ROS tf tree is moving away from the forward slash. I hope someone here could provide some more clarity on that or give a better solution to this problem then doing "//camera_init".
from loam_velodyne.
@MontyTHall I was in the same situation and by running 'catkin_make -DCMAKE_BUILD_TYPE=Release' solved my case. I forgot the option last time.
from loam_velodyne.
I tried to change "/camera_init" to "//camera_init" but it doesn't work, with terminal warning "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:"
However changing "/camera_init" to "camera_init" can solve this problem.
from loam_velodyne.
I tried to change "/camera_init" to "//camera_init" but it doesn't work, with terminal warning "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:"
However changing "/camera_init" to "camera_init" can solve this problem.
Hi yqmy0814,
Can you please explain where do I have to go for making this change, in Rviz window only or some config file?
I am getting the same error "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:". Please help me out here.
from loam_velodyne.
Hey @MontyTHall. Seems that’s a problem with recent version of RViz. Just change the camera_init frame on rviz from /camera_init to //camera_init. That solved my problem.
How to save cameras pose?
from loam_velodyne.
Related Issues (20)
- Can someone tell me where I can download the testing bag nsh_indoor_outdoor.bag? HOT 2
- Transformation data for robot_localization
- How can this loam build a completed map? HOT 1
- Some questions about system performance HOT 4
- No Point Cloud Showed in Rviz HOT 5
- Segmentation Fault on "multiScanRegistration" node HOT 5
- Questions about the interpolation of laser point. HOT 3
- VLP16 rosbag not longer avaliable HOT 3
- compute the curvature HOT 4
- Question about relSweepTime and _imuPositionShift HOT 1
- Questions about BasicLaserOdometry HOT 1
- Why only for velodyne? How about point cloud from realsense?
- memory buildup with outdoor lidar scan
- VLP-16 rosbag example link is broken
- VLP-16 rosbag example link is broken
- Build error: flann error? HOT 1
- Compatibility on ROS Noetic (Ubuntu 20.04)
- Hey @MontyTHall. Seems that’s a problem with recent version of RViz. Just change the camera_init frame on rviz from /camera_init to //camera_init. That solved my problem.
- proscess has died
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 loam_velodyne.