Skip to content

Commit

Permalink
simple bug fixes 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
acetousk committed Aug 16, 2019
1 parent 67a89b7 commit 87b3fb6
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ BINDIR=$(ROOT)/bin
SRCDIR=$(ROOT)/src
INCDIR=$(ROOT)/include

WARNFLAGS+=
WARNFLAGS+=-Wno-psabi
EXTRA_CFLAGS=
EXTRA_CXXFLAGS=

# Set to 1 to enable hot/cold linking
USE_PACKAGE:=1
USE_PACKAGE:=0

# Set this to 1 to add additional rules to compile your project as a PROS library template
IS_LIBRARY:=0
IS_LIBRARY:=1
# TODO: CHANGE THIS!
LIBNAME:=autolib
VERSION:=0.9.0
VERSION:=0.9.1
# EXCLUDE_SRC_FROM_LIB= $(SRCDIR)/unpublishedfile.c
# this line excludes opcontrol.c and similar files
EXCLUDE_SRC_FROM_LIB+=$(foreach file, $(SRCDIR)/opcontrol $(SRCDIR)/initialize $(SRCDIR)/autonomous,$(foreach cext,$(CEXTS),$(file).$(cext)) $(foreach cxxext,$(CXXEXTS),$(file).$(cxxext)))
Expand Down
Binary file modified bin/_pros_ld_timestamp.o
Binary file not shown.
Binary file removed bin/autolib.a
Binary file not shown.
Binary file removed bin/cold.package.bin
Binary file not shown.
Binary file removed bin/cold.package.elf
Binary file not shown.
Binary file removed bin/hot.package.bin
Binary file not shown.
Binary file removed bin/hot.package.elf
Binary file not shown.
Binary file added bin/monolith.bin
Binary file not shown.
Binary file added bin/monolith.elf
Binary file not shown.
Binary file removed bin/util/messages.cpp.o
Binary file not shown.
6 changes: 6 additions & 0 deletions include/autolib/api.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

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

#include "util/messages.hpp"
3 changes: 2 additions & 1 deletion include/autolib/main.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//This file will be depricated in v1.0.0 please include api.hpp instead.

#pragma once
//#define DEBUG

#include "autolib/auto/pathGenerator.hpp"
#include "autolib/auto/purePursuit.hpp"
Expand Down
6 changes: 6 additions & 0 deletions include/autolib/util/messages.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ struct Curvature{
double distance;
};

struct Pose{
okapi::QLength x;
okapi::QLength y;
okapi::QAngle yaw;
};

//These are only meant for internal uses. Do not use these unless you are an expert.
struct InternalPoint{
InternalPoint( double ix, double iy, int ipos = -1 ) : x(ix), y(iy), pos(ipos) {}
Expand Down
7 changes: 0 additions & 7 deletions src/util/messages.cpp

This file was deleted.

0 comments on commit 87b3fb6

Please sign in to comment.