Giter Club home page Giter Club logo

Comments (13)

varunmurali1 avatar varunmurali1 commented on July 4, 2024

Could you try getting either of these links using wget or by opening the link on a browser? For the first build, you should be connected to the internet to pull binaries.

from flightgoggles.

strombom avatar strombom commented on July 4, 2024

As a temporary work around I downloaded the binaries from the release:
https://github.com/mit-fast/FlightGoggles/releases

Comment out line 56-79 in CMakeLists.txt in src/flightgoggles/flightgoggles to be able to build without downloading.

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 4, 2024

As a temporary work around I downloaded the binaries from the release:
https://github.com/mit-fast/FlightGoggles/releases

Comment out line 56-79 in CMakeLists.txt in src/flightgoggles/flightgoggles to be able to build without downloading.

Alright, and where does the binary need to be placed?

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 4, 2024

Could you try getting either of these links using wget or by opening the link on a browser? For the first build, you should be connected to the internet to pull binaries.

Yup, both wget and browser download the file just fine when connected.

from flightgoggles.

strombom avatar strombom commented on July 4, 2024

Alright, and where does the binary need to be placed?

I simply put it in a separate folder and launched the executable before launching the teleopExample:
roslaunch flightgoggles teleopExample.launch

The simulator however does not reset properly after crashing so maybe it's better to install it as intended, not sure if that is related.

from flightgoggles.

strombom avatar strombom commented on July 4, 2024

If you unpack the release in src/flightgoggles/flightgoggles then you can start it with:
rosrun flightgoggles FlightGoggles.x86_64

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 4, 2024

Alright, and where does the binary need to be placed?

I simply put it in a separate folder and launched the executable before launching the teleopExample:
roslaunch flightgoggles teleopExample.launch

The simulator however does not reset properly after crashing so maybe it's better to install it as intended, not sure if that is related.

Ahh, I see. Just not used to catkin a lot. Based on the comment "# Download FG executable to: ${CATKIN_INSTALL_PREFIX}/${CATKIN_PACKAGE_BIN_DESTINATION}", did you try placing the binary there? Also, what is the best way to find out the values of those variables?

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 4, 2024

If you unpack the release in src/flightgoggles/flightgoggles then you can start it with:
rosrun flightgoggles FlightGoggles.x86_64

Did this fix the incorrect crash reset issue?

from flightgoggles.

Winter-Guerra avatar Winter-Guerra commented on July 4, 2024

Hi all,

This timeout might be from slow internet. I'll look into relaxing Catkin's timeout parameter.

As a workaround, try something similar to the following:

mkdir -p catkin_ws/devel/lib/flightgoggles
cd catkin_ws/devel/lib/flightgoggles
wget http://d34kgw45d3q5oc.cloudfront.net/Public/FlightGoggles/StandaloneBinaries/FlightGoggles_Linux_v2.0.0.zip
gunzip FlightGoggles_Linux_v2.0.0.zip
chmod +x FlightGoggles_Linux_v2.0.0/FlightGoggles.x86_64
# Run the executable
rosrun flightgoggles FlightGoggles.x86_64

from flightgoggles.

Winter-Guerra avatar Winter-Guerra commented on July 4, 2024

Note: Collisions do not reset the simulator and the simulator stops when the drone has collided. To fly around without colliders enabled for the purpose of exploring the environment, colliders can be disabled by setting ignore_collisions to true in the launch file or passing it as an argument to the launch file without editing the launch file.

E.g.
roslaunch flightgoggles teleopExample.launch ignore_collisions:=1

from flightgoggles.

varunmurali1 avatar varunmurali1 commented on July 4, 2024

Unsure what "Reset" button you are referring to? I assume you mean the reset button in RVIZ in which case this is the function "The time panel also lets you reset the visualizer's internal time state -- this causes a reset of all the displays, as well as a reset of tf's internal cache of data." per RVIZ user guide (http://wiki.ros.org/rviz/UserGuide). Although this resets RVIZ, it does not reset the simulator.

from flightgoggles.

Winter-Guerra avatar Winter-Guerra commented on July 4, 2024

Hey all, I've pushed a patch that increases the CMake download timeout to 1 hour. You should be able to build as normal without workarounds. If you need more time, increase the timeout in flightgoggles/CMakeLists.txt line 47.

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 4, 2024

Hey all, I've pushed a patch that increases the CMake download timeout to 1 hour. You should be able to build as normal without workarounds. If you need more time, increase the timeout in flightgoggles/CMakeLists.txt line 47.

Thank you so much. The patch works fine.

from flightgoggles.

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.