I am new in ROS project. I want to control my drone with joystick and hovering by using RotorS simulation. For this purpose, I added the node of joystick from this file mav_with_joy. Launch to mav_hovering_example_with_vi_sensor. Launch. It seems my node is working, but when I press the button of joystick it moves a little right, left and forward, but automatically comes to same position but my yaw is not working.When I increase my throttle fully then it becomes more unstable.It moves different direction without controlling or pressing my button on joystick. Any idea, Please help me. Here is my added joystick file.
I am new in ROS project. I want to control my drone with joystick and hovering by using RotorS simulation. For this purpose, I added the node of joystick from this file mav_with_joy. Launch to mav_hovering_example_with_vi_sensor. Launch. It seems my node is working, but when I press the button of joystick it moves a little right, left and forward, but automatically comes to same position but my yaw is not working.When I increase my throttle fully then it becomes more unstable.It moves different direction without controlling or pressing my button on joystick. Any idea, Please help me. Here is my added joystick file.