Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ros-motor-control-card
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CdF
CdF 2020-2021
modules
motors-control-card
ros-motor-control-card
Commits
c90c31cf
Commit
c90c31cf
authored
2 years ago
by
Paul LE GAL LA SALLE
Browse files
Options
Downloads
Patches
Plain Diff
implémentation de la methode qui fait avancer le robot pour une certaine distance
parent
88b467f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
motors_control_card/firmware/src/MccdNodeRosless.cpp
+3
-2
3 additions, 2 deletions
motors_control_card/firmware/src/MccdNodeRosless.cpp
with
3 additions
and
2 deletions
motors_control_card/firmware/src/MccdNodeRosless.cpp
+
3
−
2
View file @
c90c31cf
...
...
@@ -183,13 +183,14 @@ void MccdNodeRosless::start()
m_speedRegulator
->
setSpeedTarget
(
0.6
,
0
);
one_time
++
;
}
if
(
time
>
22000
&&
one_time
==
1
){
pc
.
printf
(
"vitesse nulle
\n
"
);
m_speedRegulator
->
reset
();
m_speedRegulator
->
setSpeedTarget
(
0
,
0
);
one_time
++
;
}
/*
if (time > 24000 && one_time==2){
pc.printf("vitesse marche avant\n");
m_speedRegulator->reset();
...
...
@@ -202,7 +203,7 @@ void MccdNodeRosless::start()
m_speedRegulator->setSpeedTarget(0, 0);
one_time ++;
}
*/
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
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