Commit Graph

17 Commits

Author SHA1 Message Date
Lorenz Meier b80e0a658b pwm out: Code style 2015-12-01 12:43:26 +01:00
Lorenz Meier 4b319d2fc6 PWM out sim: Fix corner cases in startup and timeout handling 2015-12-01 10:28:24 +01:00
Lorenz Meier 40ef8c063c PWM Sim: Less verbose 2015-11-22 14:00:31 +01:00
Lorenz Meier 103bf81a02 PWM SIM: Remove orb interval calls 2015-11-22 13:59:24 +01:00
Roman 275761f3d5 properly assign struct member 2015-11-20 23:32:53 +01:00
tumbili 2cc9f03c93 SITL: fixed control callback 2015-11-17 16:30:27 +01:00
tumbili 89028901e6 support multiple actuator control groups 2015-10-29 08:04:32 +01:00
Lorenz Meier 88a69382d9 PWM out sim: Fixed code style 2015-10-19 13:17:27 +02:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Mark Charlebois 3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
Lorenz Meier 3b7685a8fe PWM Sim: Fix merge fail 2015-08-23 11:34:38 +02:00
Lorenz Meier 53d4c5473f Merge beta in master 2015-08-23 11:21:38 +02:00
Lorenz Meier 231ab7d690 Rename HIL class to PWMSim 2015-08-12 19:29:31 +02:00
Lorenz Meier ebe91f3243 Update main function name 2015-08-12 19:23:13 +02:00
Lorenz Meier 8dd8179f4c Update PWM out sim 2015-08-12 19:18:16 +02:00
Lorenz Meier ad9857f885 PWM out simulation: Give it a proper name 2015-08-12 19:18:00 +02:00