Lorenz Meier
efb60ab779
multiplatform pos controller: Rename params to prevent mixup with MPC params
10 years ago
Lorenz Meier
e400ec586d
multiplatform att controller: Rename params to prevent mixup with MC params
10 years ago
Lorenz Meier
164a254214
Merge pull request #2143 from PX4/mc_pos_D_reset
...
mc_pos_control: always update previous velocity
10 years ago
Roman Bapst
cf27fc59c7
read hil sensor message instead of highres imu message
10 years ago
mcharleb
c1927b7387
Merge pull request #9 from tumbili/send_controls
...
send pwm outputs to simulator
10 years ago
tumbili
9686f8004e
send pwm outputs to simulator
10 years ago
mcharleb
21d7e4f24f
Merge pull request #8 from tumbili/serial_device
...
read serial device to obtain manual control setpoint
10 years ago
tumbili
3a79679e2d
get manual control setpoint from PIXHAWK
10 years ago
Mark Charlebois
3db5f3bb3b
QuRT: toolchain changes
...
Reworking toolchain and main.cpp for QuRT to a final link can be
done and the apps.h file is autogenerated.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
14cbd240ff
QuRT: added qurt_log
...
Implement as a printf for now
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
d0bf4ab449
Simulator: refactored mavlink additions
...
QuRT does not support UDP so moved the mavlink specific code
to a new file that is not built for the qurt target
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
2f434eb395
POSIX: fixups for px4_log.h change
...
After merge from qurt branch, fixups for posix build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
2d32395bc0
Merge branch 'qurt' into linux
10 years ago
Mark Charlebois
a99f916bdf
POSIX: Changed px4_debug.h to px4_log.h
...
Also changed use of printf to PX4_WARN or PX4_INFO in posix and
qurt tests.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
mcharleb
11010a648c
Merge pull request #7 from tumbili/polling
...
implemented polling to prevent unnecessary cycling.
10 years ago
tumbili
c074d6e913
implemented polling of socket file descriptor and uorb topic file descriptor
10 years ago
mcharleb
c303525336
Merge pull request #6 from tumbili/simulator_udp
...
implemented bidirectional udp communication with simulator
10 years ago
Lorenz Meier
b3ed0cf36b
Navigator: be more verbose about RTL
10 years ago
Lorenz Meier
a124bc07aa
Ensure SYS_AUTOSTART param is always selected
10 years ago
Lorenz Meier
7f3f572c40
Always boot, even with no pressure sensor or ADC. Fixes #2151
10 years ago
tumbili
b6441d2966
implemented new mixer strategy
10 years ago
tumbili
9119687177
make socket non-blocking, moved socket includes to header file to avoid forward declarations
10 years ago
tumbili
39711ca908
implemented bidirectional udp communication with simulator
10 years ago
Lorenz Meier
29eeb724a1
commander: Enforce rotation during mag calibration step
10 years ago
Lorenz Meier
3be1fc7d42
commander gyro calibration: Do not require a specific position, automatically start a retry after motion on the first try
10 years ago
Mark Charlebois
0ba5305e94
QuRT: satisfy missing deps
...
There is no ioctl or write. Added stubs.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
84ca66dcf7
QuRT: updated task support based on posix fixes
...
The posix layer implementations should work on QuRT.
QuRT needs to provide a way for getting the current time.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
3225edfabb
QuRT: Really reverted to non-posix APIs
...
Using non-posix APIs for now.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
ad1865ef9f
QuRT: Move to POSIX API for threads
...
Use the pthread APIs to implement task support
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
8dfb09418b
QuRT: added #include<px4_time.h> to posix unit tests
...
QuRT does not define usleep and sleep, so they are stubbed out
for now.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
8caefc183d
QuRT: updated toolchain file to link against libdspal.a
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
fd3715912e
QuRT: stub out missing functions
...
Stub out the missing functions to enable running in the simulator
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
632f77df49
QuRT: add drivers/led
...
The drivers/led module was missing from the QuRT config
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
a0d548db9a
Changed circuit_breaker to not use px4.h
...
The inclusion of px4.h requires C++ features not supported in the
Hexagon toolchain. The features are not required so the required
headers are used instead.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
99822038f3
POSIX: Fixed px4_open code to not create a file when opening a device
...
The code to created a virtual file was preventing the creation of
device nodes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
4216a0d64d
POSIX: remove check for /tmp/ttyS{0|1}
...
The posix build now disables the UART code in mavlink.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
41a2d30cfe
Merge branch 'linux' of http://github.com/mcharleb/Firmware into linux
10 years ago
Mark Charlebois
2002d4e774
POSIX: disable UART in mavlink
...
Most of the current POSIX builds will not use the UART and it
is just a unnecessary dependency to satisfy when running in a
test environment.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
5e2af2b227
POSIX: fixed return values to be posix compliant
...
px4_read, px4_write, and px4_opctl were not returning the correct
value on error. They were returning -errno vs -1.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Thomas Gubler
cc62033190
improve mavlink set_attitude_target handling
...
port #1920 to mavlink_receiver
fixes #1921
10 years ago
Roman Bapst
1d544e028d
mc_pos_control: always update previous velocity to avoid spikes due to differentiation
10 years ago
Lorenz Meier
5003875911
Merge pull request #2141 from PX4/quat_sp
...
copy quaternion setpoint into attitude setpoint topic
10 years ago
tumbili
5cf8efcc60
copy quaternion setpoint into attitude setpoint topic
10 years ago
Simon Wilks
bf23ca70c5
Added log entries for the rc.interfaces file as well.
10 years ago
Simon Wilks
8144a84bc3
Make sure we have a boolog.txt entry for critical failures.
10 years ago
Simon Wilks
ea8ba79481
Read the current flight termination circuit breaker value, not just updated values.
10 years ago
Andrew Tridgell
db8dd000e3
l3gd20: follow same pattern as lsm303d for duplicate rejection
10 years ago
Andrew Tridgell
a710159263
mpu6000: sample at 200usec faster rate to avoid aliasing
...
this runs the mpu6000 200usec faster than requested then detects and
disccards duplicates by comparing accel values. This avoids a nasty
aliasing issue due to clock drift between the stm32 and mpu6000
10 years ago
Andrew Tridgell
3ac95fb581
lsm303d: run sampling 200usec faster to avoid aliasing
...
this runs the sampling of the accelerometer 200usec faster than
requested and then throw away duplicates using the accelerometer
status register data ready bit. This avoids aliasing due to drift in
the stm32 clock compared to the lsm303d clock
10 years ago
Mark Charlebois
6db77dc8bb
Experimental virtual file support
...
QuRT does not have a filesystem, so creating a virtual filesystem
that could be implemented as an in-memory file or a remote file
over fastRPC.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago