41 Commits

Author SHA1 Message Date
Marcus Eliasson
ec6e6fca66 Added memory module 2015-01-19 10:25:44 +01:00
Marcus Eliasson
be811b222b Added memory port for Crazyflie 2.0 compatibility 2015-01-19 10:25:05 +01:00
Arnaud Taffanel
1b0262c3fc Added LOG API to read variable from within the coper 2014-04-14 17:35:08 +02:00
Arnaud Taffanel
98a8d83a88 log: create_block returns EEXIST if a log block already exists 2014-01-29 12:36:49 +01:00
Arnaud Taffanel
367b49d423 sensorfusion6: Fixed euler angle calculation asin() crash
Clamping gx in [-1, 1] to prevent asin() from crashing the copter
2014-01-22 16:59:06 +01:00
Arnaud Taffanel
7df37cf7d7 sensorfusion6: Fixed roll/pitch/yaw calculation
Follows equation found on http://www.chrobotics.com/library/understanding-quaternions
2014-01-22 16:36:29 +01:00
Arnaud Taffanel
3539213472 Stabilizer: Added acceleration vector magnitude log variable
Can be used for stuff like free-fall detection. Value sent is the square of the
magnitude (sqrt is cheaper on the pc side).
2014-01-14 13:59:47 +01:00
tobbeanton
184841541b Added magnetometer to logging. Did some cleanup. 2013-12-18 16:02:26 +01:00
tobbeanton
ac93c2d541 Fixed hanging of 6-DOF version due to not having barometer. 2013-10-22 09:58:09 +02:00
tobbeanton
e538f37942 Updated Z acceleration function to calculate with all three axis. Fixed log packet time stamp. 2013-10-21 21:11:42 +02:00
tobbeanton
0cdbc5c057 Merged hover mode from omwdunkley branch and did initial adaptation. 2013-10-21 14:41:04 +02:00
Marcus Eliasson
a17b84a846 Added logging and parameters to check status. Closes #11. 2013-09-25 10:47:26 +02:00
Marcus Eliasson
f2423db618 Fixed macros for easy DEBUG_PRINT redirection to UART. 2013-09-19 15:21:32 +02:00
Marcus Eliasson
c373a9af2f Stop logging and flush CRTP queues after 2s of link inactivity. Radiolink-layer queue is now also no-blocking. 2013-09-19 14:30:18 +02:00
omwdunkley
440634d9f7 thrust now turns off in hover mode if flie disconnects 2013-09-10 20:47:33 +02:00
omwdunkley
a5646d6b94 fixed bug where I tried to send a float as a uint_16 2013-08-29 01:22:44 +02:00
omwdunkley
c6b1c6d56c forgot to subtract gravity from vertical acceleration 2013-08-28 03:05:46 +02:00
omwdunkley
3f4bf50fb3 added initial hover support 2013-08-28 03:00:01 +02:00
Tobias Antonsson
f898f52673 Merged in krasin/crazyflie-firmware (pull request #9). Fix url to open x-IMU algorithm 2013-07-29 13:37:23 +02:00
Ivan Krasin
4d210047e8 Fix url to open x-IMU algorithm 2013-07-24 23:04:57 +00:00
danmark
46528fea5e According to pull reqest #5 accelerometer logging should be enabeled.
I figured gyro logging should be too.

N.B! the code is not tested! my cf is not working at the moment..
2013-07-17 09:05:50 +00:00
Tobias Antonsson
59504f8bfc Merged in erget/crazyflie-firmware/accelerometerLogging (pull request #5)
Expose accelerometer values for logging in the PC client
2013-06-09 11:22:44 +02:00
Tobias Antonsson
df67090077 Renamed motor defines from front, right... to M1, M2... as it doesn't assume anything about the orientation.
Adapted code to coding standard.
2013-06-05 09:05:49 +02:00
erget
ae1616fd75 Expose accelerometer values for logging 2013-05-22 20:20:59 +02:00
Tobias Antonsson
e969d51350 Fixed bug with yaw not resetting into new position. Caused by that the rate PIDs where not reset. 2013-04-20 21:06:20 +02:00