Comments (5)
Hi all,
We've just pushed a patch for v2.0.3
. It adds an example launch file for stereo and also allows for adjusting the camera resolution from ROS params. To update:
# Pull new flightgoggles source code
cd ~/catkin_ws/src/flightgoggles
git pull
# Force flightgoggles to redownload binary at build time
catkin clean
catkin build
To run teleoperation with sample stereo pipeline:
roslaunch flightgoggles stereoTeleopExample.launch # WARNING! May crash! Read "Does FlightGoggles currently support Stereo?" FAQ for more info.
Current workarounds for the GPU backbuffer restriction include decreasing the default camera resolution, physically rotating your display, attaching a vertical display to your rendering computer, or using AWS-based renderering.
@koriavinash1 could you try again after updating to v2.0.3
and reducing your camera resolution using the new ROS param-based method? If it still crashes, please post a player.log from the renderer.
@strombom, you do bring up a good point! Many monitors nowadays have ultra-wide resolutions. It is certainly possible to arrange the cameras side by side. Very old versions of FlightGoggles < ~v1.5.0
used to stack cameras side by side. However, we moved to vertical stacking in order to increase memory access efficiency and frame rate. Vertical concatenation and splitting of images is an order of magnitude faster since each image occupies a contiguous block of memory. Unfortunately, engineering always has tradeoffs. In this case, we decided to value faster framerate over slightly tighter render configuration restrictions.
Once things stabilize a bit, we'll be re-releasing the code for the FlightGoggles rendering backend. Once that happens, anyone would be free to implement (and pull request) other workarounds for the GPU backbuffer issue.
Best,
-Winter
from flightgoggles.
Hi @ashwinvk94, I'm sorry for the inconvenience. This behavior is a known issue. Here's some info about it from the FAQ:
Q. Does FlightGoggles currently support Stereo?
Yes! Simply passrender_stereo:=true
to the FlightGoggles launch file. Note: as ofv2.0.2
the combined vertical resolution of the two stereo cameras must not be greater than the vertical resolution of the largest monitor attached to your computer. In other words, you must have a monitor with>=1536
vertical resolution to render stereo at the default camera resolution. A current workaround is to decrease the default camera resolution, or rotate or attach a vertical display to your rendering computer.
As an explanation for the current restriction, FlightGoggles uses the GPU backbuffer for storing rendered images. However, the size of this buffer is limited by the screen resolution. Thus, concatenated images cannot be larger than the size of the GPU backbuffer. This issue will be patched in a later release.
We hope to patch out this restriction by sometime Monday/Tuesday.
from flightgoggles.
Hello @Winter-Guerra ,
I'm unable to load stereo images, launch with "render_stereo:=true" freezes an entire system. Image size is also reduced so that it fits monitor's vertical resolution.
system specification:
GPU: Titan V
RAM: 64 GB
What might be possible reason?
Thank you
from flightgoggles.
@Winter-Guerra
Would it be possible to render the images side-by-side instead of top-bottom?
Monitor width>=2048 must be more common than monitor height>=1536?
from flightgoggles.
Closing since stereo is implemented. Please open a new issue for new problems.
from flightgoggles.
Related Issues (20)
- A nice-to-have ROS topic HOT 1
- Changing the camera extrinsic HOT 2
- Link provided for downloading Abandoned Warehouse environment assets doesn't work. HOT 1
- Issue on Installing Flightgoggles Simulation Framework on Local Machine HOT 5
- Downloading Unity3D environment asset bundle HOT 1
- Error while: Running FlightGoggles Simulation Framework on Local Machine HOT 1
- Pixhawk
- FlightGogglesV3 binary is not working HOT 7
- camera pose HOT 2
- Depth images for the gates HOT 4
- ERROR in config: Unable to download URL HOT 1
- Failed to download Abandoned Warehouse environment assets HOT 1
- Broken images in documentation HOT 4
- Collision Detection on python/pyFlightGoggles HOT 1
- Abandoned wharehouse env HOT 2
- catkin build error HOT 7
- Stereo rendering in the provided Unity environment HOT 4
- Could not find ./FlightGoggles.x86_64 HOT 2
- X11 Forwarding BadAlloc (insufficient resources for operation)
- Download link for abandoned warehouse does not work HOT 2
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 flightgoggles.