Open weemanlittle opened 6 years ago
@weemanlittle, Hello! I have the same problem.
Did you unpause the gazebo simulation? By default it starts with the paused mode, try unpausing it using rosservice call gazebo/unpause_physics
It works now after remapping device and topic /joy->/firefly/joy But immediately after launch mav flies in one direction, and it is unclear how to control it.
@saikrn112 Yes, the physics has been unpaused using the rosservice call. As you can see in the image the command worked but the drone does not react to the keyboard inputs. I have not tried what @vkpankov has done but it seems like that did not fix it.
@vkpankov ,hello! I have the same problem. I can't control it. It just circles. Did you fix it?
Hello, i have the same problem. Digged into the source code, i find that joystick event (pkg: rotors_joystick_interface) is not trigger. I don't know why. I try to fix without success.
I can run the rotors_joystick_interface joy_node as separated node and publish manually Joy messages, it trigger the joystick's events. But when i try it using file launch, it stop to firing the event.
Maybe it's a problem of ros can not trigger callback when using file launch Anyone have suggestion ?
I see the problem here, Joystick opened is js0, but not is key-joystick, for my case i add this line to group ns.
<rosparam param="joy_node/dev">/dev/input/js4</rosparam>
Add this line to launch file, it working now.
It works now after remapping device and topic /joy->/firefly/joy But immediately after launch mav flies in one direction, and it is unclear how to control it.
Hi , i begin witht rotors, i have the same problem, how can you resolve the problem ???
@XuanTr Thanks, launched the drone, but with js1 number
@tooHotSpot @XuanTr i have same problem there is no jo file dev/input
and which launch file must i add this
thank you
Hello! I have set up the RotorS simulator in an attempt to run the mav_with_keyboard.launch. I have followed the tutorials to set up RotorS and to download python-uinput. The Virtual RC Joystick works and reacts with the keyboard inputs but the drone does not fly, any possible fixes?