added cartesian interface
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <sas_robot_driver/sas_robot_driver.h>
|
||||
#include "robot_interface_franka.h"
|
||||
#include <ros/common.h>
|
||||
#include "sas_robot_dynamic_provider.h"
|
||||
|
||||
using namespace DQ_robotics;
|
||||
using namespace Eigen;
|
||||
@@ -67,6 +68,8 @@ private:
|
||||
|
||||
std::shared_ptr<RobotInterfaceFranka> robot_driver_interface_sptr_ = nullptr;
|
||||
|
||||
RobotDynamicProvider* robot_dynamic_provider_;
|
||||
|
||||
//Joint positions
|
||||
VectorXd joint_positions_;
|
||||
//VectorXd joint_velocities_;
|
||||
@@ -77,6 +80,9 @@ private:
|
||||
|
||||
std::atomic_bool* break_loops_;
|
||||
|
||||
// hotfix function to update cartesian contact and pose information
|
||||
void _update_cartesian_contact_and_pose() const;
|
||||
|
||||
|
||||
public:
|
||||
//const static int SLAVE_MODE_JOINT_CONTROL;
|
||||
@@ -86,7 +92,11 @@ public:
|
||||
RobotDriverFranka()=delete;
|
||||
~RobotDriverFranka();
|
||||
|
||||
RobotDriverFranka(const RobotDriverFrankaConfiguration& configuration, std::atomic_bool* break_loops);
|
||||
RobotDriverFranka(
|
||||
RobotDynamicProvider* robot_dynamic_provider,
|
||||
const RobotDriverFrankaConfiguration& configuration,
|
||||
std::atomic_bool* break_loops
|
||||
);
|
||||
|
||||
|
||||
VectorXd get_joint_positions() override;
|
||||
|
||||
Reference in New Issue
Block a user