Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emilio Corigliano
Skyward Boardcore
Commits
6802a04a
Commit
6802a04a
authored
3 years ago
by
Alberto Nidasio
Browse files
Options
Downloads
Patches
Plain Diff
[genutils] Added topic name to event name
parent
74425b02
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/generators/genutils.py
+1
-0
1 addition, 0 deletions
scripts/generators/genutils.py
src/shared/drivers/servo/Servo.h
+2
-2
2 additions, 2 deletions
src/shared/drivers/servo/Servo.h
with
3 additions
and
2 deletions
scripts/generators/genutils.py
+
1
−
0
View file @
6802a04a
...
...
@@ -68,6 +68,7 @@ def parse_scxml(file):
(
topic
,
event
)
=
camel_case_to_underscores
(
transition
.
attrib
[
'
event
'
]).
split
(
'
.
'
)
topics
.
append
(
topic
)
event
=
topic
+
"
_
"
+
event
else
:
event
=
camel_case_to_underscores
(
transition
.
attrib
[
'
event
'
])
...
...
This diff is collapsed.
Click to expand it.
src/shared/drivers/servo/Servo.h
+
2
−
2
View file @
6802a04a
...
...
@@ -57,9 +57,9 @@ public:
/**
* @brief Prepare the timer and sets the PWM output to the minimum.
*
* More specifically, the PWM output is prepared to be equal to minPulse bu
* More specifically, the PWM output is prepared to be equal to minPulse bu
t
* it is not enabled! After creating the object the PWM signal is not
* active. This is to ensure
* active. This is to ensure
the servo motor doesn't move unexpectedly.
*
* Note that the timer peripheral's clock is enabled automatically when the
* PWM object is created.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment