Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
mobile_robotics
wolf_projects
wolf_lib
plugins
laser
Commits
6b0a0fc8
Commit
6b0a0fc8
authored
3 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
New class StatePolylinePoint2d
parent
d88d0d6c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!42
devel->main
,
!40
Resolve "follow core 465 Migrate from StateBlock to StateDerived"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/laser/state_block/state_polyline_point_2d.h
+28
-0
28 additions, 0 deletions
include/laser/state_block/state_polyline_point_2d.h
with
28 additions
and
0 deletions
include/laser/state_block/state_polyline_point_2d.h
0 → 100644
+
28
−
0
View file @
6b0a0fc8
#include
"laser/state_block/local_parametrization_polyline_extreme.h"
#include
<core/state_block/state_block_derived.h>
namespace
wolf
{
class
StatePolylinePoint2d
:
public
StatePoint2d
{
public:
StatePolylinePoint2d
(
const
Vector2d
&
_point
,
StateBlockPtr
_adjacent
=
nullptr
,
bool
_fixed
=
false
,
bool
_transformable
=
true
);
~
StatePolylinePoint2d
()
{}
};
inline
StatePolylinePoint2d
::
StatePolylinePoint2d
(
const
Vector2d
&
_point
,
StateBlockPtr
_reference_point
,
bool
_fixed
,
bool
_transformable
)
:
StatePoint2d
(
_point
,
_fixed
,
_transformable
)
{
if
(
_reference_point
)
local_param_ptr_
=
std
::
make_shared
<
LocalParametrizationPolylineExtreme
>
(
_reference_point
);
}
}
// namespace wolf
\ No newline at end of file
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