-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
printf() for %f is broken since one of the last merges #1
Comments
I can't reproduce this with a clean build of master: gcc version 4.6.2 20120613 (release) [ARM/embedded-4_6-branch revision 188521](GNU Tools for ARM Embedded Processors) nsh> tests float --- SINGLE PRECISION TESTS ---
--- DOUBLE PRECISION TESTS --- SUCCESS: All float and double tests passed. |
Still had this old GCC somehow, upgrading now and re-testing arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] |
With the new gcc this issue vanished - seems to be a compiler bug. Closing. arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.6.2 20120613 (release) [ARM/embedded-4_6-branch revision 188521] |
Add more performance counters; run test PX4#1 faster.
Output a debug string is Invalid @ parameter #1
Order fixed for vision position quaternion
GCC 4.8 and higher implement 16 byte static data alignment on 64-bit. This means that the 24-byte param_info_s variables are 16 byte aligned by GCC and that messes up the assumption that the address of the second parameter is at ¶m[0]+sizeof(param[0]). When compiled with clang it is true, with gcc is is not true. See https://llvm.org/bugs/show_bug.cgi?format=multiple&id=18006 The fix is needed for GCC >=4.8 only. Clang works fine without this. Added __attribute__((aligned(16))) to first member of param_info_s. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
update from master
Merge upstream
This solution (PX4#1) uses integration of the acceleration from the vehicle_imu uORB topic. Conversions are made using the description of the units found in the VehicleIMU.msg as a reference. 1. New custom Module "mike_velocity_logger" 2. Module Starts on initialization through rcS 3. Only for px4-sitl build targed, enabled by default 4. Only Publishes when Armed and runs at 10 Hz. 5. Logger is set to log these topics at 10 Hz (100 ms).
Output of tests float:
The text was updated successfully, but these errors were encountered: