Commit Graph

4817 Commits

Author SHA1 Message Date
Antoine Drouin 44f2502beb added DeInit before initialisation of I2C1 2010-07-17 03:53:47 +00:00
Antoine Drouin 8091b9b072 feeding 6 servos - switched to us resolution 2010-07-16 23:55:09 +00:00
Antoine Drouin da947808c0 added hmc5843, crista and fixed servo test 2010-07-16 23:44:28 +00:00
Felix Ruess 8387ba9846 silence warning about unused attribute 2010-07-16 21:00:44 +00:00
Felix Ruess 07da7660c5 airframe update 2010-07-16 20:37:11 +00:00
Felix Ruess 9bb7e84b85 parse datalink messages in nps 2010-07-16 20:37:04 +00:00
Antoine Drouin b8ef0d8b4d a quick test on quaternion pultiplication 2010-07-16 18:44:13 +00:00
Felix Ruess f666194e7e add jsbsim to default targets of modules 2010-07-16 16:28:25 +00:00
Piotr Esden-Tempski fc555a50e7 Cleanups, the can highlevel functions now accually send the data passed
to them.
2010-07-16 06:59:24 +00:00
Allen Ibara 7f538b7ec4 Keep track of new radio control messages and create new bitfield in the AutopilotMessageUp to indicate when IMU, RC, pressure, or vane fields contain new measurement (as opposed to old one) 2010-07-16 03:41:27 +00:00
Allen Ibara 60a32e97c6 Use RATES_COPY/VECT3_COPY instead of manual copy in lsa_stm_passthrough to shorten a little 2010-07-16 02:59:52 +00:00
Allen Ibara 592d65144d Add PPM Bridge 2010-07-16 02:28:50 +00:00
Allen Ibara 2d983a949b OveroSpiLink Improvements
Use "up" and "down" instead of "in" and "out" since the latter are ambiguous depending on which side of the link you believe you are on.

Replace -OVERO_LINK_MSG_UNION with
OVERO_LINK_MSG_UP and OVERO_LINK_MSG_DOWN

This allows the union type to be defined once, instead of repeating the union boilerplate over and over again.

Defining the up and down messages independently is useful in the case where two airframes share one message but not the other. One can also use the same message for Up and Down (ala AutopilotMessageFoo for stm_test_spi_link)

Change the overo_link union too, replacing the UNION type with the new UP/DOWN types. This way we get type checking on up vs down message type.

