Giter Site home page Giter Site logo

lucasw / rviz_camera_stream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uml-robotics/rviz_camera_stream

54.0 7.0 41.0 123 KB

Custom rviz camera plugin that published rendered camera video stream

License: BSD 3-Clause "New" or "Revised" License

CMake 7.55% C++ 92.45%

rviz_camera_stream's Introduction

rviz_camera_stream

Custom rviz camera plugin that publishes rendered camera video stream

rviz_camera_stream's People

Contributors

florent-lamiraux avatar johnwason avatar jwendelmuth avatar lucasw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rviz_camera_stream's Issues

Blue and Red Inverted

I am not sure if this is an issue that happens only with me, but red and blue were inverted in the rendered image. I fixed this by changing lines 144 and 146 of camera_display.cpp.
I've exchanged RGB8 for BGR8, and RGBA8 for BGRA8, and problem was fixed after that.

overlay of background over image flickering

in rviz you can overlaiy objects as costmaps or point clouds ,with this pkg too, but the camera image make flickering, is possible fix this to work as in rviz?
Im begginer, I want stream via http or rtsp that kind of images, and only way I found is with your pkg and send it via http with web_video_server pkg, some other idea?
a small manual or guide to make your own launch and general use would be nice.
Im in melodic
thank you

Cmake error in 18.04

Hello, I installed the package and after catkin_make it shows this error in the end

[ 25%] Generating include/rviz_camera_stream/moc_camera_display.cpp
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by '/home/adsafe/rosboard_ws/devel/lib/librviz_camera_stream.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 75%] Building CXX object rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/src/camera_display.cpp.o
[ 75%] Building CXX object rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/include/rviz_camera_stream/moc_camera_display.cpp.o
CMakeFiles/Makefile2:1490: recipe for target 'rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/all' failed
make[1]: *** [rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Clean up vestiges of camera_display

Get rid of the input image- could retain the input CameraInfo but need a topic property so it can be set. (otherwise set the fx,fy,cx,cy, width and height through gui?)

Make the topic property controlling the input image set the output image topic instead.

Get rid of alpha, zoom factor, and image rendering.

point cloud stream

Hey guys, is it possible to use this package to publish a sort of 'captured image' of a point cloud topic and publish those?

rviz lights

Be able to disable and change the properties of the light that is sourced with the viewer in the regular rviz render window, and create additional lights that are attached to tf frames and have all light properties exposed (color for ambient, diffisue, specular, etc.).

The first part is really an issue for the main rviz repository, and the second could be a standalone project.

Build in jade

Looks like it was originally meant for a ros version a few years old now.

rviz image topic speed

Hi lucasw,

This is a great package. I am currently using it. However I do have a question about the speed of this package, can it be faster? Currently I see a image topic frequency of 30hz, when I remove all the things there (no subscriber, everything run on one machine), and only has one marker, and one camera. Surprisingly, the speed does not change either I have one or three cameras. So I think there is potential to make it faster. However, I tried several places to tic-tac the system, I could not find the reason why it seems to be bound to 30hz. Maybe you can point me to a direction? I am trying to use this to interface with a user input device so I want to see how fast this can go.

Best Regards,

Xin Liu

ROS Melodic and ROS Kinetic

Which branch can I use for ROS Melodic and ROS Kinetic? If it is not available, what changes can I make so that it could work without much trouble?

Thank you so much

Make the output image match the input width and height

The quick way to do this is to clip the image as necessary to make the aspect ratio right, then resize to desired width and height.

Later replace the render panel with ogre render to texture which would be fixed to the right width and height, and maybe there is no panel display at all, the user could have an Image rviz plugin if they want to see the output.

Segmentation Fault while adding image topic in RVIZ CameraPub

With the /camera_info topic set in RVIZ, I get a Segmentation Fault as soon as I add the image topic in RVIZ. Running RVIZ version 1.14.20 (noetic) compiled against Qt version 5.

Running with gdb shows the following:
Thread 1 "rviz" received signal SIGSEGV, Segmentation fault.

Implementing rviz_camera_stream in rviz Window

Hi everyone,
I'm new to ROS and I'm trying to get an Image from an existing rviz/moveit window.

I can open rviz_camera_stream with the demo.launch file. But I don't know how to modify the code.
I like to implement the stream in another rviz-window. I also would like to move and zoom with the camera.

Could some body help me or tell me where to find a good documentation about this Code?

Greetings

Docker or VMWare

Hello,

This is a great package and very useful for robotics! I am a beginner in ROS and Ubuntu is I challenge to use because of my severe physical disability.

I'm planning to use Docker or VMWare. Is there a docker image or instructions to install in VMWare available with your package?

It will be very helpful as I am a beginner and I truly appreciate.
Thank you

export rviz camera stream to rtsp, http,udp...

Hi, I would like take the rendered (with optpmap last frame in background for example) rviz camera videos,like a webcam video, to stream it over rtps or http if is not possible.
Can your software get that or something similar?

should be cool too can stream the IR cameras of realsense, to get night vision for my rover.

and last thing, Im beginner, how I install your software for melodic,? a small guide should be nice, linux and ros is very difficult for me.

edit:Thank you!!

How to use

Hi Lucas @lucasw ,

Sorry I have a stupid question here, how to use this library? I am still quite new to ROS and would really appreciate your guidance.

Thanks,

Attach to URDF robot link

I tried to attach the camera to a link specified by URDF file in robot_state_publisher
image
As can be seen in the picture, camera1 is attached to arm_box_1 with a static_transform_publisher node, which publishes a transform from arm_box_1 to camera1
However, rviz gives me the following error:
No transform to fixed frame [base_link]. TF error: [Lookup would require extrapolation -0.042703666s into the future. Requested time 1647083473.332726479 but the latest data is at time 1647083473.290022850,
The problem goes away when the static_transform_publisher publishes a transform from base_link to camera1 instead.
Do you know how I can attach camera1 to arm_box_1?

16.04 build errors

Hi all , I cloned rviz_camera_stream and started catkin_make but it gives the following errors, please advise

Screenshot from 2022-02-08 18-55-07

Adding a laser simulator, is it actually possible

Looks like rviz is using Ogre3D. I want to actually write my own laser simulator.

Does your interface, hence Ogre3D provide a way to access the polygons in the scene so that i may do the raycasting manually?

Marker is not captured

Hi.

May I know how should I edit the code so that marker and grid will be captured in the image?

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.