Giter Club home page Giter Club logo

Comments (5)

Twenkid avatar Twenkid commented on August 23, 2024 1

Right, binary is easier, but there wasn't such a combination listed for my case: humble + garden. (I finally compiled with the humble branch, rosidl error happened to has been with the ros2 branch which I thought was humble). As of RAM I had plenty (32 GB), but I use to fill it with stuff and RAM disks. I mentioned that for anyone else who encounters WSL crashes while building, it could be out of memory error and nothing with the source or compatibility, but sometimes it is not clear, because the WSL consoles just suddenly return to Windows.

from ros_gz.

Twenkid avatar Twenkid commented on August 23, 2024

I tried a partial workaround:

ros2 run ros_gz_image image_bridge /rgbd_camera/image /rgbd_camera/image

The topics appear in rqt_view

image

  • However without images with gz sim:

gz sim -v --render-engine ogre sensors_demo.sdf

...

  • WIth ign gazebo the images show up:

ign gazebo -v --render-engine ogre sensors_demo.sdf

image

from ros_gz.

Twenkid avatar Twenkid commented on August 23, 2024

Maybe I figured it out - I checked again, I discovered that git branch displayed ros2, IDK why. Re-cloned properly and this time it did complete (it takes a lot of RAM/page file though).

Then it didn't work until I read the bridge command from the example carefully - I noticed that the declared type was for Ignition, that's why it works only with ign...

It should be gz.msgs.Image, not ignition.msg.Image.

ros2 run ros_gz_bridge parameter_bridge /rgbd_camera/depth_image@sensor_msgs/msg/[email protected]

Please update the examples. Thanks

from ros_gz.

mjcarroll avatar mjcarroll commented on August 23, 2024

(it takes a lot of RAM/page file though)

Yes, there are a lot of things happening at compile time with templates. The binaries are suggested if you are on a limited platform.

It should be gz.msgs.Image, not ignition.msg.Image.

Depending on the branch, it should be compatible with both. Which branch did you end up using?

from ros_gz.

azeey avatar azeey commented on August 23, 2024

I don't think there's any remaining issue here, so I'll go ahead and close it

from ros_gz.

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.