New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"no offboard signal" even though trajectory_setpoint and offboard_control_mode get published in uorb #22456
Comments
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-community-q-a-november-29-2023/35461/1 |
I have now teted it on a drone with an px4_fmu6xrt controller and have the same issue there. This is the output over the serial consol when trying the dynamic mode: WARN [health_and_arming_checks] No response from 0, flagging unresponsive Here is a flight log of the dynamic mode test on a drone: |
important to get that solved cause we like to test UWB based indoor localization and navigation from ROS2. |
I found the issue: @hamishwillee maybe this could be a little clearer in the px4 docu |
Hi @NXPBenjaminK , I'm glad that you found the root of the issue. Yeah, looking into it the error message is quite unclear PX4-Autopilot/src/modules/commander/HealthAndArmingChecks/checks/modeCheck.cpp Lines 126 to 136 in 1c25d65
as it combines the condition "no stepoint" and "no valid required estimate". Thank you for raising this. Regarding the need of gps: PX4-Autopilot/src/modules/commander/HealthAndArmingChecks/checks/offboardCheck.cpp Lines 38 to 67 in 1c25d65
if you only have the velocity flag set, then you need a valid velocity estimate. I does not need to come from a GPS.
Finally, the documentation https://docs.px4.io/main/en/flight_modes/offboard.html#ros-2-messages says that velocity is needed :) |
Describe the bug
Hi! I have written a node, which publishes velocity offboard-commands using the uxrce-dds-bridge.
The trajectory_setpoint and offboard_control_mode messages get transmitted and are visible in uorb (see below)
However when i try to switch to offboard mode, i get the following error (see sreenshot below): "Critical: Switching to mode 'Offboard' is currently not possible No offboard signal"
Arming the vehicle via uxrce_dds bridge while in offboard-mode and with skipping of the pre-flight checks causes the vehicle to immediatly go into failsafe with the same error.
Using the px4_ros_com offboard_control node causes the same problem.
The relevant part of my code:
To Reproduce
Expected behavior
Rover should slowly drive West
Screenshot / Media
Flight Log
https://logs.px4.io/plot_app?log=3c4983fe-dae7-4ba4-b823-88a2fa28ce32
Software Version
6a34b63
HW arch: NXP_MR_CANHUBK3
HW type: MR-CANHUBK3-ADAP
HW version: 0x000
HW revision: 0x000
PX4 git-hash: 6a34b63
PX4 version: 1.15.0 0 (17760256)
PX4 git-branch: main
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: e7da5ac0e660238cb353948b2a9118579727267a
Build datetime: Nov 28 2023 16:44:37
Build uri: localhost
Build variant: fmu
Toolchain: GNU GCC, 9.3.1 20200408 (release)
PX4GUID: 00086702193221071965ffffffffffffffff
MCU: S32K344, rev. 0
Flight controller
NXP_MR_CANHUBK3
Vehicle type
Rover
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: