Skip to content

Commit d91ca8f

Browse files
author
Jason
committed
[feat] rename
1 parent e3706b4 commit d91ca8f

18 files changed

+28
-28
lines changed

.d/main.cpp.d

+4-4
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ bin/main.cpp.o: src/main.cpp include/main.h include/api.h \
198198
include/okapi/api/units/QPressure.hpp \
199199
include/okapi/api/units/QTorque.hpp include/okapi/api/units/QVolume.hpp \
200200
include/okapi/impl/util/configurableTimeUtilFactory.hpp \
201-
include/okapi/impl/util/rate.hpp include/EZGraphLib/Grapher.hpp \
202-
include/EZGraphLib/TaskWrapper.hpp include/pros/rtos.hpp \
201+
include/okapi/impl/util/rate.hpp include/Graphy/Grapher.hpp \
202+
include/Graphy/TaskWrapper.hpp include/pros/rtos.hpp \
203203
include/pros/screen.hpp
204204
include/main.h:
205205
include/api.h:
@@ -486,7 +486,7 @@ include/okapi/api/units/QTorque.hpp:
486486
include/okapi/api/units/QVolume.hpp:
487487
include/okapi/impl/util/configurableTimeUtilFactory.hpp:
488488
include/okapi/impl/util/rate.hpp:
489-
include/EZGraphLib/Grapher.hpp:
490-
include/EZGraphLib/TaskWrapper.hpp:
489+
include/Graphy/Grapher.hpp:
490+
include/Graphy/TaskWrapper.hpp:
491491
include/pros/rtos.hpp:
492492
include/pros/screen.hpp:

[email protected]

-535 KB
Binary file not shown.

[email protected]

533 KB
Binary file not shown.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ EXCLUDE_COLD_LIBRARIES:=
2626
# Set this to 1 to add additional rules to compile your project as a PROS library template
2727
IS_LIBRARY:=1
2828
# TODO: CHANGE THIS!
29-
LIBNAME:=EZGraphLib
29+
LIBNAME:=Graphy
3030
VERSION:=1.0.2
3131
# EXCLUDE_SRC_FROM_LIB= $(SRCDIR)/unpublishedfile.c
3232
# this line excludes opcontrol.c and similar files

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# EZGraphLib
1+
# Graphy
22

