Commit Graph

1766 Commits

Author SHA1 Message Date
Lorenz Meier 5b354b9631 PWM driver: Fix _IOC to _PX4_IOC for getting servo rate 2015-06-29 16:10:40 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier ef6092afd9 HMC5883: Calculate correct scaling to apply using multiplication 2015-06-25 14:44:23 +02:00
Lorenz Meier cae604ac1f HMC5883: Increase the number of calibration cycles to ensure a stable result 2015-06-25 14:44:23 +02:00
tumbili 7043869237 VDev:
- increase max number of devices to 200
- increase max number of file descriptors to 200
- add warning if number of file descriptor exceeds max value
2015-06-23 18:32:40 +02:00
tumbili 52b0f17ff3 increase highest pwm to 2150 2015-06-23 12:30:47 +02:00
Lorenz Meier 27cec4a977 VDev POSIX: Fix non-POSIX conformant return value handling 2015-06-19 11:52:07 -07:00
Lorenz Meier d81d20ff0e VDev: Add missing break 2015-06-19 11:51:37 -07:00
tumbili 12feef85bf lower lowest allowed max pwm value to be able to cut rear motors for firefly6 in fw mode 2015-06-19 00:04:24 +02:00
Lorenz Meier 7c8ea1f680 Merge pull request #2370 from PX4/mission_feedback
Mission feedback
2015-06-16 18:18:05 +02:00
Mark Charlebois 729653ba71 SITL: changed posix_default to posix_sitl
The SITL build is now the default posix build.

The linker script for posix was moved to makefiles/posix.
The rc.S file was moved to posix-configs/SITL/init/
The POSIXTEST board definition is now SITL

To run the SITL test run:

make sitlrun

This replaces the make posixrun target.

The build directory is now Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 09:51:07 -07:00
Lorenz Meier 73d179fb59 MS5611 driver: Fix reeset logic via I2C, minor code style fixes. Fixes #2007, identified by Kirill-ka 2015-06-15 17:28:26 +02:00
Lorenz Meier 21ca431131 Tone alarm: Add home set tune 2015-06-15 17:28:05 +02:00
Lorenz Meier b06a533555 OS X porting: Make unit tests compile on OS X 2015-06-13 11:07:17 +02:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier 085a69383a Merged master 2015-06-12 13:40:47 +02:00
Lorenz Meier 0bfc727584 Add more functionality to HIL driver 2015-06-12 13:30:44 +02:00
Lorenz Meier 863a6e8811 HIL driver: Fix boot order race 2015-06-12 09:27:50 +02:00
Lorenz Meier 3f4b5fcb72 HIL driver: Fix boot order race 2015-06-12 09:27:15 +02:00
Mark Charlebois 83bcb95999 POSIX: Added sleep command
The baro was not fully initialized when the sensors module tried to
open it. Added a sleep command and a sleep 2 to rc.S so the baro
is initialized by the time the sensors module tried to read it.

Fixed other noisy errors

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 17:28:46 -07:00
Lorenz Meier 8259102bf1 PX4 IO driver: Fix TRIM upload 2015-06-09 23:06:01 +02:00
Lorenz Meier 284da7d344 PX4IO driver: Support trim values 2015-06-09 14:19:00 +02:00
tumbili a5c214a7bb use orb_advertise_multi:
- subscribe to actuator controls after topic has been advertised
2015-06-08 22:21:59 -07:00
Mark Charlebois 6cb26de74c Multi-uORB support changes - part 1
This adds support for a dynamic build for QuRT and initial
Multi-uORB changes to enable communication between the DSP and
the application processor.

This part of the changes do not affect the POSIX build. This is
enablement for the QuRT build using Multi-uORB. The second part
of the changes will be added in a new module under src/modules.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:21:59 -07:00
Mark Charlebois 99c066c39c HIL: Cleanup creation and initialization
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:21:59 -07:00
tumbili 3d44384731 temporarily don't use multi advert because doesn't work 2015-06-08 22:21:58 -07:00
tumbili fb778af8b3 increase max file descriptors to 100 2015-06-08 22:21:58 -07:00
Lorenz Meier 126ad2247e PX4IO: Code style fixes 2015-06-05 22:45:06 +02:00
Lorenz Meier fe82b412f6 Merge pull request #2269 from mcharleb/uorb-posix-fix
Created px4_access to handle check of virtual files
2015-06-04 08:39:56 +02:00
Mark Charlebois f985a48fbc Created px4_access to handle check of virtual files
uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 16:22:14 -07:00
Mark Charlebois b4152f3daa POSIX: Fixed output for list_topics, list_devices, etc
Removed extra carriage returns in output strings

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:37 +00:00
Luis Rodrigues f3b392513d fixed timming issued in I2C whoami communication 2015-06-02 10:32:57 +02:00
Lorenz Meier 6a35887f54 Merge pull request #2260 from Terabee/master
fixed timming issued in I2C whoami communication
2015-06-02 01:32:47 -07:00
Lorenz Meier f54080bd43 Merge pull request #2226 from rmackay9/orig-precland6
Driver for the IR Lock vision sensor (derivative of the Pixy vision sensor)
2015-06-02 01:31:01 -07:00
Luis Rodrigues 70bfb42956 fixed timming issued in I2C whoami communication 2015-05-31 21:09:21 +02:00
Mark Charlebois 6343b2c56f px4_poll fix - was sleeping for usec instead of ms
There was a conversion error in the timeout (in ms)
passed in and the ts.tv_nsec field of the struct timeval.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-29 13:26:29 -07:00
Mark Whitehorn 61904d3106 fix type mismatch 2015-05-29 10:05:29 -06:00
Randy Mackay 7dcef40516 irlock: report target in radians 2015-05-29 16:50:48 +09:00
Randy Mackay 54308288f3 irlock: formatting fixes 2015-05-29 16:50:48 +09:00
Randy Mackay 10139400d5 irlock: simplify driver
Remove ioctl calls by always starting cycling
Remove unused orb variables and includes
Remove unused angle from irlock_s structure
Add test and set I2C address to pixy default
Reduce max num objects to 5
Add read errors reporting via nsh
2015-05-29 16:50:47 +09:00
Michael Landes 210ad9e36c irlock: initial version of IR-LOCK sensor driver
Also works with the Pixy Cam
2015-05-29 16:50:46 +09:00
Lorenz Meier c62ae87c69 Merge release_v1.0.0 into master 2015-05-28 18:08:31 -07:00
Lorenz Meier 46920cfd27 GPS driver: Obey non-publish flag in all modes 2015-05-28 17:41:26 -07:00
Mark Charlebois 35e0d866eb Fix compare of int and uint32
VEHICLE_CMD_START_RX_PAIR is defined as uint32 and is being compared to an int.
GCC complains about this and fails. Changed int cast to a unsigned int.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 19:43:54 -07:00
Lorenz Meier 2d156b39a0 trone driver: Update topic names 2015-05-27 15:21:33 -07:00
Lorenz Meier ad251d558f px4io driver: update command names 2015-05-27 15:21:33 -07:00
Lorenz Meier f46cbae012 px4flow driver: update topic names 2015-05-27 15:21:33 -07:00
Lorenz Meier 7bfeb1f5ac mb12xx: Update topic names 2015-05-27 15:21:33 -07:00
Lorenz Meier 041a963ca1 ll40s driver: Update topic names 2015-05-27 15:21:33 -07:00
Lorenz Meier ffc6bb7e85 gimbal driver: Update topic names 2015-05-27 15:21:33 -07:00