You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use mavros (ros2) to connect a raspberry pi 4 and pixhawk4 and connect it to QGC. I connected a game controller in QGC and wanted to read the joystick and button information of the controller. Now I can read the x, y, z, r information of the controller normally, but the button information is always 0. In QGC, I can see that the button is pressed. I would like to ask how to solve this problem? I would be grateful if you could answer it! ! !
MAVROS version and platform
Mavros: ros2
ROS: humble
Ubuntu: 22.04
Game controller:Logitech F710
Autopilot type and version
[ ] ArduPilot
[√] PX4
ros2 topic echo /mavros/manual_control/control
header:
stamp:
sec: 1723704903
nanosec: 509129632
frame_id: ''
x: 0.0
y: 0.0
z: 0.0
r: 0.0
buttons: 0(buttons are always 0, even if the GQC shows that they have been pressed)
The text was updated successfully, but these errors were encountered:
Issue details
I use mavros (ros2) to connect a raspberry pi 4 and pixhawk4 and connect it to QGC. I connected a game controller in QGC and wanted to read the joystick and button information of the controller. Now I can read the x, y, z, r information of the controller normally, but the button information is always 0. In QGC, I can see that the button is pressed. I would like to ask how to solve this problem? I would be grateful if you could answer it! ! !
MAVROS version and platform
Mavros: ros2
ROS: humble
Ubuntu: 22.04
Game controller:Logitech F710
Autopilot type and version
[ ] ArduPilot
[√] PX4
ros2 topic echo /mavros/manual_control/control
header:
stamp:
sec: 1723704903
nanosec: 509129632
frame_id: ''
x: 0.0
y: 0.0
z: 0.0
r: 0.0
buttons: 0(buttons are always 0, even if the GQC shows that they have been pressed)
The text was updated successfully, but these errors were encountered: