joint_velocity_example_controller.h
Go to the documentation of this file.
1 // Copyright (c) 2017 Franka Emika GmbH
2 // Use of this source code is governed by the Apache-2.0 license, see LICENSE
3 #pragma once
4 
5 #include <string>
6 #include <vector>
7 
12 #include <ros/node_handle.h>
13 #include <ros/time.h>
14 
16 
18  hardware_interface::VelocityJointInterface,
19  franka_hw::FrankaStateInterface> {
20  public:
21  bool init(hardware_interface::RobotHW* robot_hardware, ros::NodeHandle& node_handle) override;
22  void update(const ros::Time&, const ros::Duration& period) override;
23  void starting(const ros::Time&) override;
24  void stopping(const ros::Time&) override;
25 
26  private:
28  std::vector<hardware_interface::JointHandle> velocity_joint_handles_;
30 };
31 
32 } // namespace franka_example_controllers
node_handle.h
time.h
franka_example_controllers::JointVelocityExampleController
Definition: joint_velocity_example_controller.h:17
franka_example_controllers::JointVelocityExampleController::elapsed_time_
ros::Duration elapsed_time_
Definition: joint_velocity_example_controller.h:29
franka_example_controllers::JointVelocityExampleController::starting
void starting(const ros::Time &) override
Definition: joint_velocity_example_controller.cpp:78
hardware_interface::VelocityJointInterface
franka_example_controllers
Definition: cartesian_impedance_example_controller.h:23
franka_example_controllers::JointVelocityExampleController::velocity_joint_handles_
std::vector< hardware_interface::JointHandle > velocity_joint_handles_
Definition: joint_velocity_example_controller.h:28
joint_command_interface.h
hardware_interface::RobotHW
controller_interface::MultiInterfaceController
franka_example_controllers::JointVelocityExampleController::velocity_joint_interface_
hardware_interface::VelocityJointInterface * velocity_joint_interface_
Definition: joint_velocity_example_controller.h:27
franka_example_controllers::JointVelocityExampleController::init
bool init(hardware_interface::RobotHW *robot_hardware, ros::NodeHandle &node_handle) override
Definition: joint_velocity_example_controller.cpp:15
franka_state_interface.h
ros::Time
franka_example_controllers::JointVelocityExampleController::stopping
void stopping(const ros::Time &) override
Definition: joint_velocity_example_controller.cpp:99
franka_example_controllers::JointVelocityExampleController::update
void update(const ros::Time &, const ros::Duration &period) override
Definition: joint_velocity_example_controller.cpp:82
robot_hw.h
ros::Duration
ros::NodeHandle
multi_interface_controller.h


franka_example_controllers
Author(s): Franka Emika GmbH
autogenerated on Mon Sep 19 2022 02:33:26