Daniel Agar
bc9fb26ccd
commander esc_calibration move to uORB::Subscrition
2019-07-31 20:30:05 -04:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
48d9484ceb
commander fix and enforce code style
2018-11-28 20:42:03 -05:00
Bob-F
2ece14bad1
Port PX4 to BeagleBone Blue Board using library librobotcontrol instead of a submodule
2018-08-06 13:32:36 +02:00
Roman
9d1fa8cee2
esc_calibration: adjust timeout when waiting for user to connect battery
...
to 20 seconds
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman
5d87eed41c
esc_calibration: use hrt_elapsed_time instead of manually calculating the diff
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman
73577df994
esc_calibration: use batter status connected flag instead of checking voltage
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman
beb8c3e152
esc_calibration: use predefined literals
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Roman
8b629454de
esc_calibration: increase safety and initialise all data
...
- do not do calibration if not very sure that battery is not connected
- initialise all structs and variables
Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-03 07:05:38 +00:00
Julian Oes
6ff9fd2209
calibration: remove warning message
...
The calibration warning was only used in the ESC calibration and in all
cases it actually meant that the calibration failed. In order to keep
the API as small as possible, I've deprecated the warning string and
converted the warning messages to failed messages.
2018-06-29 16:07:32 +00:00
davidaroyer
99799d83b1
ocpoc support: update copyright dates
2017-06-04 04:24:50 +08:00
davidaroyer
dbbe3c0863
commander: add support for Aerotenna OcPoC-Zynq hardware
2017-06-04 04:24:50 +08:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Sander Smeets
c4eb65862f
Reduce esc calibration pwm timeout ( #5011 )
2016-07-27 01:52:20 -07:00
Lorenz Meier
d369a26db4
Fix ESC calibration
2016-05-09 08:44:50 +02:00
Lorenz Meier
32cd154d7c
Revert "ESC cal: Increase timeouts"
...
This reverts commit d2575c25563d5731f6db0a1607d096198d32cabe.
2016-05-09 08:37:05 +02:00
Julian Oes
8707cfe9f2
commander: use macro with wait in all calibrations
2016-04-05 15:36:03 -07:00
Felix Hu
bd580e09bf
supports MindPXv2 borad which is a product from AirMind.
2016-03-30 19:45:39 +02:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Lorenz Meier
d2575c2556
ESC cal: Increase timeouts
2016-02-19 22:31:24 +01:00
Don Gagne
fe357a9a66
Separate timeouts for battery and high pwm
2015-05-22 11:24:07 -07:00
Don Gagne
25e7a1a49e
ESC calibration re-work
...
- Uses standard QGC cal mavlink messaging
- Timeout if no battery connect
- Better error handling and cleanup
2015-05-22 09:29:59 -07:00
Mark Charlebois
0cea93a55c
POSIX and QuRT: fixed calls needing px4_ prefix
...
There were some missed calls to open and ioctl that need to be
px4_open and px4_ioctl.
QuRT also does not provide usleep() so px4_time.h has to be included
in files calling usleep.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-05 12:13:39 -07:00
Roman Bapst
be03f98d64
added esc calibration routines
2015-04-28 15:15:46 +02:00