3-
EZGraphLib is an open-source [PROS](https://pros.cs.purdue.edu/) library that simplifies graphing data on the [v5 brain](https://www.vexrobotics.com/276-4810.html).
3+
Graphy is an open-source [PROS](https://pros.cs.purdue.edu/) library that simplifies graphing data on the [v5 brain](https://www.vexrobotics.com/276-4810.html).
44

55
<img src="IMG_3933.png" width=500>
66

77
## Installation
88

9-
Use the [PROS CLI](https://github.com/purduesigbots/pros-cli/releases) to install EZGraphLib. If you installed PROS correctly, you should already have the PROS CLI.
9+
Use the [PROS CLI](https://github.com/purduesigbots/pros-cli/releases) to install Graphy. If you installed PROS correctly, you should already have the PROS CLI.
1010

11-
1. Download ``EZGraphLib@LATEST_VERSION.zip`` (found [here](https://github.com/Yessir120/EZGraphLib/releases)) at the root of your project
12-
2. Run ``pros conductor fetch EZGraphLib@LATEST_VERSION.zip`` at the root of your project
13-
3. Run ``pros conductor apply EZGraphLib`` at the root of your project
14-
4. Add ``#include "EZGraphLib/Grapher.hpp"`` to your header file
11+
1. Download ``Graphy@LATEST_VERSION.zip`` (found [here](https://github.com/Yessir120/Graphy/releases)) at the root of your project
12+
2. Run ``pros conductor fetch Graphy@LATEST_VERSION.zip`` at the root of your project
13+
3. Run ``pros conductor apply Graphy`` at the root of your project
14+
4. Add ``#include "Graphy/Grapher.hpp"`` to your header file
1515

1616
## Usage
1717

1818
#### Example code:
1919

2020
```cpp
21-
#include "EZGraphLib/Grapher.hpp"
21+
#include "Graphy/Grapher.hpp"
2222

2323
// Create grapher
24-
std::shared_ptr<graph::AsyncGrapher> grapher(new graph::AsyncGrapher("Flywheel Velocity vs. Time"));
24+
std::shared_ptr<graphy::AsyncGrapher> grapher(new graphy::AsyncGrapher("Flywheel Velocity vs. Time"));
2525

2626
// Add data types
2727
grapher->addDataType("Desired Vel", COLOR_ORANGE);

bin/_pros_ld_timestamp.o

0 Bytes
Binary file not shown.

bin/cold.package.bin

0 Bytes
Binary file not shown.

bin/cold.package.elf

36 Bytes
Binary file not shown.

bin/hot.package.bin

0 Bytes
Binary file not shown.

bin/hot.package.elf

104 Bytes
Binary file not shown.

bin/main.cpp.o

88 Bytes
Binary file not shown.

compile_commands.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"-isystemc:\\users\\24jasonz\\appdata\\local\\programs\\pros\\toolchain\\usr\\bin\\../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/include",
1717
"-iquote./include",
1818
"-iquote./include/okapi/squiggles",
19-
"-iquote./include/EZGraphLib/",
19+
"-iquote./include/Graphy/",
2020
"-mcpu=cortex-a9",
2121
"-mfpu=neon-fp16",
2222
"-mfloat-abi=softfp",
@@ -31,11 +31,11 @@
3131
"-funwind-tables",
3232
"--std=gnu++17",
3333
"-o",
34-
"bin/EZGraphLib/TaskWrapper.cpp.o",
35-
"src\\EZGraphLib\\TaskWrapper.cpp"
34+
"bin/Graphy/Grapher.cpp.o",
35+
"src\\Graphy\\Grapher.cpp"
3636
],
3737
"directory": "C:\\Users\\24jasonz\\Desktop\\Vex\\Current-Code\\EZGraphLib_v2",
38-
"file": "src\\EZGraphLib\\TaskWrapper.cpp"
38+
"file": "src\\Graphy\\Grapher.cpp"
3939
},
4040
{
4141
"arguments": [
@@ -92,7 +92,7 @@
9292
"-isystemc:\\users\\24jasonz\\appdata\\local\\programs\\pros\\toolchain\\usr\\bin\\../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/include",
9393
"-iquote./include",
9494
"-iquote./include/okapi/squiggles",
95-
"-iquote./include/EZGraphLib/",
95+
"-iquote./include/Graphy/",
9696
"-mcpu=cortex-a9",
9797
"-mfpu=neon-fp16",
9898
"-mfloat-abi=softfp",
@@ -107,10 +107,10 @@
107107
"-funwind-tables",
108108
"--std=gnu++17",
109109
"-o",
110-
"bin/EZGraphLib/Grapher.cpp.o",
111-
"src\\EZGraphLib\\Grapher.cpp"
110+
"bin/Graphy/TaskWrapper.cpp.o",
111+
"src\\Graphy\\TaskWrapper.cpp"
112112
],
113113
"directory": "C:\\Users\\24jasonz\\Desktop\\Vex\\Current-Code\\EZGraphLib_v2",
114-
"file": "src\\EZGraphLib\\Grapher.cpp"
114+
"file": "src\\Graphy\\TaskWrapper.cpp"
115115
}
116116
]

include/EZGraphLib/Grapher.hpp renamed to include/Graphy/Grapher.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define GRAPH_RIGHT 455
1616
#define MAX_DATA 14
1717

18-
namespace graph {
18+
namespace graphy {
1919

2020
class AsyncGrapher : public TaskWrapper {
2121
private:

include/EZGraphLib/TaskWrapper.hpp renamed to include/Graphy/TaskWrapper.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "pros/rtos.hpp"
33
#include <memory>
44

5-
namespace graph {
5+
namespace graphy {
66

77
/**
88
* @brief Task wrapper from lib7842

include/main.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* You should add more #includes here
4141
*/
4242
#include "okapi/api.hpp"
43-
#include "EZGraphLib/Grapher.hpp"
43+
#include "Graphy/Grapher.hpp"
4444
//#include "pros/api_legacy.h"
4545

4646
/**

src/EZGraphLib/Grapher.cpp renamed to src/Graphy/Grapher.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "Grapher.hpp"
22

3-
namespace graph {
3+
namespace graphy {
44

55
AsyncGrapher::AsyncGrapher(const std::string &title, const okapi::QTime &rate) {
66
this->title = title;

src/EZGraphLib/TaskWrapper.cpp renamed to src/Graphy/TaskWrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "TaskWrapper.hpp"
22

3-
namespace graph {
3+
namespace graphy {
44

55
void TaskWrapper::loop() {
66
throw "task loop isn't overridden!";

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void opcontrol() {
7777
std::shared_ptr<EKFFilter> kalmanFilter(new EKFFilter());
7878
std::shared_ptr<EmaFilter> emaFilter(new EmaFilter(0.1));
7979

80-
std::shared_ptr<graph::AsyncGrapher> grapher(new graph::AsyncGrapher("Flywheel Velocity vs. Time"));
80+
std::shared_ptr<graphy::AsyncGrapher> grapher(new graphy::AsyncGrapher("Flywheel Velocity vs. Time"));
8181

8282
grapher->addDataType("Ema Vel", COLOR_ORANGE);
8383
grapher->addDataType("Desired Vel", COLOR_AQUAMARINE);

0 commit comments

Comments
 (0)