Skip to content

Commit

Permalink
move files around
Browse files Browse the repository at this point in the history
  • Loading branch information
cgjeffries committed Feb 2, 2023
1 parent a1992f5 commit b38d0fa
Show file tree
Hide file tree
Showing 19 changed files with 17 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EXTRA_CFLAGS=
EXTRA_CXXFLAGS=

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

# Add libraries you do not wish to include in the cold image here
# EXCLUDE_COLD_LIBRARIES:= $(FWDIR)/your_library.a
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/Nanopb/.piopm

This file was deleted.

Empty file removed src/Nanopb/__init__.py
Empty file.
42 changes: 0 additions & 42 deletions src/Nanopb/library.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/Nanopb/pb_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* 2014 Petteri Aimonen <[email protected]>
*/

#include "pb_common.h"
#include "nanopb/pb_common.h"

static bool load_descriptor_values(pb_field_iter_t *iter)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Nanopb/pb_decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#define checkreturn __attribute__((warn_unused_result))
#endif

#include "pb.h"
#include "pb_decode.h"
#include "pb_common.h"
#include "nanopb/pb.h"
#include "nanopb/pb_decode.h"
#include "nanopb/pb_common.h"

/**************************************
* Declarations internal to this file *
Expand Down
6 changes: 3 additions & 3 deletions src/Nanopb/pb_encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* 2011 Petteri Aimonen <[email protected]>
*/

#include "pb.h"
#include "pb_encode.h"
#include "pb_common.h"
#include "nanopb/pb.h"
#include "nanopb/pb_encode.h"
#include "nanopb/pb_common.h"

/* Use the GCC warn_unused_result attribute to check that all return values
* are propagated correctly. On other compilers and gcc before 3.4.0 just
Expand Down
2 changes: 1 addition & 1 deletion src/cobs/cobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <stdlib.h>
#include "cobs.h"
#include "cobs/cobs.h"


/*****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/cobs/cobsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <stdlib.h>
#include "cobsr.h"
#include "cobs/cobsr.h"


/*****************************************************************************
Expand Down
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "okapi/impl/device/rotarysensor/IMU.hpp"
#include "pros/misc.h"
#include "pros/rtos.hpp"
#include "robotControl.h"
#include "proto/robotControl.h"
#include "cartesian.h"
#include "polar.h"
#include "odom.h"
Expand Down Expand Up @@ -77,6 +77,7 @@ void on_center_button() {
* to keep execution time for this mode under a few seconds.
*/
void initialize() {
printf("eneterd initialize.\n");
pros::lcd::initialize();
pros::lcd::set_text(1, "Hello PROS User!");

Expand Down Expand Up @@ -195,7 +196,7 @@ void opcontrol() {
okapi::QAngle robotHeading = 0_rad;
odom odom1 = odom();
double drivePow=0;
pros::Motor intake ();
//pros::Motor intake ();
while (true) {
//pros::lcd::print(0, "AMT21_left value: %d", amt21_left.get_value());
pros::lcd::print(2, "AMT21_right value: %d", up.get_value());
Expand Down
6 changes: 3 additions & 3 deletions src/proto/messages.pb.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#ifndef PB_MESSAGES_PB_H_INCLUDED
#define PB_MESSAGES_PB_H_INCLUDED
#include "../Nanopb/pb.h"
#include "../Nanopb/pb_encode.h"
#include "../Nanopb/pb_decode.h"
#include "nanopb/pb.h"
#include "nanopb/pb_encode.h"
#include "nanopb/pb_decode.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
Expand Down
2 changes: 1 addition & 1 deletion src/robotControl.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "main.h"
#include "robotControl.h"
#include "proto/robotControl.h"
#include "okapi/api/units/QAngle.hpp"
using namespace okapi::literals;

Expand Down

0 comments on commit b38d0fa

Please sign in to comment.