Implementation of ROS node for powercube_chain. More...
#include <ros/ros.h>
#include <urdf/model.h>
#include <sensor_msgs/JointState.h>
#include <trajectory_msgs/JointTrajectory.h>
#include <pr2_controllers_msgs/JointTrajectoryControllerState.h>
#include <diagnostic_msgs/DiagnosticArray.h>
#include <brics_actuator/JointPositions.h>
#include <brics_actuator/JointVelocities.h>
#include <cob_srvs/Trigger.h>
#include <cob_srvs/SetOperationMode.h>
#include <schunk_powercube_chain/PowerCubeCtrl.h>
#include <schunk_powercube_chain/PowerCubeCtrlParams.h>
Go to the source code of this file.
Classes | |
class | PowerCubeChainNode |
Implementation of ROS node for powercube_chain. More... | |
Functions | |
int | main (int argc, char **argv) |
Main loop of ROS node. |
Implementation of ROS node for powercube_chain.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.
You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file schunk_powercube_chain.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Main loop of ROS node.
Running with a specific frequency defined by loop_rate.
initialize ROS, specify name of node
get main loop parameters
main loop
sleep and waiting for messages, callbacks
Definition at line 705 of file schunk_powercube_chain.cpp.