Comments (5)
Hi @nilay994,
Joypads that are not the Logitech F310 and Xbox One controller are not officially supported. However, I think that you are on the right track. To activate controller control, the "override" button must be held on the controller. This button mapping is defined in the "keys" input mapping in the yaml. If the controller inputs are mapped correctly, you should see activity on the /uav/input/rateThrust
channel when the controller override is enabled.
Best,
-Winter
from flightgoggles.
@nilay994, are you still having this issue?
from flightgoggles.
@Winter-Guerra , No I haven't gotten it to work yet. I don't understand the difference between the fields buttons
and keys
in the example_input.yaml
. I did try to map the override
field under keys and buttons of the yaml to the joystick buttons/keys - but without any luck. I see that the /control_nodes/joy
is publishing correctly but nothing is published on /uav/input/rateThrust
.
from flightgoggles.
Hi @nilay994,
After closer inspection, it looks like you need to change the override
parameter in the joy_buttons
param and maybe the axis mappings in the joy_axes
param. You can find these mappings experimentally by looking at the /control_nodes/joy
topic.
keys
refers to remaps for the keyboard controller and should not be uncommented. I'm terribly sorry about the naming confusion.
The default values and structure of the joystick params can be found in lines 23-51 of this file. I'd advise only defining values for joy_buttons
and joy_axes
in your remapping file for simplicity. If any of your axes are flipped, I'd then advise defining axis_scales
values to fix the flipped axes.
Best of luck!
-Winter
from flightgoggles.
hi @Winter-Guerra , thank you for your reply. I still haven't gotten it to work. I tried it with a PS3 controller and FrSky controller. For now, I use the keyboard. I'll close the issue, since I see that others were successful in configuring it. I will comment on the closed issue in case I realize the mistake or in case I still feel stuck.
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.