Skip to content

Framework for experiments with kuka iiwa collision reactions

License

Notifications You must be signed in to change notification settings

l1va/iiwa_multiscenario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iiwa_multiscenario

Framework for experiments with kuka iiwa collision reactions. The program provides an interface for development of simple robot reactions and combining them in form of finite state machine.

Each reaction should be inherited from the RobotStrategie class. It also should redefine the follosing methods:

  • execute(ControlInterface& ) - robot movement during the reaction
  • isFinish() - check if the state can be changed
  • reset() - change internal object parameters if need Information about robot parameters, such as value of external force, joint angles, cartesian position etc. can be found in structure RobotState.

Transitions between states are based on combinations of events (defined in file src/fsm/collision_reactions.h). There are following options:

  • EV_COMPLETE | EV_EE_COLLISION - transition have place when all events are presented simultaneously
  • EV_EE_COLLISION | EV_OR | EV_ELBOW_COLLISION - each of events lead to transition
  • EV_OUT_OF_LIMITS | EV_KEY - event is critical and doesn't depend on existance of another events

The program works as a part of iiwa_stack and uses Eigen library for matrix operations. It was tested in XUbuntu 14.04 with ROS Indigo and XUbuntu 16.04 with ROS Kinetic.

As an example you can see src/basic_reactions.cpp.

About

Framework for experiments with kuka iiwa collision reactions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published