Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
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
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Hofmann
RobotAPI
Commits
24f62769
Commit
24f62769
authored
10 years ago
by
Nikolaus Vahrenkamp
Browse files
Options
Downloads
Patches
Plain Diff
Started with revising force torque units (one unit per sensor, one observer for all unist).
parent
ded01f4b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/interface/units/ForceTorqueUnit.ice
+6
-15
6 additions, 15 deletions
source/RobotAPI/interface/units/ForceTorqueUnit.ice
source/RobotAPI/libraries/units/ForceTorqueObserver.h
+1
-9
1 addition, 9 deletions
source/RobotAPI/libraries/units/ForceTorqueObserver.h
with
7 additions
and
24 deletions
source/RobotAPI/interface/units/ForceTorqueUnit.ice
+
6
−
15
View file @
24f62769
...
...
@@ -35,35 +35,26 @@
module
armarx
{
//sequence<string> StringMap;
interface
ForceTorqueUnitInterface
extends
armarx
::
SensorActorUnitInterface
{
//void setOffset(FramedVector3Map forceTorqueOffsets);
//void setToNull(StringMap sensorNames);
void
setOffset
(
FramedVector3Base
forceOffsets
,
FramedVector3Base
torqueOffsets
);
void
setToNull
();
};
interface
ForceTorqueUnitListener
{
//void reportSensorValues(string type, FramedVector3Map forces);
//void reportSensorForceValues(FramedVector3Map forces);
//void reportSensorTorqueValues(FramedVector3Map torques);
void
reportSensorValues
(
FramedVector3Base
forces
,
FramedVector3Base
torques
);
void
reportSensorForceValues
(
FramedVector3Base
forces
);
void
reportSensorTorqueValues
(
FramedVector3Base
torques
);
/*!
\param sensorNodeName The RobotNode on which the sensor is mounted.
\param forces Set to zero if not available.
\param torques Set to zero if not available.
*/
void
reportSensorValues
(
string
sensorNodeName
,
FramedVector3Base
forces
,
FramedVector3Base
torques
);
};
interface
ForceTorqueUnitObserverInterface
extends
ObserverInterface
,
ForceTorqueUnitListener
{
};
};
#endif
This diff is collapsed.
Click to expand it.
source/RobotAPI/libraries/units/ForceTorqueObserver.h
+
1
−
9
View file @
24f62769
...
...
@@ -37,18 +37,10 @@ namespace armarx
void
onInitObserver
();
void
onConnectObserver
();
//void reportSensorValues(const std::string & type, const ::armarx::FramedVector3Map& newForces, const ::Ice::Current& = ::Ice::Current());
//void reportSensorForceValues(const ::armarx::FramedVector3Map& newForces, const ::Ice::Current& = ::Ice::Current());
//void reportSensorTorqueValues(const ::armarx::FramedVector3Map& newTorques, const ::Ice::Current& = ::Ice::Current());
void
reportSensorValues
(
const
::
armarx
::
FramedVector3BasePtr
&
forces
,
const
::
armarx
::
FramedVector3BasePtr
&
torques
,
const
::
Ice
::
Current
&
=
::
Ice
::
Current
());
void
reportSensorValues
(
const
::
armarx
::
FramedVector3BasePtr
&
forces
,
const
::
armarx
::
FramedVector3BasePtr
&
torques
,
const
::
Ice
::
Current
&
=
::
Ice
::
Current
());
void
reportSensorForceValues
(
const
::
armarx
::
FramedVector3BasePtr
&
forces
,
const
::
Ice
::
Current
&
=
::
Ice
::
Current
());
void
reportSensorTorqueValues
(
const
::
armarx
::
FramedVector3BasePtr
&
torques
,
const
::
Ice
::
Current
&
=
::
Ice
::
Current
());
// void reportForceWithOffset(const ::armarx::FramedVector3Map& newForces, const ::Ice::Current& = ::Ice::Current());
// void reportTorqueRaw(const ::armarx::FramedVector3Map& newTorques, const ::Ice::Current& = ::Ice::Current());
// void reportTorqueWithOffset(const ::armarx::FramedVector3Map& newTorques, const ::Ice::Current& = ::Ice::Current());
/**
* @see PropertyUser::createPropertyDefinitions()
*/
...
...
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