Skip to content

Commit 87b3fb6

Browse files
committed
simple bug fixes 🐛
1 parent 67a89b7 commit 87b3fb6

File tree

14 files changed

+18
-12
lines changed

14 files changed

+18
-12
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ BINDIR=$(ROOT)/bin
1212
SRCDIR=$(ROOT)/src
1313
INCDIR=$(ROOT)/include
1414

15-
WARNFLAGS+=
15+
WARNFLAGS+=-Wno-psabi
1616
EXTRA_CFLAGS=
1717
EXTRA_CXXFLAGS=
1818

1919
# Set to 1 to enable hot/cold linking
20-
USE_PACKAGE:=1
20+
USE_PACKAGE:=0
2121

2222
# Set this to 1 to add additional rules to compile your project as a PROS library template
23-
IS_LIBRARY:=0
23+
IS_LIBRARY:=1
2424
# TODO: CHANGE THIS!
2525
LIBNAME:=autolib
26-
VERSION:=0.9.0
26+
VERSION:=0.9.1
2727
# EXCLUDE_SRC_FROM_LIB= $(SRCDIR)/unpublishedfile.c
2828
# this line excludes opcontrol.c and similar files
2929
EXCLUDE_SRC_FROM_LIB+=$(foreach file, $(SRCDIR)/opcontrol $(SRCDIR)/initialize $(SRCDIR)/autonomous,$(foreach cext,$(CEXTS),$(file).$(cext)) $(foreach cxxext,$(CXXEXTS),$(file).$(cxxext)))

bin/_pros_ld_timestamp.o

0 Bytes
Binary file not shown.

bin/autolib.a

-68.8 KB
Binary file not shown.

bin/cold.package.bin

-1.04 MB
Binary file not shown.

bin/cold.package.elf

-10.3 MB
Binary file not shown.

bin/hot.package.bin

-1.68 KB
Binary file not shown.

bin/hot.package.elf

-589 KB
Binary file not shown.

bin/monolith.bin

406 KB
Binary file not shown.

bin/monolith.elf

6.07 MB
Binary file not shown.

bin/util/messages.cpp.o

-1.76 KB
Binary file not shown.

include/autolib/api.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#pragma once
2+
3+
#include "autolib/auto/pathGenerator.hpp"
4+
#include "autolib/auto/purePursuit.hpp"
5+
6+
#include "util/messages.hpp"

include/autolib/main.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
//This file will be depricated in v1.0.0 please include api.hpp instead.
2+
13
#pragma once
2-
//#define DEBUG
34

45
#include "autolib/auto/pathGenerator.hpp"
56
#include "autolib/auto/purePursuit.hpp"

include/autolib/util/messages.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ struct Curvature{
2727
double distance;
2828
};
2929

30+
struct Pose{
31+
okapi::QLength x;
32+
okapi::QLength y;
33+
okapi::QAngle yaw;
34+
};
35+
3036
//These are only meant for internal uses. Do not use these unless you are an expert.
3137
struct InternalPoint{
3238
InternalPoint( double ix, double iy, int ipos = -1 ) : x(ix), y(iy), pos(ipos) {}

src/util/messages.cpp

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)