Comments (12)
Hi @ashwinvk94,
It sounds like your method of remapping/publishing input commands has issues. Your binary/stepping behavior sounds similar to that of the keyboard controller, where binary controller is the expected behavior. For testing, we recommend using the Logitech F310 or Xbox One controllers. How are you generating your rateThrust commands?
The rateThrust.msg accepts arbitrary float values for attitude rates and collective thrust. You are free to publish at any rate you wish, but the inner-loop controller runs at 120Hz in sim-time. 20Hz control sounds very low, but is probably doable.
Best,
-Winter
from flightgoggles.
@ashwinvk94, are you still having this issue?
from flightgoggles.
Hi Winter,
I was busy yesterday. I will send you more information about the problem later today.
from flightgoggles.
Hi Winter,
I am attaching two videos which show that the drone responds as expected when the rate inputs are discrete(Video1), but spins out of control initially when the rate inputs are continuous(Video 2). Please not that in video 2 the drone starts to spin out of control only when the thrust set point reaches a certain threshold(approx. 10.81).
The Videos show both the output of the camera and data on /uav/inputs/rateThrust
through rqt.
Please let me know what you think.
from flightgoggles.
Wow, that's a very odd problem @ashwinvk94. Thanks for the videos! They were extremely helpful.
The takeoff threshold you're seeing makes sense. In version v2.0.0
, we arbitrarily set this threshold to 10.79N
(1.1G
) in this line. We'll probably change it such that any tiny increase in thrust above 9.81N
(probably 9.82N
) will trigger takeoff in the future. In the meantime, you can change this line yourself to lower the takeoff threshold.
I'm not immediately sure what's going on with the flipping. After the initial flip, you seem to be able to regain control later on in the flight. What commit hash do you currently have checked out for the flightgoggles
folder? We'll try to recreate the issue from the specific commit you're using.
Best,
-Winter
from flightgoggles.
@Winter-Guerra even I'm facing same problem, small RPY rates (like 1e-3) will spin the uav entirely
from flightgoggles.
Thanks for the suggestion. I will try lowering the thrust threshold for arming.
The commit hash is : ebb4d47615f905e3f2b17ef6b0a30c12ecb7204f
from flightgoggles.
Ok, I think we found the cause of the flipping issue. We're currently testing a fix.
from flightgoggles.
Thanks for the help. Hope you find the bug soon.
from flightgoggles.
The new patch is out! Please let us know if this fixes the flipping issue. Additionally, FlightGoggles should reset the drone to the start position after a collision.
# Pull new flightgoggles source code
cd ~/catkin_ws/src/flightgoggles
git pull
# Force flightgoggles to redownload binary at build time
catkin clean
catkin build
from flightgoggles.
Awesome. I'll test it out in a few hours and give you an update.
from flightgoggles.
The simulator is working fine now and the quad can be controlled by publishing the values to /uav/inputs/rateThrust
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.