Open esharet opened 3 years ago
This is also a problem I am facing. We are using some of the servo output raw channels and we use channels after ch 8. However, the mavlink v2.0 is unable to get any servo output raw message. We had those channels before but they stopped with pribably any new changes pushed on the repo. Can you tell me if that is the case and how to resolve it?
I don't know how to help you with that question because we are trying to control only ch1&ch3. Our mavlink version is v2
Override commands are only allowed from the GCS, so you have to change the mavros system and component id to match the expected id from the GCS, which is 255 and 240.
mavros_node:
ros__parameters:
fcu_url: udp://:14550@
gcs_url: tcp-l://:5670
tgt_system: 1
tgt_component : 1
system_id: 255
component_id: 240
Try to see what's coming to override topic. But also please note that you're node will sit in minimal_mavrover = My_MavRover()
forever and do not spin the node.
Override commands are only allowed from the GCS, so you have to change the mavros system and component id to match the expected id from the GCS, which is 255 and 240.
mavros_node: ros__parameters: fcu_url: udp://:14550@ gcs_url: tcp-l://:5670 tgt_system: 1 tgt_component : 1 system_id: 255 component_id: 240
Hello, both ros2 and ardupilot noob here, how can i do that? to what config/launch file do i have to refer to? Thanks in advance for your help !
Issue details
When publishing to /mavros/rc/override topic, we don't get any change for topics /mavros/rc/in or /mavros/rc/out. Everything look fine, we managed to arm the vehicle through service and to change its mode but the vehicle's servos do not change. The vehicle is Rover (SITL) and we tried different modes (MANUAL, GUIDED). Does anyone know how to fix this please?
launch params:
rc_override_publisher.py:
ros2 topic echo /mavros/rc/out:
ros2 topic echo /mavros/rc/in:
MAVROS version and platform
Mavros: 2.0.3 ROS: foxy Ubuntu: 20.04
Autopilot type and version
[V] ArduPilot [ ] PX4
Version: 4.1.0
Node logs
Diagnostics
Check ID