Commit Graph

580 Commits

Author SHA1 Message Date
Felix Ruess b5983c3c8f [sim] fix get settings in NPS and other sims
since we directly subscribe to the ivy messages from the GCS, need to listen for
GET_DL_SETTING instead of DL_GET_SETTING
2013-03-29 22:49:21 +01:00
Felix Ruess de13525fd3 Merge branch 'ocamlfind_no_custom'
- Use findlib (ocamlfind) for ocaml packages.
- Create META file for pprz ocaml lib.
- Link dynamically instead of statically (no -custom), which also results in faster build times.
- Use mktemp to properly create temporary files.
- More makefile cleanup...

closes #274
2013-03-29 20:18:09 +01:00
Stephen Dwyer cf14957de8 [sim] need to include path to caml/*.h files for compiling c files on OS X 2013-03-26 14:06:42 -06:00
Felix Ruess 5e1f491b45 [makefile] no explicit dependencies on libpprz 2013-03-21 15:11:25 +01:00
Felix Ruess 346fc0c416 [makefile] set OCAMLC and OCAMLOPT to use ocamlfind 2013-03-20 00:50:06 +01:00
Felix Ruess 7ce7fc917a [nps] fix time: initialize sys_time by adding missing PERIPHERALS_AUTO_INIT 2013-02-27 21:47:42 +01:00
Felix Ruess 70fc079e67 [sys_time] replace SYS_TIME_RESOLUTION with SYS_TIME_FREQUENCY 2013-02-27 00:50:21 +01:00
Gautier Hattenberger 390d02ab49 [makefile] use pprzlib has a proper ocaml package 2013-02-25 09:47:44 +01:00
Felix Ruess bdb608c3ae [makefile] fPIC for sim... 2013-02-23 12:32:00 +01:00
Gautier Hattenberger 00018d3297 [makefile] seems to work fine now 2013-02-23 12:31:59 +01:00
Gautier Hattenberger 737d7d3c8b [makefile] silence clean target and add missing Makefile 2013-02-23 12:31:59 +01:00
Gautier Hattenberger 446231949b [makefile] more makefile cleaning and dynamic loading 2013-02-23 12:31:59 +01:00
Gautier Hattenberger b81ae24917 [makefile] most of the ocaml tools are compiling with shared lib
some issues with mixed static/shared lib
2013-02-23 12:31:59 +01:00
Gautier Hattenberger 8b9266fb46 [sim] fix symbolic link 2013-02-20 18:25:37 +01:00
Felix Ruess 2e82195de4 [sim] really add launchsitl as symlink to pprzsim-lauch for backwards compat 2013-02-08 16:26:07 +01:00
Felix Ruess d5a843ef91 [nps] disable buffering for stdout, so it works nicely in paparazzi center 2013-01-24 13:20:18 +01:00
Felix Ruess 17c6cf2cac [sim] removed launchsitl and replaced it with symlink to pprzsim-launch 2013-01-24 13:01:44 +01:00
Felix Ruess bab3e018af [simulators] renamed ppzsim-launch to pprzsim-launch, minor updates to help 2013-01-24 12:05:26 +01:00
Gautier Hattenberger c3f63ca63b [sim] check targets and ask which simulator to use 2013-01-24 11:35:41 +01:00
Felix Ruess 3e58b39e52 [simulator] added ppzsim-launch script to launch all sims with appropriate parameter checking 2013-01-23 17:11:10 +01:00
Felix Ruess 471ae7cca0 [nps] added option to specify ivy bus 2013-01-23 17:11:09 +01:00
Felix Ruess 9d55d6f19c [nps] added --fg_time_offset parameter to set an offset in seconds so you can fly e.g. in daylight 2013-01-23 16:21:26 +01:00
Felix Ruess a7501408b0 [nps] if NPS_JS_MODE_AXIS is defined: use it as axis for the mode channel instead of buttons
add fraser jsbsim quadrotor model with front/back motors turning CCW, left/right CW
2013-01-23 13:24:58 +01:00
Felix Ruess d5b53269ba cleanup: remove ident from source files. 2012-11-11 16:10:31 +01:00
Felix Ruess 8bff1b46c9 [build system] clean up makefiles and fix dependencies, parallel build with make -j 8 seems to work now 2012-11-10 19:45:22 +01:00
Gautier Hattenberger b3f9aa19bf [fix] small bug fix
- include missing in pwm_arch
- command trims for FW in FBW only
- duplicate function name
- remove depreciate CONTROL_RATE
2012-10-23 14:19:31 +02:00
Gautier Hattenberger 67768facc4 [actuators] fix and clean 2012-10-19 22:54:38 +02:00
Gautier Hattenberger f30b8d6469 [actuators] fix some bugs 2012-10-19 21:32:09 +02:00
Gautier Hattenberger 13565a0e06 [actuators] some bug fix
- actuators test programms are disabled for now, needs more work
2012-10-19 17:07:37 +02:00
Felix Ruess c74e9debd5 clean trailing whitespaces in Makefiles 2012-09-13 15:05:23 +02:00
Felix Ruess 89cd9e4f02 clean a lot of trailing whitespaces 2012-09-13 14:45:10 +02:00
Gautier Hattenberger 04750bd934 [fix] update integer not float... 2012-08-23 16:30:29 +02:00
Gautier Hattenberger 1ba1d24295 [nps] ahrs bypass feeds state interface 2012-08-23 15:40:58 +02:00
Felix Ruess 2bcaefe9e1 [nps] use magnetic field from airframe file if defined there
make it possible to disable the bypassing of the ahrs via define
2012-07-24 21:13:33 +02:00
Tobias Muench 49d601a010 implementation of pitch_response_factor 2012-07-10 16:20:48 +02:00
Stephen Dwyer 3fd335c358 [nps] Switched radio control via joystick to use SDL instead of native linux interface for cross-platform support.
* now explicitly update the joystick values instead of running in a glib event loop
 * combination of polled axes and event driven buttons
 * options now uses just the SDL index as an optional argument, defaults to index 0 (first joystick on system)
closes #232
2012-06-30 14:21:40 +02:00
Felix Ruess 8c4d6334fd [nps] define UICLC flag to 0 if not known (e.g. on OSX as the flag is not in POSIX) 2012-06-30 14:19:09 +02:00
Felix Ruess d3a1ad3150 Merge fixes from preparation branch 'v3.9'
* fix rotorcraft adaptive vertical control numerical issues
* fix openlog
* mode switching via two 2-way switches instead of one 3-way
* NPS:
 * fix waypoint altitude
 * renamed fdm subsystem type from nps to jsbsim
 * fix ground interaction issues, can now be initialized on the ground
2012-06-25 14:31:38 +02:00
Stephen Dwyer 3700658c61 added a -h help option and made the help text a bit more readable 2012-06-25 13:54:35 +02:00
Felix Ruess 2e21c68037 [nsp] fix some time issues 2012-06-24 14:08:06 +02:00
Felix Ruess e6ce6dcac8 [nps] no more hover initialization hack 2012-06-24 14:08:06 +02:00
Stephen Dwyer 1fb91b577e fixed display time now, needed pause offsets added in, timing seems to work now for time factors greater AND smaller than 1.0 2012-06-24 14:08:06 +02:00
Stephen Dwyer 2de9b81ed1 updated timing to use autopilot PERIODIC_FREQUENCY as base, jsbsim steps based on SIM_DT, fixed out of ground timestep check to include vehicle radius, added some debug printf's based on DEBUG_NPS_JSBSIM and DEBUG_NPS_TIME, checks if simulation runs will get behind real time at higher time factors, tried to fix display output timing, still needs to be fixed 2012-06-24 14:08:06 +02:00
Stephen Dwyer 22014e87c8 improved ground interaction for JSBSim by decreasing fdm step size when close to ground 2012-06-24 14:08:06 +02:00
Felix Ruess e84cabf85a [nps] fix altitude 2012-06-22 01:05:00 +02:00
Felix Ruess a34ed01cba [jsbsim] deprecated CONTROL_RATE, use CONTROL_FREQUENCY instead (defaults to 60Hz) 2012-06-14 10:41:45 +02:00
Stephen Dwyer dda784182f [nps] updated for newer versions of JSBSim (new FGAccelerations class) and started some doxygen comments 2012-06-13 10:53:01 +02:00
Stephen Dwyer 6f467d6817 [nps] updated for newer versions of JSBSim (new FGAccelerations class) and started some doxygen comments 2012-06-13 10:52:05 +02:00
Gautier Hattenberger 5adfacac90 Merge pull request #205 from flixr/nps_sim
target 'nps' for the nps simulator
2012-06-05 04:31:24 -07:00
Felix Ruess 7290c97b37 Merge fixes and cleanup from branch 'v3.9'
* a bit airframe and subsystem cleanup
* some usability improvements for the calibration utility
* fixes for nps simulator
* cleanup of ahrs float_dcm
2012-06-04 13:18:01 +02:00