Skip to content
Snippets Groups Projects
Commit 33c245d1 authored by Fabian Paus's avatar Fabian Paus
Browse files

Fix more includes and RobotUnitPtr

parent 39eeae2f
No related branches found
No related tags found
No related merge requests found
Showing
with 8 additions and 15 deletions
......@@ -26,7 +26,6 @@
#include "NJointControllerWithTripleBuffer.h"
#include <VirtualRobot/Robot.h>
#include "../RobotUnit.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
#include "../SensorValues/SensorValue1DoFActuator.h"
#include <VirtualRobot/IK/DifferentialIK.h>
......
......@@ -26,7 +26,6 @@
#include "NJointControllerWithTripleBuffer.h"
#include <VirtualRobot/Robot.h>
#include "../RobotUnit.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
#include "../SensorValues/SensorValue1DoFActuator.h"
#include <VirtualRobot/IK/DifferentialIK.h>
......
......@@ -26,7 +26,6 @@
#include "NJointControllerWithTripleBuffer.h"
#include <VirtualRobot/Robot.h>
#include "../RobotUnit.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
#include "../SensorValues/SensorValue1DoFActuator.h"
#include <VirtualRobot/IK/DifferentialIK.h>
......
......@@ -31,7 +31,6 @@
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include "NJointControllerWithTripleBuffer.h"
#include "../RobotUnit.h"
#include "../SensorValues/SensorValueHolonomicPlatform.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
......
......@@ -31,7 +31,6 @@
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include "NJointControllerWithTripleBuffer.h"
#include "../RobotUnit.h"
#include "../SensorValues/SensorValueHolonomicPlatform.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
......
......@@ -29,7 +29,7 @@ namespace armarx
NJointControllerRegistration<NJointKinematicUnitPassThroughController> registrationControllerNJointKinematicUnitPassThroughController("NJointKinematicUnitPassThroughController");
NJointKinematicUnitPassThroughController::NJointKinematicUnitPassThroughController(
RobotUnitPtr prov,
RobotUnit* prov,
const NJointKinematicUnitPassThroughControllerConfigPtr& cfg,
const VirtualRobot::RobotPtr&)
{
......
......@@ -29,7 +29,6 @@
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include "NJointControllerBase.h"
#include "../RobotUnit.h"
#include "../SensorValues/SensorValue1DoFActuator.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
......@@ -57,7 +56,7 @@ namespace armarx
using ConfigPtrT = NJointKinematicUnitPassThroughControllerConfigPtr;
inline NJointKinematicUnitPassThroughController(
RobotUnitPtr prov,
RobotUnit* prov,
const NJointKinematicUnitPassThroughControllerConfigPtr& cfg,
const VirtualRobot::RobotPtr&);
......
......@@ -158,7 +158,7 @@ namespace armarx
return new NJointTCPControllerConfig {values.at("nodeSetName")->getString(), values.at("tcpName")->getString()};
}
NJointTCPController::NJointTCPController(RobotUnitPtr robotUnit, NJointTCPControllerConfigPtr config, const VirtualRobot::RobotPtr& r)
NJointTCPController::NJointTCPController(RobotUnit* robotUnit, const NJointTCPControllerConfigPtr& config, const VirtualRobot::RobotPtr& r)
{
ARMARX_CHECK_EXPRESSION(robotUnit);
ARMARX_CHECK_EXPRESSION(!config->nodeSetName.empty());
......
......@@ -26,7 +26,6 @@
#include "NJointControllerWithTripleBuffer.h"
#include <VirtualRobot/Robot.h>
#include "../RobotUnit.h"
#include "../ControlTargets/ControlTarget1DoFActuator.h"
#include "../SensorValues/SensorValue1DoFActuator.h"
#include <VirtualRobot/IK/DifferentialIK.h>
......@@ -72,7 +71,7 @@ namespace armarx
{
public:
using ConfigPtrT = NJointTCPControllerConfigPtr;
NJointTCPController(RobotUnitPtr prov, const NJointControllerConfigPtr& config, const VirtualRobot::RobotPtr&);
NJointTCPController(RobotUnit* prov, const NJointTCPControllerConfigPtr& config, const VirtualRobot::RobotPtr& r);
// NJointControllerInterface interface
std::string getClassName(const Ice::Current&) const override;
......@@ -87,10 +86,6 @@ namespace armarx
const std::map<std::string, ConstSensorDevicePtr>&);
static NJointTCPControllerConfigPtr GenerateConfigFromVariants(const StringVariantBaseMap& values);
NJointTCPController(
RobotUnitPtr prov,
NJointTCPControllerConfigPtr config,
const VirtualRobot::RobotPtr& r);
// for TCPControlUnit
void setVelocities(float xVel, float yVel, float zVel, float rollVel, float pitchVel, float yawVel, VirtualRobot::IKSolver::CartesianSelection mode);
......
......@@ -22,6 +22,7 @@
#include "KinematicSubUnit.h"
#include <VirtualRobot/RobotNodeSet.h>
#include <RobotAPI/libraries/RobotStatechartHelpers/KinematicUnitHelper.h>
#include <RobotAPI/components/units/RobotUnit/RobotUnit.h>
armarx::KinematicSubUnit::KinematicSubUnit() :
reportSkipper(20.0f)
......
......@@ -25,6 +25,7 @@
#include <RobotAPI/libraries/core/FramedPose.h>
#include <RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianVelocityController.h>
#include <RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianVelocityControllerWithRamp.h>
#include <RobotAPI/components/units/RobotUnit/RobotUnit.h>
#include <RobotAPI/interface/units/RobotUnit/NJointCartesianVelocityControllerWithRamp.h>
......
......@@ -28,6 +28,8 @@
#include "../NJointControllers/NJointTCPController.h"
#include "../util.h"
#include <ArmarXCore/core/Component.h>
#include <mutex>
namespace armarx
......
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