Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
g
i
l
p
s
t
+
Functions
a
g
i
p
s
t
Variables
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
src
twirling_cost_function.cpp
Go to the documentation of this file.
1
/*
2
* twirling_cost_function.cpp
3
*
4
* Created on: Apr 20, 2016
5
* Author: Morgan Quigley
6
*/
7
8
#include <
base_local_planner/twirling_cost_function.h
>
9
10
#include <math.h>
11
12
namespace
base_local_planner
{
13
14
double
TwirlingCostFunction::scoreTrajectory
(
Trajectory
&traj) {
15
return
fabs(traj.
thetav_
);
// add cost for making the robot spin
16
}
17
18
}
/* namespace base_local_planner */
base_local_planner::TwirlingCostFunction::scoreTrajectory
double scoreTrajectory(Trajectory &traj)
Definition:
twirling_cost_function.cpp:14
base_local_planner
Definition:
costmap_model.h:44
twirling_cost_function.h
base_local_planner::Trajectory::thetav_
double thetav_
The x, y, and theta velocities of the trajectory.
Definition:
trajectory.h:60
base_local_planner::Trajectory
Holds a trajectory generated by considering an x, y, and theta velocity.
Definition:
trajectory.h:44
base_local_planner
Author(s): Eitan Marder-Eppstein, Eric Perko, contradict@gmail.com
autogenerated on Wed Jun 22 2022 02:07:08