Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Arduino-based microcontroller to stabilize model and high power rockets.

branch: master

v 0.11

Added support for 4 servo canards
latest commit 64d2a0e6ca
stew-lilley authored August 09, 2012
Octocat-spinner-32 .gitattributes Initial Development Release August 07, 2012
Octocat-spinner-32 .gitignore Initial Development Release August 07, 2012
Octocat-spinner-32 APM_Config.h Initial Development Release August 07, 2012
Octocat-spinner-32 APM_Config.h.reference Initial Development Release August 07, 2012
Octocat-spinner-32 ArduRocket.ino v 0.11 August 09, 2012
Octocat-spinner-32 Attitude.ino v 0.11 August 09, 2012
Octocat-spinner-32 CMakeLists.txt Initial Development Release August 07, 2012
Octocat-spinner-32 GCS.h Initial Development Release August 07, 2012
Octocat-spinner-32 GCS_Mavlink.ino v 0.11 August 09, 2012
Octocat-spinner-32 Log.ino v 0.11 August 09, 2012
Octocat-spinner-32 Makefile Initial Development Release August 07, 2012
Octocat-spinner-32 Parameters.h v 0.11 August 09, 2012
Octocat-spinner-32 Parameters.ino v 0.11 August 09, 2012
Octocat-spinner-32 README.txt Added README.txt August 07, 2012
Octocat-spinner-32 command_description.txt Initial Development Release August 07, 2012
Octocat-spinner-32 config.h Initial Development Release August 07, 2012
Octocat-spinner-32 control_modes.ino v 0.11 August 09, 2012
Octocat-spinner-32 createTags Initial Development Release August 07, 2012
Octocat-spinner-32 defines.h Initial Development Release August 07, 2012
Octocat-spinner-32 failsafe.ino Initial Development Release August 07, 2012
Octocat-spinner-32 navigation.ino Initial Development Release August 07, 2012
Octocat-spinner-32 options.cmake Initial Development Release August 07, 2012
Octocat-spinner-32 planner.ino Initial Development Release August 07, 2012
Octocat-spinner-32 radio.ino v 0.11 August 09, 2012
Octocat-spinner-32 releasenotes.txt v 0.11 August 09, 2012
Octocat-spinner-32 sensors.ino Initial Development Release August 07, 2012
Octocat-spinner-32 setup.ino v 0.11 August 09, 2012
Octocat-spinner-32 system.ino Initial Development Release August 07, 2012
Octocat-spinner-32 test.ino v 0.11 August 09, 2012
README.txt
ArduRocket v0.1 - Development, Pre-Release
This project is in early development and is nowhere near ready for testing yet.  These sources are provided as a service
to the community so that others can see what we're doing, contribute and/or build on it.  All code is licensed under the
LGPL 2.1 and may be freely modified or distributed.

The ArduRocket design is essentially just a standard model or high-power rocket with a simple attitude control system.
For the prototype it is planned that we will use canard fins, in a 4-fin cruciform arrangement.  Two fins provide pitch,
the other two provide yaw, and all four together provide roll control.  The entire purpose of the ArduRocket controller
is to ensure stable flight in a straight up direction.  Some rockets that aren't passively stable need help with active
stability control, and it's useful to ensure that rockets go straight up even in significant crosswinds.  Planned future
enhancements include motor ignition and parachute deployment.

To build this project you will need the libraries from the original Arduplane source.  Please see that project for details.

Stewart Lilley 8/7/12

Original ArduPlane build notes:
Building using arduino
--------------------------
To install the libraries:
 - copy Library Directories to your \arduino\hardware\libraries\ or arduino\libraries directory
 - Restart arduino IDE

 * Each library comes with a simple example. You can find the examples in menu File->Examples

Building using make 
-----------------------------------------------
 - go to directory of sketch and type "make".
 --type "make upload" to upload according to the parameters in config.mk .

Building using cmake
-----------------------------------------------
 - cd ArduPlane (ArduCopter etc ..)
 - mkdir build
 - cd build
 - cmake .. -DAPM_BOARD=mega -DAPM_PORT=/dev/ttyUSB0
    You can select from mega/mega2560.
    If you have arduino installed in a non-standard location you by specify it by using:
        -DARDUINO_SDK_PATH=/path/to/arduino ..
 - make (will build the sketch)
 - make ArduPlane-upload (will upload the sketch ArduPlane etc.)

    If you have a sync error during upload reset the board or power cycle the board
    before the upload starts.

 
Building using eclipse
-----------------------------------------------

    Getting the Source:

        assuming source located here: /home/name/apm-src
        You can either download it or grab it from git:
        git clone https://code.google.com/p/ardupilot-mega/ /home/name/apm-src

    Generating the Eclipse Project for Your System:
    
        mkdir /home/name/apm-build 
        cd /home/name/apm-build
        cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../apm-src -D BOARD=mega -D PORT=/dev/ttyUSB0

        Here apm-src can be any sketch, ArduPlane/ ArduCopter etc.

        Note: Unix can be substituted for MinGW/ MSYS/ NMake (for windows)
            (see http://www.vtk.org/Wiki/Eclipse_CDT4_Generator)

        input options:

            CMAKE_BUILD_TYPE choose from DEBUG, RELEASE etc.
            PORT is the port for uploading to the board, COM0 etc on windows. /dev/ttyUSB0 etc. on linux
            BOARD is your board type, mega for the 1280 or mega2560 for the 2560 boards.
            ARDUINO_SDK_PATH if it is not in default path can specify as /path/to/arduino
        
    Importing the Eclipse Build Project:

        Import project using Menu File->Import
        Select General->Existing projects into workspace:
        Browse where your build tree is and select the root build tree directory. 
        Keep "Copy projects into workspace" unchecked.
        You get a fully functional eclipse project

    Importing the Eclipse Source Project:
    
        You can also import the source repository (/home/name/apm-src) if you want to modify the source/ commit using git.

    Settings up Eclipse to Recognize PDE files:

         Window > Preferences > General > Content Types. This tree associates a
            filename or filename pattern with its content type so that tools can treat it
            properly. Source and header files for most languages are under the Text tree. 
            Add "*.pde" as a C++ Source.

	Autocompletion:
	
		Right click on source project -> Properties -> Project References -> apm-build Project
    
    Advanced:
    
        * Regenerating the eclipse source project file:
            cmake -G"Eclipse CDT4 - Unix Makefiles" -DECLIPSE_CDT4_GENERATE_SOURCE_PROJECT=TRUE /home/name/apm-src

Build a package using cpack
-----------------------------------------------
 - cd build
 - cmake ..
 - make package
 - make package_source


vim:ts=4:sw=4:expandtab
Something went wrong with that request. Please try again.