Implementation of ROS node for powercube_chain. More...
#include <ros/ros.h>#include <iostream>#include <cmath>#include <stdexcept>#include "duration.h"#include <sys/time.h>#include "ros/time.h"#include <cstdio>#include <sstream>#include <log4cxx/logger.h>#include "ros/console.h"#include <boost/static_assert.hpp>#include <cassert>#include <stdint.h>#include <assert.h>#include <stddef.h>#include <string>#include "ros/assert.h"#include <vector>#include <map>#include <set>#include <list>#include <boost/shared_ptr.hpp>#include <boost/weak_ptr.hpp>#include <boost/function.hpp>#include "exceptions.h"#include <boost/shared_array.hpp>#include "ros/types.h"#include "ros/forwards.h"#include "ros/common.h"#include "ros/macros.h"#include <string.h>#include <boost/array.hpp>#include "serialized_message.h"#include "message_forward.h"#include <boost/utility/enable_if.hpp>#include <boost/type_traits/remove_const.hpp>#include <boost/type_traits/remove_reference.hpp>#include "message_traits.h"#include "ros/exception.h"#include <boost/call_traits.hpp>#include <boost/mpl/and.hpp>#include <boost/mpl/or.hpp>#include <boost/mpl/not.hpp>#include <cstring>#include <boost/bind.hpp>#include <typeinfo>#include <ros/message.h>#include <boost/type_traits/is_void.hpp>#include <boost/type_traits/is_base_of.hpp>#include <boost/type_traits/is_const.hpp>#include <boost/type_traits/add_const.hpp>#include <boost/make_shared.hpp>#include <ros/static_assert.h>#include "ros/message_traits.h"#include "ros/builtin_message_traits.h"#include "ros/serialization.h"#include "ros/message_event.h"#include "forwards.h"#include "timer_options.h"#include "wall_timer_options.h"#include "ros/service_traits.h"#include <boost/lexical_cast.hpp>#include "subscription_callback_helper.h"#include "ros/spinner.h"#include <time.h>#include "ros/publisher.h"#include <boost/utility.hpp>#include "ros/service_server.h"#include "ros/subscriber.h"#include "ros/node_handle.h"#include "ros/init.h"#include "XmlRpcValue.h"#include "node_handle.h"#include "ros/names.h"#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include "tinystr.h"#include "link.h"#include <boost/thread/condition.hpp>#include <ros/ros.h>#include <boost/thread.hpp>#include <ostream>#include "ros/message_operations.h"#include "actionlib_msgs/GoalID.h"#include <actionlib_msgs/GoalStatus.h>#include <actionlib/action_definition.h>#include <actionlib/goal_id_generator.h>#include <actionlib/server/status_tracker.h>#include <boost/thread/mutex.hpp>#include <actionlib/destruction_guard.h>#include "std_msgs/Header.h"#include "trajectory_msgs/JointTrajectoryPoint.h"#include <trajectory_msgs/JointTrajectory.h>#include "std_msgs/String.h"#include "std_msgs/Bool.h"#include "ros/this_node.h"#include <stdarg.h>#include "diagnostic_msgs/DiagnosticStatus.h"#include <cob_powercube_chain/PowerCubeCtrl.h>#include <cob_powercube_chain/simulatedArm.h>#include <fcntl.h>#include <sys/stat.h>#include <semaphore.h>#include <unistd.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 cob_powercube_chain.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Main loop of ROS node.
Running with a specific frequency defined by loop_rate.
Definition at line 733 of file cob_powercube_chain.cpp.