Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mattdr
supermileage_2018
Commits
925011d6
Commit
925011d6
authored
Nov 12, 2019
by
thcl
Browse files
fixing detached head
parent
4aee833f
Changes
7
Hide whitespace changes
Inline
Side-by-side
source_code/Teensy35/.vscode/extensions.json
View file @
925011d6
{
//
See
http://go.microsoft.com/fwlink/?LinkId=
827846
//
for
the
documentation
about
the
extensions.json
format
"recommendations"
:
[
"platformio.platformio-ide"
]
{
//
See
http://go.microsoft.com/fwlink/?LinkId=
827846
//
for
the
documentation
about
the
extensions.json
format
"recommendations"
:
[
"platformio.platformio-ide"
]
}
\ No newline at end of file
source_code/Teensy35/.vscode/ipch/14cbe486409a6b76/ENCODER.ipch
deleted
100644 → 0
View file @
4aee833f
File deleted
source_code/Teensy35/.vscode/ipch/1cb69e9f519845bb/UTILS.ipch
deleted
100644 → 0
View file @
4aee833f
File deleted
source_code/Teensy35/.vscode/ipch/8c5111ec85d5935b/MOTOR_CTRL.ipch
deleted
100644 → 0
View file @
4aee833f
File deleted
source_code/Teensy35/.vscode/ipch/c7b2d5234dd9a51/MAIN.ipch
deleted
100644 → 0
View file @
4aee833f
File deleted
source_code/Teensy35/src/encoder.cpp
View file @
925011d6
...
...
@@ -23,7 +23,7 @@ int Zoffset = 0;
// This is the difference in encoder tics from the Z index to
// the electrical encoder zero (which is found by powering the
// AB block and waiting for the motor to settle)
int
hard_coded_offset
=
2
42
5
-
50
;
int
hard_coded_offset
=
-
42
0
-
50
;
//Invert position to invert position add 341 to any offset
...
...
source_code/Teensy35/src/motor_ctrl.cpp
View file @
925011d6
...
...
@@ -26,7 +26,7 @@ const int led = 13;
int
const
SCALE_FACTOR
=
240
;
// This is the PWM frequency and it is very important
int
FREQ
=
8
000
;
//22000; //8000 was our original value;
int
FREQ
=
22
000
;
//22000; //8000 was our original value;
// This is the lower limit of PWM frequency
// its important for not breaking gate drivers
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment