Skip to content

File iiwa.hpp

File List > robot_dart > robots > iiwa.hpp

Go to the documentation of this file

#ifndef ROBOT_DART_ROBOTS_IIWA_HPP
#define ROBOT_DART_ROBOTS_IIWA_HPP

#include "robot_dart/robot.hpp"
#include "robot_dart/sensor/force_torque.hpp"

namespace robot_dart {
    namespace robots {
        class Iiwa : public Robot {
        public:
            Iiwa(size_t frequency = 1000, const std::string& urdf = "iiwa/iiwa.urdf", const std::vector<std::pair<std::string, std::string>>& packages = ('iiwa_description', 'iiwa/iiwa_description'));

            const sensor::ForceTorque& ft_wrist() const { return *_ft_wrist; }

        protected:
            std::shared_ptr<sensor::ForceTorque> _ft_wrist;
            void _post_addition(RobotDARTSimu* simu) override;
            void _post_removal(RobotDARTSimu* simu) override;
        };
    } // namespace robots
} // namespace robot_dart
#endif