For example:
msg_out = &overo_link.msg_out.uni.up;
becomes:
msg_up = &overo_link.up.msg;
2010-07-15 23:18:52 +00:00
Allen Ibara cc65cf1ad3 dont flip signs in imu calibration for lisa_astec.xml 2010-07-15 20:02:35 +00:00
Allen Ibara f700720687 make fms spi autopilot msg body to imu rotation from airframe rather than hard coded to 0 2010-07-15 20:00:31 +00:00
Allen Ibara 382bb906db Use calibration factors from LISA4 from antoine for gyros 2010-07-15 18:47:05 +00:00
Allen Ibara 2dac4b4f60 Fix typo in previous commit 2010-07-15 18:10:10 +00:00
Allen Ibara 3c7687ae6e Copy all 6 PWM outputs in lisa stm passthrough 2010-07-15 18:07:48 +00:00
Allen Ibara 276a4d0778 Enable SERVO5/SERVO6 on TIM4 for lisa passthrough 2010-07-15 18:04:37 +00:00
Piotr Esden-Tempski f3fd4848b8 Initial commit for lisa CAN bus support. 2010-07-15 17:22:32 +00:00
Allen Ibara 0e173ce85d Messages update 2010-07-15 04:30:48 +00:00
Allen Ibara c132bbc83e PWM output for channels 1-4 for lisa stm32 passthrough 2010-07-15 04:29:49 +00:00
Allen Ibara 3732609946 Enable a couple more servo channels for stm32 2010-07-14 03:09:25 +00:00
Felix Ruess b0698d17c8 now fix elif without argument 2010-07-13 21:54:42 +00:00
Felix Ruess 45c1d08e15 Revert "fix elif without argument" wrong file commited
This reverts commit cf9ffec2d6faa2030e36389462070ec668bd6b0b.
2010-07-13 21:54:18 +00:00
Felix Ruess d29aace6bd fix elif without argument 2010-07-13 21:14:53 +00:00
Felix Ruess 3c50f7b48d included airframe header in booz_imu_b2 for proper handling of sensor signs 2010-07-13 16:04:59 +00:00
Felix Ruess bb90eea424 update airframe file 2010-07-13 16:04:52 +00:00
Felix Ruess 6f8a53b90c fix CRLF line endings to LF only 2010-07-12 18:58:43 +00:00
Antoine Drouin b48e002b6f added support for crista imu on stm32 2010-07-12 13:43:59 +00:00
Antoine Drouin 95c210680e added new define for SIGN to allow using positive scale factors only 2010-07-12 13:43:16 +00:00
Antoine Drouin 053b0e6b0a added comment about difference between protocol versions 2010-07-12 13:41:12 +00:00
Antoine Drouin 8e6e6da2e1 fixed typo in comment 2010-07-12 13:40:24 +00:00
Antoine Drouin 01c371cdae fixed mag handler to run without mag 2010-07-12 08:39:34 +00:00
Allen Ibara d9dd4690bf Add fms_spi_autopilot_msg.[ch] for parsing data from stm32 via SPI 2010-07-09 05:56:44 +00:00
Allen Ibara b7497955ac Update messages with new HENRY_GNSS, RDYB_TRAJECTORY messages, update DYNAMIXEL, SYSTEM_STATUS messages, rename AIRSPEED/PRESSURE 2010-07-09 05:43:12 +00:00
Allen Ibara 55fb636518 Add rates_d gains and reference module scheduling (different ref model for different mode) 2010-07-09 05:41:34 +00:00
Allen Ibara c777ca66ca Add BoozImuFloat abstract IMU interface 2010-07-09 05:24:58 +00:00
Allen Ibara 6317ae6af9 Add missing includes for building ap on omap 2010-07-09 02:09:13 +00:00
Allen Ibara fad05a98de Remove unused header includes 2010-07-09 02:06:31 +00:00
Allen Ibara e925065109 Add booz_radio_control_joby and enable it for lisa_stm_passthrough Joby RC over uart with 9channel transmitter 2010-07-09 02:05:48 +00:00
Allen Ibara b51c3ad5f7 Pass mag data along with rest of IMU data 2010-07-08 19:02:31 +00:00
Allen Ibara bb3e28a9e7 Convert IMU data to floating point for overo_test_passthrough 2010-07-08 18:56:18 +00:00
Allen Ibara 90f0e24106 Add actuators to AutopilotPTDown message 2010-07-08 18:44:51 +00:00
Piotr Esden-Tempski bf1f517be5 First basic lisa passthrough and testprogram.
Changed fms structs to packed format.
Added first very basic stm32 passthrough code.
Added a small testprogram for overo picking up fms messages from the
stm32 acting as an IO processor.
Fixed fixed aliasing warnings triggered by struct casting. Now using
unions instead.

Use pt target on the stm32 and overo_test_passthrough on the overo.
2010-07-08 07:52:29 +00:00
Piotr Esden-Tempski 94a4341515 Cleaned up trailing spaces. 2010-07-08 04:19:16 +00:00
Antoine Drouin e4d7938af0 added a message with fields for the absolute and differential sensor on lisa 2010-07-07 18:17:26 +00:00
Piotr Esden-Tempski 72f7fe9d3f Added .hex generation for the stm32 target. 2010-07-07 03:33:15 +00:00
Piotr Esden-Tempski 8251a7e2ad Fixed opt searchpath for overo toolchain. 2010-07-07 03:33:13 +00:00
Piotr Esden-Tempski d0e00ac029 Updated host information for asctec_lisa. 2010-07-07 03:33:10 +00:00