Git Product home page Git Product logo

Comments (11)

petrapa6 avatar petrapa6 commented on May 24, 2024 1

Hello,
you definitely need to add manually all the data you want to visualize in RVIZ on your own. I believe using the RVIZ GUI is intuitive and straightforward, and does not need any more explanation. I can point you to http://wiki.ros.org/rviz for more information.

If you have an unrelated question to this issue, please either open a new issue or use discussions. Closed issues and PRs are no place for unrelated questions.

Best, Pavel

from mrs_uav_system.

DanHert avatar DanHert commented on May 24, 2024

http://letmegooglethat.com/?q=rplidar

But jokes aside, it is a rplidar A3 - https://www.slamtec.com/en/Lidar/A3

from mrs_uav_system.

Gaoyuan-Liu avatar Gaoyuan-Liu commented on May 24, 2024

Hey Dan,
Sorry about the silly question. Yes, I also googled that but wanted to make sure ;)
And could you please also give some information about what sensor/camera you are using currently to achieve obstacle avoidance, I also saw a long list in the urdf file about sensor/camera, but which one (or combinations for data fusion maybe) you will recommend using on a real-world drone (let's say F450 this time)? And what's the consideration of your preference?

Thanks again!

from mrs_uav_system.

DanHert avatar DanHert commented on May 24, 2024

On our F450s, we use the rplidar for obstacle avoiodance. It is only a planar sensor, but that is enough in some enviroments.
In more cluttered environments, we are using 3D lidars (mostly Ouster OS0), complemented by stereocameras (Intel Realsense).

Dan H.

from mrs_uav_system.

Gaoyuan-Liu avatar Gaoyuan-Liu commented on May 24, 2024

Hey Dan,
I'm trying to use octomap to do mapping and path planning.
Is there any camera/sensor plugin written in urdf can generate /sensor_msgs/PointCloud2 data?

Thanks for your help.

from mrs_uav_system.

DanHert avatar DanHert commented on May 24, 2024

Hello!
You can use a 3D lidar in the simulation (add "--enable-velodyne" into the spawn command in simulation session file). It will output PointCloud2 directly.
Alternatively, you can use a simulated stereocamera ("--enable-realsense-front" other orientations available) which will give you a depth image, but that can be converted to PC2 with http://wiki.ros.org/depth_image_proc
The LaserScan data from rplidar can be also converted to PC2, with http://wiki.ros.org/laser_geometry

cheers, Dan H.

from mrs_uav_system.

Gaoyuan-Liu avatar Gaoyuan-Liu commented on May 24, 2024

Hey Dan,
Thanks a lot for your response!
I just tried "--enable-velodyne", indeed, it can give a PC2 topic but there is an error in rviz:
"Message
Data size (333750 bytes) does not match width (0) times height (1) times point_step (25). Dropping message."

Maybe I also need some configuration before I use it directly?

Thanks!

from mrs_uav_system.

DanHert avatar DanHert commented on May 24, 2024

Yeah, looks like we have some bug there. Switch to "--enable-ouster" instead of velodyne, that one should work normally.

Cheers, Dan H.

from mrs_uav_system.

WingRS avatar WingRS commented on May 24, 2024

Hi all,
@DanHert have you been able to test the velodyne in RviZ?

from mrs_uav_system.

petrapa6 avatar petrapa6 commented on May 24, 2024

Hi,

velodyne was fixed in 297f0ba.

from mrs_uav_system.

ZhiWei20011 avatar ZhiWei20011 commented on May 24, 2024

Hi, after adding the "--enable-realsense-front" to the simulation command, how can I see the image from rviz? Do I need to change some settings in rviz? Appreciate any answers. Thank you.

from mrs_uav_system.

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.