- Apr 21, 2015
-
-
Mark Charlebois authored
Changed "linux" target to "posix". Most of the changes are shared with QuRT and with OSX. The Linux specific parts are in for i2c which uses <linux/i2c.h> and <linux/i2c-dev.h>. There is also a check for __PX4_LINUX in mavlink for a tty ioctl that is not supported. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Lorenz Meier authored
-
Lorenz Meier authored
-
- Apr 20, 2015
-
-
Mark Charlebois authored
This should make the CI builder happy again. Also fixed another itdef that should have been ifeq Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The CI builder should work when nuttx is set to be the default Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Seems that mavlink_receiver_linux.cpp inherited the history from mavlink_receiver.cpp so updates went to it vs mavlink_receiver_nuttx.cpp Two module.mk files used ifdef instead of ifeq. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
These changes were required after the rebase to master. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Modified LInux impl to track changes to nuttx impl. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
PX4_ISFINITE resolves the definition of isfinite. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Clang found the following: if (fabsf(airspeed.indicated_airspeed_m_s > 6.0f)) which is doing fsbsf( bool ) Fixed to be: if (fabsf(airspeed.indicated_airspeed_m_s) > 6.0f) Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Added -Wno-gnu-array-member-paren-init to toolchain_native.mk Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
If simulate is not true, then a read I2C device is present. The global scope ioctl should be called on _fd, not px4_ioctl. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Turn off check of stack if not a NuttX build Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Added the pieces required from sched.h Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
DSPAL does not yet provide poll.h and all we need is the defintion of nfds_t. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The hil module did not check for argc < 2. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Added the basic files to start building for QuRT Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Some virtual devices were mapped to /vdev. Putting them back to /dev. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
list_devices will list virtual devices starting with "/dev/". list_topics will list topics ("/obj/") Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The commander module now compiles for Linux. state_machine_helper_linux.cpp iterates over the virtual devices vs all devices under /dev as per NuttX when disabling publishing. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Quelch stderr when looking for clang-3.5. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Call to read should have been px4_read. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Simulator gets incoming MPU data and gives raw MPU data to the gyrosim sensor when read. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The HIL driver now runs in the Linux build Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Simulator listens for UDP input data at port 9876. Data is for now comma separated. Not yet connected to the various sim classes: accelsim, gyrosim, magsim. Barometer measurements not yet supported. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
px4_task_t is negative for failure conditions. It was set mistakenly to pthread_t (which is unsigned) for LInux. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Fixed to use clang 3.4.2 on Ubuntu 12.04 Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Was checking if argc < 1 and then accessing argv[1]. Fixed by checking if argc < 2. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Converted px4_linux_tasks to C++ so the task struct can use a string. Sometimes the name string was in the stack of the calling function and goes out of scope. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The name of the app was adc but should have been adcsim. Added a barometer simulator. This will allow ms56711_linux to depend on real devices and not simulation. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The sensor module is now able to run after the simulation modules are started. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
Use %zd instead of %d or %ld for sizeof(x). Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-
Mark Charlebois authored
The code is based on mpu6000. Signed-off-by:
Mark Charlebois <charlebm@gmail.com>
-