- Jan 31, 2018
-
-
Daniel Agar authored
-
- Feb 19, 2016
-
-
jwilson authored
-
Mark Charlebois authored
DF drivers can now be added in each config file by adding set(config_df_driver_list bmp280 ... ) Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jan 08, 2016
-
-
Mark Charlebois authored
Added missing functions that were added for other targets but not for qurt. Added workaround for missing sem_timedwait(). This may have a performance impact until a sem_timedwait is supported. std::to_string is not supported by the hexagon compiler Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Aug 26, 2015
-
-
Mark Charlebois authored
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>
-
- Jul 02, 2015
-
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jul 01, 2015
-
-
Mark Charlebois authored
Changes to support QuRT intrgration with DSPAL and move from simulator to real HW. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jun 30, 2015
-
-
Mark Charlebois authored
QuRT's pthread_cancel implementation is lacking, and causes px4_poll to always wait for the maximumn timeout. A cleaner implementation is provided that uses the HRT work queue for posix targets. In the future the posix code should be rtefactiored so that qurt (and other) implementations that are duplicated, use the posix implementation. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jun 12, 2015
-
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jun 02, 2015
-
-
Mark Charlebois authored
GCC complains about strict prototypes. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Function was changed to be void but prototype was not updated Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Removed extra carriage returns in output strings Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
There is a race condition for the accel and mag polling rates. Whichever one gets set first, the other will be uninitialized. Set the mag polling rate to 1ms if uninitilized. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The workqueues measure time in ticks which is typically 10ms. Some interrupt events in Nuttx occur at about 1ms so a more granular workqueue is needed for POSIX. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- May 06, 2015
-
-
Mark Charlebois authored
GCC was more picky about prototypes for inlines being required. The generate_listener.py script used incorrect printf formats and was casting %f params to float, but printf casts all %f params to double per the spec. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- May 05, 2015
-
-
Mark Charlebois authored
The HRT call processing normally happens via HW timer interrupt handler. Since the POSIX port has no ISR handling, the HP work queue is used. Instead of irq_save() and irq_restore() calls to disable/enable interrupts, a mutex is used to protect each queue. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Apr 20, 2015
-
-
Mark Charlebois authored
The getopt command uses global variables and is not thread safe. Created a minimal px4_getopt version that supports options with or without an arg, and random placement of options on the command line. This version modifies the order of the args in argv as does the POSIX version of getopt. This assumes that argv[0] is the program name. Nuttx may not support that properly in task_spawn. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
To avoid confusion when a real device and a virtual device is being used, changed CDev to VDev for Linux. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Modified code to use OS independent header file for config settings. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
- Jan 02, 2015
-
-
Lorenz Meier authored
-
- Nov 11, 2014
-
-
Holger Steinhaus authored
-
- Jul 15, 2014
-
-
Lorenz Meier authored
-
Lorenz Meier authored
-
- Jul 12, 2014
-
-
Andrew Tridgell authored
this keeps it small enough to fit in a float, which makes it possible to see the full value in a MAVLink tlog Conflicts: mavlink/include/mavlink/v1.0
-
Andrew Tridgell authored
this device ID identifies a specific device via the tuple of (bus, bus type, address, devtype). This allows device specific configuration data to be stored along with a device ID, so the code can know when the user has changed device configuration (such as removing an external compass), and either invalidate the device configuration or force the user to re-calibrate
-
- Jun 10, 2014
-
-
Lorenz Meier authored
-
- Jan 12, 2014
-
-
Lorenz Meier authored
-
- Dec 10, 2013
-
-
Andrew Tridgell authored
this allows drivers to register generic device names for a device class, with automatic class instance handling
-
Andrew Tridgell authored
this allows drivers to register generic device names for a device class, with automatic class instance handling
-
- Aug 05, 2013
-
-
px4dev authored
Add direct-access methods to the base Device class, so that there's a common way of talking to drivers regardless of which of the specialised classes they derive from. Make the Device destructor public and virtual, so that arbitrary devices can be deleted. Likewise for classes that derive from it. Make Device::init public so that arbitrary devices can be initialised after being returned by factories.
-
- Jul 14, 2013
- Jul 12, 2013
-
-
px4dev authored
-
- Apr 28, 2013
-
-
Lorenz Meier authored
-
- Oct 30, 2012
-
-
px4dev authored
-
- Oct 24, 2012
-
-
px4dev authored
-
- Oct 21, 2012
-
-
px4dev authored
Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins.
-
- Aug 05, 2012
-
-
px4dev authored
-