Hi there,
I plan to use ps4 joystick to remote control my drone. I hope my companion computer will also receive messages from the joystick, so I think there should be two ways.
One is that a smartphone receives joystick messages via bluetooth and the qgc running on it publishs manual_control_setpoint messages to pixhawk via wifi, and then px4 forwards the messages to ros.
The other way is that the companion computer receives joystick messages via Bluetooth and forwards them to the px4 via the mavlink protocol.
Well, the second way seems easy to implement, but I will disregard it first since it is limited by the effective transmission distance of Bluetooth.
Therefore I would like to use the first one. However, listening to manual_control_setpoint messages on qgc works fine (data source = 2, mavlink_instance_0), while on ros I cannot receive any messages from topic of /mavros/manual_control_setpoint/control.
Referred from Px4 User Guide , I am sure I have enabled the parameter MAV_X_FORWARD shown in the following figure.
PS: Here I use the latest version of px4 updated from qgc, as well as the newest mavros.
Does anyone could help me plesssss? Has anyone ever solved this problem?
Thx a lot…



