Commit Graph
13 Commits
Author SHA1 Message Date
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 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 67a35eb0b5 remove unneeded files 2015-01-23 18:15:55 +01:00
Thomas Gubler 738f65a705 generate wrapper headers for uorb 2015-01-23 10:34:04 +01:00
Thomas Gubler 1511fd7b2d make handle() static 2015-01-21 16:33:19 +01:00
Thomas Gubler cadcad6ffb messagelayer prototype for nuttx 2015-01-21 14:27:01 +01:00
Thomas Gubler 7c3223b860 added a messageplayer prototype for ros 2015-01-21 14:26:22 +01:00
Thomas Gubler a9c1e4ad61 make px4::ok work, use it in px4::spin 2014-11-28 16:08:51 +01:00
Thomas Gubler 36bf0c04c8 WIP, c++11 style callbacks for px4 2014-11-28 08:58:44 +01:00
Thomas Gubler 0474908e1c reenable task flag 2014-11-26 11:55:48 +01:00
Thomas Gubler e7c1e5b1ff wip, working on the nuttx wrapper 2014-11-26 11:36:23 +01:00
Thomas Gubler 3f36d30a34 wrapped subscriber 2014-11-24 15:58:06 +01:00
Lorenz Meier f36f54c621 Restructuring of generic middleware support files, wrapping of the main ROS calls, skeletons for publishers / subscribers 2014-11-09 11:57:34 +01:00