Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Mark Charlebois
bf429188b4
Reverted: Use OS independent API for task creation/deletion
...
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Mark Charlebois
ddb32742eb
Use OS independent API for task creation/deletion
...
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.
The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Thomas Gubler
14aa5f9441
add topic header includes
2015-01-25 15:00:35 +01:00
Thomas Gubler
f4e0dc2857
Merge remote-tracking branch 'upstream/master' into dev_ros
...
Conflicts:
.gitmodules
2014-12-29 08:00:12 +01:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Thomas Gubler
9520983e08
lots' of header juggling and small changes to make mc att control compile for NuttX and ROS
2014-12-16 08:24:51 +01:00
Lorenz Meier
41fe04776f
Fix up stack sizes
2014-11-17 14:59:36 +01:00
Lorenz Meier
1fc7b58894
Bottle drop: Less chatty
2014-11-15 16:54:47 +01:00
Lorenz Meier
42575bbc37
Bottle drop: Optimize for size
2014-11-15 13:54:38 +01:00
Lorenz Meier
e65ec1b98b
bottle drop: Be less aggressive about scheduling
2014-09-21 13:50:43 +02:00
Julian Oes
f681c6b5a3
bottle_drop: don't talk about distance and error
2014-09-20 22:37:10 +10:00
Julian Oes
6aee0baa30
Merge pull request #12 from swissfang/bottledrop
...
Drop at the exact timing, drop only if facing into the right direction
2014-09-20 19:07:34 +10:00
Lorenz Meier
6791ab72a9
Run faster for better accuracy.
2014-09-11 01:06:30 +02:00
Lorenz Meier
1512bf727c
Remove useless modulo throttling, which is a nice source of potential non-trivial non-determinism / timing issues.
2014-09-11 01:04:02 +02:00
Lorenz Meier
bc880a3ff9
Fix dt calculation which is used to calculate correct drop time.
2014-09-11 01:02:35 +02:00
Lorenz Meier
8296a14e9b
Bottle drop: Better cd default
2014-09-06 14:36:25 +02:00
Lorenz Meier
cb11d1f99e
Better message formatting
2014-09-06 12:00:37 +02:00
Lorenz Meier
3834796ce9
More user feedback on approach angle and approach error. Fix check for approach error
2014-09-06 11:39:56 +02:00
Lorenz Meier
960587b10f
Drop at the exact timing, drop only if facing into the right direction
2014-09-06 11:03:32 +02:00
Lorenz Meier
5134015800
always obey commands in bottle drop
2014-09-03 18:15:12 +02:00
Lorenz Meier
706e5809a1
Fix variable name in param
2014-08-31 17:02:33 +02:00
Lorenz Meier
056693df44
Add drag coefficients to adjust bottle drop to other objects to ease testing
2014-08-31 15:55:03 +02:00
Lorenz Meier
592f6f2bcb
Revert "Fix drop offset: We want to drop so that the wind carries the bottle into the drop zone"
...
This reverts commit ef0a0a1a6e .
2014-08-30 16:44:30 +02:00
Lorenz Meier
ef0a0a1a6e
Fix drop offset: We want to drop so that the wind carries the bottle into the drop zone
2014-08-24 12:05:12 +02:00
Lorenz Meier
d604985e08
Bottle drop: Fix signs and comments
2014-08-22 17:22:35 +02:00
Lorenz Meier
3f37efc046
Fix a bunch of stupid mistakes on coordinates / distances, set number of waypoints to zero once reached
2014-08-22 14:41:35 +02:00
Lorenz Meier
8e9eddcc74
Merge branch 'test_bottle_drop_paul' into bottle_drop_friday
2014-08-22 14:37:12 +02:00
Lorenz Meier
bdd4f028ee
Fixed copy-paste errors in drop waypoint coordinates
2014-08-22 14:36:31 +02:00
Lorenz Meier
7add88719f
Merge branch 'test_bottle_drop_paul' of github.com:swissfang/Firmware into test_bottle_drop_paul
2014-08-22 14:30:56 +02:00
Lorenz Meier
0f7c392614
Initialize altitude is relative field for drop locations
2014-08-22 14:30:34 +02:00
Lorenz Meier
04ad990254
Fixed build issues
2014-08-22 07:08:30 +02:00
Lorenz Meier
e6a8eebd0a
Fixed approach / navigation logic for bottle drop
2014-08-21 21:43:53 +02:00
Lorenz Meier
7187e29b52
Fix altitude handling
2014-08-21 20:58:24 +02:00
Lorenz Meier
8e7722f894
Open bay at a minimum distance of 5 meters, irrelevant of the velocity
2014-08-21 15:47:37 +02:00
Lorenz Meier
7c7dce3b44
Open doors sooner for drop
2014-08-21 15:46:58 +02:00
Lorenz Meier
1026805422
removed unnecessary switch statement
2014-08-21 15:41:03 +02:00
Lorenz Meier
6051b2112e
Moved pos output
2014-08-21 15:31:06 +02:00
Lorenz Meier
0bdf28f9ba
audio feedback on distance
2014-08-21 15:26:04 +02:00
Lorenz Meier
2a99ff39dc
Robustify bottle drop
2014-08-21 15:14:55 +02:00
Lorenz Meier
47b3f1253e
Fix bottle drop logic
2014-08-18 16:47:30 +02:00
Simon Wilks
789f949e74
Added debugging and small locking fix.
2014-08-17 10:19:48 +02:00
Simon Wilks
8a066a85fa
Fixed bottle drop to operate in GPS outdoor test, pending test flight
2014-08-16 17:53:51 +02:00
Simon Wilks
26b2f73c6f
Call the appropriate functions directly.
2014-08-16 14:42:18 +02:00
Lorenz Meier
61d052ede7
Fix param value
2014-08-15 23:41:57 +02:00
Lorenz Meier
f8f72d665d
Last drop fixes and adjustments
2014-08-15 23:40:53 +02:00
Simon Wilks
0c78794e57
Fix the index numbers and command max travel in the app for the drop servo.
2014-08-14 16:43:49 +02:00
Lorenz Meier
d6c018d14b
Bottle drop iteration - commandline tool for component testing
2014-08-12 17:57:47 +02:00
Lorenz Meier
f47cf9a002
Bottle drop: C++ify full code base, fix transformation assumptions and other things, ready for integration testing
2014-08-11 14:52:45 +02:00
Julian Oes
64148a9e2a
bottle_drop: changed servo travels to match Simon's viper
2014-03-30 15:01:07 +02:00