Skip to content
Snippets Groups Projects
Commit 78a1e1ed authored by Fabian Reister's avatar Fabian Reister
Browse files

Merge remote-tracking branch 'origin/master' into feature/arviz_scoped_client

parents 27dd7ff3 e7951fc6
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,13 @@ namespace armarx::viz ...@@ -122,6 +122,13 @@ namespace armarx::viz
) )
: Box(name, b) : Box(name, b)
{} {}
Box(std::string const& id)
: ElementOps(id)
{
pose(Eigen::Matrix4f::Identity());
}
}; };
......
...@@ -57,7 +57,7 @@ namespace armarx ...@@ -57,7 +57,7 @@ namespace armarx
controller->activateController(); controller->activateController();
} }
void VelocityControllerHelper::setTargetVelocity(const Eigen::VectorXf& cv) void VelocityControllerHelper::setTargetVelocity(const Eigen::Vector6f& cv)
{ {
controller->setTargetVelocity(cv(0), cv(1), cv(2), cv(3), cv(4), cv(5)); controller->setTargetVelocity(cv(0), cv(1), cv(2), cv(3), cv(4), cv(5));
} }
......
...@@ -43,7 +43,7 @@ namespace armarx ...@@ -43,7 +43,7 @@ namespace armarx
void init(); void init();
void setTargetVelocity(const Eigen::VectorXf& cv); void setTargetVelocity(const Eigen::Vector6f& cv);
void setNullSpaceControl(bool enabled); void setNullSpaceControl(bool enabled);
......
...@@ -22,10 +22,11 @@ ...@@ -22,10 +22,11 @@
#pragma once #pragma once
#include "ArmarXCore/core/logging/Logging.h"
#include <vector> #include <vector>
#include <optional> #include <optional>
#include "ArmarXCore/core/logging/Logging.h"
#include <RobotAPI/libraries/armem/core/workingmemory/Entity.h> #include <RobotAPI/libraries/armem/core/workingmemory/Entity.h>
#include <RobotAPI/libraries/armem/core/workingmemory/EntityInstance.h> #include <RobotAPI/libraries/armem/core/workingmemory/EntityInstance.h>
#include <RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/AronCppClass.h> #include <RobotAPI/libraries/aron/core/codegenerator/codeWriter/cpp/AronCppClass.h>
......
...@@ -49,7 +49,7 @@ namespace armarx ...@@ -49,7 +49,7 @@ namespace armarx
CartesianVelocityControllerWithRamp(CartesianVelocityControllerWithRamp&&) = default; CartesianVelocityControllerWithRamp(CartesianVelocityControllerWithRamp&&) = default;
CartesianVelocityControllerWithRamp& operator=(CartesianVelocityControllerWithRamp&&) = default; CartesianVelocityControllerWithRamp& operator=(CartesianVelocityControllerWithRamp&&) = default;
[[deprecated("compued null space velocity does not match pseudo inverse svd method in simox. never use this function.")]] [[deprecated("computed null space velocity does not match pseudo inverse svd method in simox. never use this function.")]]
void setCurrentJointVelocity(const Eigen::Ref<const Eigen::VectorXf>& currentJointVelocity); void setCurrentJointVelocity(const Eigen::Ref<const Eigen::VectorXf>& currentJointVelocity);
void switchMode(const Eigen::VectorXf& currentJointVelocity, VirtualRobot::IKSolver::CartesianSelection mode); void switchMode(const Eigen::VectorXf& currentJointVelocity, VirtualRobot::IKSolver::CartesianSelection mode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment