Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
recovery_behaviors
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
labrobotica
ros
navigation
3d_navigation
recovery_behaviors
Commits
e978ee0e
Commit
e978ee0e
authored
5 years ago
by
José Enrique Domínguez Vidal
Browse files
Options
Downloads
Patches
Plain Diff
Comments cleaning
parent
5d1e7c98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rotational_recovery/src/rotational_recovery.cpp
+3
-3
3 additions, 3 deletions
rotational_recovery/src/rotational_recovery.cpp
with
3 additions
and
3 deletions
rotational_recovery/src/rotational_recovery.cpp
+
3
−
3
View file @
e978ee0e
...
...
@@ -162,7 +162,7 @@ namespace rotational_recovery
ROS_DEBUG_NAMED
(
"top"
,
"finish Cost"
);
if
(
t
<
1.0
)
{
ROS_
INFO
_NAMED
(
"top"
,
"Sim time: %.2f, Current cost: %.2f, current = (%.2f, %.2f, %.2f)"
,
t
,
next_cost
,
current_tmp
.
x
,
current_tmp
.
y
,
current_tmp
.
theta
);
ROS_
DEBUG
_NAMED
(
"top"
,
"Sim time: %.2f, Current cost: %.2f, current = (%.2f, %.2f, %.2f)"
,
t
,
next_cost
,
current_tmp
.
x
,
current_tmp
.
y
,
current_tmp
.
theta
);
}
//if (next_cost > cost) {
...
...
@@ -174,8 +174,8 @@ namespace rotational_recovery
cost
=
next_cost
;
}
ROS_DEBUG_NAMED
(
"top"
,
"cost = %.2f, next_cost = %.2f"
,
cost
,
next_cost
);
ROS_
INFO
_NAMED
(
"top"
,
"linear.x = %.2f, linear.y = %.2f, angular.z = %.2f"
,
twist
.
linear
.
x
,
twist
.
linear
.
y
,
twist
.
angular
.
z
);
ROS_
INFO
_NAMED
(
"top"
,
"init = (%.2f, %.2f, %.2f), current = (%.2f, %.2f, %.2f)"
,
ROS_
DEBUG
_NAMED
(
"top"
,
"linear.x = %.2f, linear.y = %.2f, angular.z = %.2f"
,
twist
.
linear
.
x
,
twist
.
linear
.
y
,
twist
.
angular
.
z
);
ROS_
DEBUG
_NAMED
(
"top"
,
"init = (%.2f, %.2f, %.2f), current = (%.2f, %.2f, %.2f)"
,
current
.
x
,
current
.
y
,
current
.
theta
,
current_tmp
.
x
,
current_tmp
.
y
,
current_tmp
.
theta
);
ROS_DEBUG_NAMED
(
"top"
,
"time = %.2f"
,
t
);
...
...
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