Giter Club home page Giter Club logo

Comments (9)

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

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 24, 2024

Hi there, have you tried increasing the throttle using the keyboard (Spacebar + W)? The drone will not respond to commands until extra throttle is applied. You also must make sure to have the keyboard control window selected before pressing any keys (see readme for a picture of the keyboard control window).

On Fri, Feb 8, 2019, 23:18 Bhavyansh Mishra @.***> wrote: In the Teleop mode, even with the keyboard window open and spacebar long pressed, the drone does not move. Same with the Xbox One S controller. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOwrnPJ16zOMEX43aJTo5ZARMJrrmFYks5vLkv3gaJpZM4ayXvR .

Oh I see. The problem is that since it has been running so slow, I had to long press Spacebar + W to see the effect. The drone is only somewhat controllable at that latency. How could it be that slow on Ryzen 7 2700x with GTX 1080 Ti? Anyhow, the Xbox controller does not respond at all.

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 24, 2024

Hi there, have you tried increasing the throttle using the keyboard (Spacebar + W)? The drone will not respond to commands until extra throttle is applied. You also must make sure to have the keyboard control window selected before pressing any keys (see readme for a picture of the keyboard control window).

On Fri, Feb 8, 2019, 23:18 Bhavyansh Mishra @.***> wrote: In the Teleop mode, even with the keyboard window open and spacebar long pressed, the drone does not move. Same with the Xbox One S controller. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOwrnPJ16zOMEX43aJTo5ZARMJrrmFYks5vLkv3gaJpZM4ayXvR .

Oh I see. The problem is that since it has been running so slow, I had to long press Spacebar + W to see the effect. The drone is only somewhat controllable at that latency. How could it be that slow on Ryzen 7 2700x with GTX 1080 Ti? Anyhow, the Xbox controller does not respond at all.

Is there anyway to reduce the quality to improve speed of simulation? Doesn't feel like a racing drone at all at the moment.

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 24, 2024

Hi there, have you tried increasing the throttle using the keyboard (Spacebar + W)? The drone will not respond to commands until extra throttle is applied. You also must make sure to have the keyboard control window selected before pressing any keys (see readme for a picture of the keyboard control window).

On Fri, Feb 8, 2019, 23:18 Bhavyansh Mishra @.***> wrote: In the Teleop mode, even with the keyboard window open and spacebar long pressed, the drone does not move. Same with the Xbox One S controller. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#25>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOwrnPJ16zOMEX43aJTo5ZARMJrrmFYks5vLkv3gaJpZM4ayXvR .

Oh I see. The problem is that since it has been running so slow, I had to long press Spacebar + W to see the effect. The drone is only somewhat controllable at that latency. How could it be that slow on Ryzen 7 2700x with GTX 1080 Ti? Anyhow, the Xbox controller does not respond at all.

Is there anyway to reduce the quality to improve speed of simulation? Doesn't feel like a racing drone at all at the moment.

from flightgoggles.

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

Try doing a pull and run it again. I think that your teleop was running at a sub realtime rate. I turned on realtime simulation rate forcing in the teleop config.

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 24, 2024

Try doing a pull and run it again. I think that your teleop was running at a sub realtime rate. I turned on realtime simulation rate forcing in the teleop config.

The yaw, pitch and roll responses are now more realtime, but the throttle and gravity feel really unnatural. Also, is the Xbox controller not supported?

from flightgoggles.

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

from flightgoggles.

BhavyanshM avatar BhavyanshM commented on July 24, 2024

Keyboard control for throttle is not great because drones are not meant to be controlled via keyboard. It feels a LOT better with joypad. Keyboard and joypad are only meant for debugging, since this is an autonomous drone challenge. Xbox controller could work, but would need some button/axis remaps. Take a look at the universal_teleop node and the different possible launch configs. We only support one controller type out of the box (Logitech F310) for the moment. Might add Xbox in the future if there are enough requests. Perhaps make a feature request GitHub issue or a pull request?

On Sat, Feb 9, 2019, 00:08 Bhavyansh Mishra @.***> wrote: Try doing a pull and run it again. I think that your teleop was running at a sub realtime rate. I turned on realtime simulation rate forcing in the teleop config. The yaw, pitch and roll responses are now more realtime, but the throttle and gravity feel really unnatural. Also, is the Xbox controller not supported? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#25 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOwroGZujdpihg7vwbIvglSesU97Y4yks5vLlfBgaJpZM4ayXvR .

Ahh, you were right, the Xbox controller plays it a LOT better 😄

I got it working very well. The scale values tuned perfectly. Feels like a drone racing simulator now. Here is the pull request on the ros-universal-teleop: mit-aera/ros-universal-teleop#1

You are welcome! By the way hats off to you guys.

from flightgoggles.

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

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.