Skip to content

Commit

Permalink
🔖 Release 3.4.0 (#279)
Browse files Browse the repository at this point in the history
* Clarify rotation_get_angle API (#264)

* Fixed all instances of the liscense being outdated in file headers. (#272)

* 👽 Add missing filesystem syscalls (#275)

* Add missing file system stubs

* Update src/system/dev/file_system_stubs.c

Co-authored-by: nathan-moore <[email protected]>

* Put fchmod and fchmodat by chmod

Co-authored-by: nathan-moore <[email protected]>

* ✨ Add Zeroing and Position Setting Functions for the IMU (#260)

* Started on getter, setter, and zeroing features for IMU offset and read
values respectively for the cpp api only.

* Added comments to header files for all new functions and finished up
setter functions.

* Fixed documentation and removed extraneous ::IMU

* version fix

* Version Fix (anotha one)

* Update version

* Update version

* Update version

* Changed IMU offsets to initializer list

* Reordered initializer list

* Fixed a few file headers, changed CPP back to previous state, renamed
reset function to calibrate, and started work on thread safe reset functions.

* Added working C functions for resetting rotation and header.

* C api for yaw, pitch, and roll reset working.

* Added a new imu_reset function that resets all values from the IMU.

* Added resets for CPP api (not tested yet)

* Fixed build issue

* Properly fixed the issue now.

* Added setter functions for value readings, reworked reset functions accordingly.

* Added missing semicolon, finished testing C API.

* Added CPP api for setting values.

* Added documentation for reset and set value functions.

* Added imubl (IMU Backend Layer) for non-threadsafe functions, and also added documentation for those functions.
Made get_euler thread safe again with a new seperate function for non-threadsafe use.

* Added untracked file (IMUBL)

* Fixed up all other debugging

* Changed imubl location to VDML to hide it from users.

* Changed imubl header description

* Reverted version and drive code.

* Added newlines back to the end of files

* Updated Header Liscense Years

* Revert "Updated Header Liscense Years"

This reverts commit 36074f0.

* Packed the enum for imu reset data, fixed formatting and newline at end of imu.hpp.

* Revert accidental change to get_accel docs.

* Removed imubl and fixed packed attribute

* Changed mentions of reset back to tare, and changed calibrate back to tare.

* Revert drive code

* Revert version

* Revert version properly

* Update include/pros/imu.hpp

Co-authored-by: nathan-moore <[email protected]>

* Combined the declarations and definitions for device pointers.

* Fixed offset for get euler, and also changed the quaternion function to involve offsets. (TO BE TESTED, no V5 on hand).

* Finished testing and fixing quaternion, revert version and drive code.

* Fixed indentation

* Added euler setting and taring functions.

* Added limits to the setting functions.

* Added proper limiting (still needs work though)

* Added proper value wrapping for when a value + offset exceeds a measurable range.

* Revert version and drive code, added and tested C++ API for euler.

* Added documentation about setter behaviors.

* Added newline at end of vdml_imu.c

* Stylization changes.

* Fixed inconsistent sentence

Co-authored-by: nathan-moore <[email protected]>

* 🔖 Bumped version to 3.4.0

* 🚸Change pros-cli-v5 to pros-cli (#277)

* Changed pros-v5-cli to pros-cli

Co-authored-by: Alex Brooke <[email protected]>

* ✨ Add microsecond timing (#281)

* Add micros as a wrapper to vexSystemHighResTimeGet

* Add micros using to rtos.hpp

* Fix comment formatting

* Add necessary include for VEXos function

Co-authored-by: Alex Brooke <[email protected]>
Co-authored-by: Octogonapus <[email protected]>
Co-authored-by: Kunwar Sahni <[email protected]>
Co-authored-by: nathan-moore <[email protected]>
Co-authored-by: Andrew Strauss <[email protected]>
  • Loading branch information
6 people authored Feb 28, 2021
1 parent ddabba1 commit 71b2e1d
Show file tree
Hide file tree
Showing 103 changed files with 886 additions and 144 deletions.
2 changes: 1 addition & 1 deletion STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ These should be placed at the very start of a file.
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
inputs:
addToPath: true
versionSpec: '3.6'
- task: PipAuthenticate@0
- task: PipAuthenticate@1
inputs:
artifactFeeds: 'pros-cli'
- bash: pip install pros-cli-v5
# use official PyPi registry first and fall back to internal feed as needed
onlyAddExtraIndex: true
- bash: pip install pros-cli
displayName: Install CLI
- bash: |
make template
Expand Down
8 changes: 4 additions & 4 deletions include/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -40,9 +40,9 @@
#endif /* __cplusplus */

#define PROS_VERSION_MAJOR 3
#define PROS_VERSION_MINOR 3
#define PROS_VERSION_PATCH 1
#define PROS_VERSION_STRING "3.3.1"
#define PROS_VERSION_MINOR 4
#define PROS_VERSION_PATCH 0
#define PROS_VERSION_STRING "3.4.0"

#define PROS_ERR (INT32_MAX)
#define PROS_ERR_F (INFINITY)
Expand Down
2 changes: 1 addition & 1 deletion include/common/cobs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* See common/cobs.c for discussion
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/common/gid.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* See common/gid.c for discussion
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/common/linkedlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This file defines a linked list implementation that operates on the FreeRTOS
* heap, and is able to generically store function pointers and data
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion include/common/set.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* See common/set.c for discussion
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/common/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* See common/string.c for discussion
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/kapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* creation of statically allocated FreeRTOS primitives like tasks, semaphores,
* and queues.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Contains common definitions and header files used throughout your PROS
* project.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/pros/adi.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion include/pros/adi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion include/pros/api_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/pros/apix.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion include/pros/distance.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion include/pros/distance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* \copyright (c) 2017-2018, Purdue University ACM SIGBots.
* \copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion include/pros/ext_adi.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* Copyright (c) 2017-2020, Purdue University ACM SIGBots.
* Copyright (c) 2017-2021, Purdue University ACM SIGBots.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
Loading

0 comments on commit 71b2e1d

Please sign in to comment.