Mark Charlebois
4a4fcb5d75
Linux: fixes for gcc
...
Fixes to compile with gcc
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:57:01 -07:00
Mark Charlebois
62f8bd6679
Linux build support for some libs
...
The following libs can now be built under Linux:
lib/mathlib
lib/geo
lib/geo_lookup
The constants used for ROS are now shared with Linux in
px4_defines.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:57:01 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Mark Charlebois
82a7fd5115
Code uses px4_config.h instead of nuttx/config.h
...
Use OS independent header file for config info.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Mark Charlebois
520459062d
Initial Linux support including execution shell
...
Uncomment the following line in setup.mk and comment out the line above
to enable the Linux build.
export PX4_TARGET_OS = linux
The build uses the clang compiler by default. The final bundled executable
is mainapp located in:
Build/linux_default.build/mainapp
When you run mainapp it will provide a list of the built-in apps. You can
type in the commands to run such as:
hello_main start
Because the Linux build is threaded and does not support tasks or processes,
it cannot call errx, exit() _exit(), etc. It also requires unique scoped
variables to test if a thread is running or if an application should exit.
The px4::AppMgr class was added in px4_app.h for this purpose. The
hello sample app demonstrates how this is used.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:46:43 -07:00
Thomas Gubler
747a00d70d
simulator repository was renamed
2015-04-09 20:08:11 +02:00
Andreas Antener
9924f5519f
update attitude and position setpoint topics
2015-04-08 13:41:40 +02:00
Bharat Tak
a8d4572cfa
Fix issue #1972 . Tested in gazebo and verified vehicle_status.arming_state on rqt_plot
2015-04-03 11:14:40 +02:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Andreas Antener
050473b3b5
added member vars for att_sp and offboard_control_mode
2015-03-15 12:25:52 +01:00
Andreas Antener
6f22cd07da
fixing handling of attitude setpoints
2015-03-15 12:10:53 +01:00
Thomas Gubler
c07c39bc43
update ros launch files and nodes for update of rotors_simulator
2015-03-10 20:56:53 +01:00
Andreas Antener
cbbc660b88
arm automatically when offboard control mode is set
2015-02-28 18:25:36 +01:00
Thomas Gubler
e5d54a487f
ros offboard attitude sp demo: move attitude
2015-02-28 18:25:36 +01:00
Thomas Gubler
7ff84c0dcf
ros: offboard attitude demo node: make quad jump
2015-02-28 18:25:36 +01:00
Thomas Gubler
5b0423109f
ros mavlink dummy node: improve offboard attitude setpoint handling
2015-02-28 18:25:36 +01:00
Thomas Gubler
27511324ff
ros: add offboard attitude sp demo (WIP)
2015-02-28 18:25:35 +01:00
Thomas Gubler
80fbb512c9
ros: mavlink node: update to latest offboard code
2015-02-28 18:25:35 +01:00
Thomas Gubler
c4b4c5fa41
fix year in file header
2015-02-28 18:25:35 +01:00
Thomas Gubler
1a6cbe170c
ros: demo node for offboard position setpoints
2015-02-28 18:25:35 +01:00
Thomas Gubler
b829b553f4
ros: mavlink dummy node: actually call handle_msg_set_position_target_local_ned
2015-02-28 18:25:35 +01:00
Thomas Gubler
8b40112e9f
ros: commander dummy node: fix offboard support
2015-02-28 18:25:35 +01:00
Thomas Gubler
ae64e4e05c
ros: manual input (joystick) node: correctly initilize switches
2015-02-28 18:25:35 +01:00
Thomas Gubler
5beafd25e6
ros: mavlink dummy node: handle position target local ned mavlink messages and forward them to position_setpoint_triplet
2015-02-28 18:25:35 +01:00
Thomas Gubler
6e69558b42
enable force setpoint message for multiplatform
2015-02-28 18:25:35 +01:00
Thomas Gubler
ca250d21eb
ros: mavlink dummy node: listen to vehicle local position and publish to mavlink (LOCAL_POSITION_NED)
2015-02-28 18:25:35 +01:00
Thomas Gubler
582c664a9c
ros: commander dummy node: set control flags in offboard mode
2015-02-28 18:25:35 +01:00
Thomas Gubler
01b8a18ad5
ros: mavlink dummy node: parse attitude target messages
2015-02-28 18:25:35 +01:00
Thomas Gubler
4869f9f3d4
ros:manual input dummy node: add offboard button
2015-02-28 18:25:35 +01:00
Thomas Gubler
3475d8883b
enable offboard control mode topic for multiplatform
2015-02-28 18:25:34 +01:00
Thomas Gubler
93f8fc33c8
ros mavlink node: handle set_attitude_target
2015-02-28 18:25:34 +01:00
Thomas Gubler
3e5cbfcf77
ros: mavlink onboard node: send attitude via mavlink
2015-02-28 18:25:34 +01:00
Thomas Gubler
001575e740
ros: mavlink node: add mavconn link
2015-02-28 18:25:34 +01:00
Thomas Gubler
2d0c5616cb
ros: add skeleton for mavlink node
2015-02-28 18:25:34 +01:00
Thomas Gubler
347047bafc
get rid of lots of multiplatform macros, oh yeah
2015-02-08 17:53:26 +01:00
Thomas Gubler
d1e14741cd
mixer node: do not use macros
...
This is not a portable module (ros only). Hence use the native ros
types.
2015-02-08 17:53:26 +01:00
Thomas Gubler
fbcf2c8fb5
add missing __EXPORT
2015-02-08 17:53:26 +01:00
Thomas Gubler
18c7aa9993
param api: run fix code style script
2015-02-08 17:53:26 +01:00
Thomas Gubler
04cc8922e4
param api: load param value correctly
2015-02-08 17:53:26 +01:00
Thomas Gubler
1097f5f55c
fix comments
2015-02-08 17:53:26 +01:00
Thomas Gubler
bc8efeb73e
add param api also for firmware builds
2015-02-08 17:53:26 +01:00
Thomas Gubler
df5ad88df7
add px4 parameter api class (with ros implementation)
2015-02-08 17:53:25 +01:00
Thomas Gubler
18cc20b04b
parametrize imu input for ros dummy att estimator
2015-02-04 21:34:56 +01:00
Thomas Gubler
82b8a42929
fix timestamp problem in dummy pos estimator
2015-02-01 10:53:48 +01:00
Thomas Gubler
6a122ab643
ros att estimator dummy node: publish timestamp
2015-01-30 12:24:33 +01:00
Thomas Gubler
76d2417cc5
fix comment
2015-01-29 19:02:43 +01:00
Thomas Gubler
990573aef3
fix logic error in manual input node
2015-01-29 17:11:01 +01:00
Thomas Gubler
869d4115fa
ros mixer: remove debug output
2015-01-29 16:02:58 +01:00
Thomas Gubler
a0ae5aeebb
commander dummy node: small fix for vehicle_control_mode
2015-01-29 14:34:10 +01:00