Skip to content

Commit d8e9c11

Browse files
committed
Open sourced under the MIT License (MIT).
1 parent 660a322 commit d8e9c11

14 files changed

+56
-31
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Zachary J. Fields
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

OIDefines.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#ifndef OI_DEFINES_H
44
#define OI_DEFINES_H
@@ -381,4 +381,4 @@ enum PacketId : uint_opt8_t {
381381

382382
#endif
383383

384-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
384+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

README.txt

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
This is a C++ wrapper for the iRobot Roomba Open Interface.
1+
A C++ wrapper for the iRobot Roomba Open Interface.
22

3-
*NOTES
4-
- OpenInterface class is working - it generates well formed commands for the Roomba
5-
- OISensors class is under construction
6-
- No pull requests will be accepted until the deathstar is fully operational...
3+
SAMPLES:
4+
< coming soon >
75

8-
- To use as is, add "-DDISABLE_SENSORS" to your compile command line
9-
-- Defining DISABLE_SENSORS is not necessary, but it will remove the unusable code from your project.
6+
TODO:
7+
< coming soon >
8+
9+
ATTRIBUTION:
10+
- The makefiles used for compiling the Google Unit Test where taken from Google.
11+
12+
LICENSE:
13+
- The MIT License (MIT). Refer to the LICENSE file for more details.

hardware/gtest/TEST_state.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#ifndef TEST_STATE_H
44
#define TEST_STATE_H
@@ -58,4 +58,4 @@ setInternalsToInitialState (
5858

5959
#endif
6060

61-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
61+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

hardware/gtest/gtest_state.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#include "gtest/gtest.h"
44
#include "gmock/gmock.h"
@@ -506,4 +506,4 @@ TEST_F(StreamData$ByteCountError, parseStreamData$WHENCheckSumBytesReadDoNotMatc
506506

507507
} // namespace
508508

509-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
509+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

hardware/state.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#include "state.h"
44
#include "../platform/serial.h"
@@ -532,4 +532,4 @@ namespace testing {
532532
} // namespace state
533533
} // namespace roomba
534534

535-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
535+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

hardware/state.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#ifndef STATE_H
44
#define STATE_H
@@ -177,4 +177,4 @@ setOIMode (
177177

178178
#endif
179179

180-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
180+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

open_interface/gtest/gtest_open_interface.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#include "gtest/gtest.h"
44
#include "gmock/gmock.h"
@@ -1985,4 +1985,4 @@ TEST_F(AllSystemsGoOIModeOFF, setDayTime$WHENOIModeIsOffTHENNoDataIsWrittenToSer
19851985

19861986
} // namespace
19871987

1988-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1988+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

open_interface/open_interface.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#include "open_interface.h"
44

@@ -451,4 +451,4 @@ OpenInterface<OI500>::pauseResumeStream (
451451

452452
} // namespace roomba
453453

454-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
454+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

open_interface/open_interface.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#ifndef OPEN_INTERFACE_H
44
#define OPEN_INTERFACE_H
@@ -602,4 +602,4 @@ class OpenInterface {
602602

603603
#endif
604604

605-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
605+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

platform/mock.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#include <cstdint>
44
#include <cstring>
@@ -79,4 +79,4 @@ setSerialWriteFunc (
7979
} // namespace serial
8080
} // namespace roomba
8181

82-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
82+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

platform/mock.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#if defined(TESTING)
44

@@ -72,4 +72,4 @@ setSerialWriteFunc (
7272

7373
#endif
7474

75-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
75+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

platform/serial.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#ifndef SERIAL_H
44
#define SERIAL_H
@@ -121,4 +121,4 @@ multiByteSerialWrite (
121121

122122
#endif
123123

124-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
124+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

platform/wiring.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
1+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */
22

33
#if defined(ARDUINO) || defined(SPARK)
44

@@ -105,4 +105,4 @@ multiByteSerialWrite (
105105

106106
#endif
107107

108-
/* Created and copyrighted by Zachary J. Fields. All rights reserved. */
108+
/* Created and copyrighted by Zachary J. Fields. Offered as open source under the MIT License (MIT). */

0 commit comments

Comments
 (0)