-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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 RC input px4fmu-v4pro_default #7054
Comments
Do you recall the last time/px4 version this was working? |
No, finaly got to soldering telemetry cables so this is my first attempt |
@klopezal ping |
same on beta branch |
Are you using SBUS or PPM? |
SBUS |
That board (V1.2) uses SBUS_INV from FMU (https://github.com/PX4/Firmware/blob/master/src/drivers/boards/px4fmu-v4pro/board_config.h#L299) to invert RC signal (XOR gate) for SBUS (the inverted signal then goes to IO processor). We have to check that the inversion is correct. Is PX4IO loaded and working correctly? |
I dont know, i dont have much connected to it, only telemetry and rc |
What is the output of |
|
If you flash latest master does it still behave the same? |
Yes it does, bug was introduced by PR 6678 (Oneshot mode) and only affects FMUv4pro. Currently looking for it. |
@LorenzMeier @sanderux @davids5 It looks like it was a memory issue. However some elements remain obscure to me, shouldn't px4io-v2 binaries be of exactly the same size for FMUv2 and FMUv4pro? FMUv2 (master) : FMUv4pro (master) : |
@klopezal - Thanks for testing latest. Yes it does seem odd diffing the symbols from I removed the addresses and left just the size So things are different but why is the question. |
Save and compare the verbose output from both builds. Is the px4iofirmware module building with different options? |
@dagar, @klopezal @LorenzMeier @sanderux Ok I have figured it out why the size is different. When libuavcan is built it looks at CMAKE_BUILD_TYPE and sees it not set so it defines it. This causes This is what libuavcan does:
V2: V4: Not Allowing UAVCAN to set RelWithDebInfo V4 px4io build is the same size as V2 V4: Allowing UAVCAN to set RelWithDebInfo @dagar I do not think we want a lib to change the build type. So we should set it. Possibly based on a env var so we as dev can override it it if need be. |
It's the standard cmake way for switching between debug and release. We probably should have been using it properly from the beginning and any cmake subprojects will then inherit. |
Closing as stale. |
On my pixhawk 3 pro i loaded todays master and noticed i wasnt able to calibrate radio as no input was detected. The radio works fine and is bound to the transmitter
@LorenzMeier who is on this?
The text was updated successfully, but these errors were encountered: