Skip to content

Commit 236d7e2

Browse files
author
Charles Cross
committed
Merge pull request #34 from OpenROV/30.0.3
30.0.3
2 parents 3a65039 + 1916113 commit 236d7e2

File tree

160 files changed

+15567
-11242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+15567
-11242
lines changed

Diff for: .gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ OpenROV/Debug/*
2323
OpenROV/Visual Micro/*
2424

2525
OpenROV_tests/.build/*
26+
27+
OpenRov/__vm/*
28+
dist/
29+
30+
*.sdf
31+
*.sln
32+
*.opensdf
33+
*.suo
34+
*.vcxproj
35+
*.filters
36+

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ deploy:
4444
on:
4545
repo: OpenROV/openrov-software-arduino
4646
all_branches: true
47-
condition: "($REAL_GIT_BRANCH = master )||($REAL_GIT_BRANCH = pre-release )||($REAL_GIT_BRANCH = stable)"
47+
condition: "($REAL_GIT_BRANCH = 30.0.3 )"
4848

4949
notifications:
5050
webhooks:

Diff for: OpenROV/AConfig.h

+39-19
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,65 @@
1-
#ifndef __ACONFIG_H_
2-
#define __ACONFIG_H_
1+
#pragma once
32

4-
/* This must be before alphabetically before all other files that reference these settings for the compiler to work
5-
* or you may get vtable errors.
6-
*/
7-
8-
/* This section is for devices and their configuration. IF you have not setup you pins with the
3+
/* This section is for modules and their configuration. IF you have not setup you pins with the
94
* standard configuration of the OpenROV kits, you should probably clone the cape or controlboard
105
* and change the pin definitions there. Things not wired to specific pins but on the I2C bus will
116
* have the address defined in this file.
127
*/
138

149
#include "BoardConfig.h"
1510

16-
//Kit:
17-
// The boards are auto configure in the on beaglebone build process in the BoardConfig.h which gets
11+
// Kit:
12+
// The boards are auto configure in the on-beaglebone build process in the BoardConfig.h which gets
1813
// created. If running directly in an IDE, the BoardConfig.h wont exist and the #defines below will be
1914
// used instead.
2015

21-
#if !defined(HAS_STD_CAPE) && !defined(HAS_OROV_CONTROLLERBOARD_25)
16+
// ---------------------------------------------------------
17+
// Standard Modules
18+
// ---------------------------------------------------------
19+
20+
// Choose a cape or controller board
2221
#define HAS_STD_CAPE (0)
2322
#define HAS_OROV_CONTROLLERBOARD_25 (1)
23+
24+
#if !(HAS_OROV_CONTROLLERBOARD_25) && !(HAS_STD_CAPE)
25+
# error "You must select either standard cape or controllerboard25 in the AConfig.h file as they have predefined pin values required by other libraries."
2426
#endif
2527

2628
#define HAS_STD_LIGHTS (1)
2729
#define HAS_STD_CALIBRATIONLASERS (1)
28-
#define HAS_STD_2X1_THRUSTERS (1)
2930
#define HAS_STD_CAMERAMOUNT (1)
30-
#define HAS_STD_PILOT (1)
31+
#define HAS_STD_AUTOPILOT (1)
32+
#define HAS_EXP_AUTOPILOT (0)
33+
#define HAS_ALT_SERVO (1)
3134
#define DEADMANSWITCH_ON (1)
3235

33-
//After Market:
36+
// Thrusters configurations
37+
#define THRUSTER_CONFIG_NONE (0)
38+
#define THRUSTER_CONFIG_2X1 (1)
39+
40+
// Selected Thruster Configuration
41+
#define THRUSTER_CONFIGURATION THRUSTER_CONFIG_2X1
42+
43+
44+
// ---------------------------------------------------------
45+
// After Market Modules
46+
// ---------------------------------------------------------
47+
48+
// Pololu MINIMUV
3449
#define HAS_POLOLU_MINIMUV (0)
50+
51+
// MS5803_XXBA Depth Sensor
3552
#define HAS_MS5803_XXBA (1)
3653
#define MS5803_XXBA_I2C_ADDRESS 0x76
54+
55+
// MPU9150 IMU
3756
#define HAS_MPU9150 (1)
38-
#define MPU9150_EEPROM_START 2
3957
#define HAS_BNO055 (1)
58+
#define MPU9150_EEPROM_START 2
59+
#define HAS_ALT_SERVO (1)
60+
#define ALTS_MIDPOINT 1500
61+
#define ALTS_MINPOINT 1000
62+
#define ALTS_MAXPOINT 2000
4063

41-
#if !(HAS_OROV_CONTROLLERBOARD_25) && !(HAS_STD_CAPE)
42-
# error "You must select either standard cape or controllerboard25 in the AConfig.h file as they have predefined pin values required by other libraries."
43-
#endif
44-
45-
#endif
64+
// BNO055 IMU
65+
#define HAS_BNO055 (1)

0 commit comments

Comments
 (0)