Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PolySTAR
RoboMaster
Controle-et-Systeme
Robots
Commits
38ffa6de
Commit
38ffa6de
authored
Mar 08, 2020
by
Nathan Girard
Browse files
function intialisation motors fixed
parent
0495443b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
BSP
@
a77a79c8
Compare
1cfd4a2b
...
a77a79c8
Subproject commit
1cfd4a2bf6001fb18a671a08775f75b5d51baa3b
Subproject commit
a77a79c82a93154e6f458d65f994cce0f163f52a
Standard_robot/MDK-ARM/Standard_robot.uvguix.natha
View file @
38ffa6de
This diff is collapsed.
Click to expand it.
Standard_robot/MDK-ARM/Standard_robot.uvoptx
View file @
38ffa6de
...
...
@@ -471,7 +471,7 @@
<GroupNumber>
5
</GroupNumber>
<FileNumber>
20
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\BSP\Device\motor.c
</PathWithFileName>
...
...
@@ -483,7 +483,7 @@
<GroupNumber>
5
</GroupNumber>
<FileNumber>
21
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\BSP\Device\list_motor.c
</PathWithFileName>
...
...
Standard_robot/MDK-ARM/Standard_robot/Standard_robot.hex
View file @
38ffa6de
This diff is collapsed.
Click to expand it.
Standard_robot/Src/main.c
View file @
38ffa6de
...
...
@@ -166,16 +166,12 @@ int main(void)
m3508_backleft
.
target
+=
500
;
m3508_backright
.
target
+=
500
;
gm6020
.
target
+=
40
;
if
(
m3508_frontleft
.
target
>
2000
)
{
m3508_frontleft
.
target
=
0
;
m3508_frontright
.
target
=
0
;
m3508_backleft
.
target
=
0
;
m3508_backright
.
target
=
0
;
gm6020
.
target
=
0
;
}
// PWM_SetAllDuty(&htim1, 0.1f, 0.1f, 0.1f, 0.1f);
// HAL_Delay(2500);
...
...
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