Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
38a5f8a7
Commit
38a5f8a7
authored
7 years ago
by
Dinesh Atchuthan
Browse files
Options
Downloads
Patches
Plain Diff
add ConstraintAbs(P/O/V) for priors
parent
b19611f9
No related branches found
No related tags found
1 merge request
!149
Constraint abs
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/constraint_absolute_orientation.h
+3
-3
3 additions, 3 deletions
src/constraint_absolute_orientation.h
src/constraint_absolute_position.h
+1
-1
1 addition, 1 deletion
src/constraint_absolute_position.h
src/constraint_absolute_velocity.h
+1
-1
1 addition, 1 deletion
src/constraint_absolute_velocity.h
with
5 additions
and
5 deletions
src/constraint_absolute_orientation.h
+
3
−
3
View file @
38a5f8a7
...
@@ -13,12 +13,12 @@ namespace wolf {
...
@@ -13,12 +13,12 @@ namespace wolf {
WOLF_PTR_TYPEDEFS
(
ConstraintAbsO
);
WOLF_PTR_TYPEDEFS
(
ConstraintAbsO
);
//class
//class
class
ConstraintAbsO
:
public
ConstraintAutodiff
<
ConstraintAbsO
,
6
,
3
,
4
>
class
ConstraintAbsO
:
public
ConstraintAutodiff
<
ConstraintAbsO
,
3
,
4
>
{
{
public:
public:
ConstraintAbsO
(
FeatureBasePtr
_ftr_ptr
,
bool
_apply_loss_function
=
false
,
ConstraintStatus
_status
=
CTR_ACTIVE
)
:
ConstraintAbsO
(
FeatureBasePtr
_ftr_ptr
,
bool
_apply_loss_function
=
false
,
ConstraintStatus
_status
=
CTR_ACTIVE
)
:
ConstraintAutodiff
<
ConstraintAbsO
,
3
,
4
>
(
CTR_ABS_
Q
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
_apply_loss_function
,
_status
,
_ftr_ptr
->
getFramePtr
()
->
getOPtr
())
ConstraintAutodiff
<
ConstraintAbsO
,
3
,
4
>
(
CTR_ABS_
O
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
_apply_loss_function
,
_status
,
_ftr_ptr
->
getFramePtr
()
->
getOPtr
())
{
{
setType
(
"ABS O"
);
setType
(
"ABS O"
);
}
}
...
@@ -26,7 +26,7 @@ class ConstraintAbsO: public ConstraintAutodiff<ConstraintAbsO,6,3,4>
...
@@ -26,7 +26,7 @@ class ConstraintAbsO: public ConstraintAutodiff<ConstraintAbsO,6,3,4>
virtual
~
ConstraintAbsO
()
=
default
;
virtual
~
ConstraintAbsO
()
=
default
;
template
<
typename
T
>
template
<
typename
T
>
bool
operator
()(
const
T
*
const
_p
,
const
T
*
const
_o
,
T
*
_residuals
)
const
;
bool
operator
()(
const
T
*
const
_o
,
T
*
_residuals
)
const
;
virtual
JacobianMethod
getJacobianMethod
()
const
override
virtual
JacobianMethod
getJacobianMethod
()
const
override
{
{
...
...
This diff is collapsed.
Click to expand it.
src/constraint_absolute_position.h
+
1
−
1
View file @
38a5f8a7
...
@@ -12,7 +12,7 @@ namespace wolf {
...
@@ -12,7 +12,7 @@ namespace wolf {
WOLF_PTR_TYPEDEFS
(
ConstraintAbsP
);
WOLF_PTR_TYPEDEFS
(
ConstraintAbsP
);
//class
//class
class
ConstraintAbsP
:
public
ConstraintAutodiff
<
ConstraintAbsP
,
6
,
3
>
class
ConstraintAbsP
:
public
ConstraintAutodiff
<
ConstraintAbsP
,
3
,
3
>
{
{
public:
public:
...
...
This diff is collapsed.
Click to expand it.
src/constraint_absolute_velocity.h
+
1
−
1
View file @
38a5f8a7
...
@@ -12,7 +12,7 @@ namespace wolf {
...
@@ -12,7 +12,7 @@ namespace wolf {
WOLF_PTR_TYPEDEFS
(
ConstraintAbsV
);
WOLF_PTR_TYPEDEFS
(
ConstraintAbsV
);
//class
//class
class
ConstraintAbsV
:
public
ConstraintAutodiff
<
ConstraintAbsV
,
6
,
3
>
class
ConstraintAbsV
:
public
ConstraintAutodiff
<
ConstraintAbsV
,
3
,
3
>
{
{
public:
public:
...
...
This diff is collapsed.
Click to expand it.
Dinesh Atchuthan
@AtDinesh
mentioned in issue
#147 (closed)
·
7 years ago
mentioned in issue
#147 (closed)
mentioned in issue #147
Toggle commit list
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