Set of scripts to easily generate driver and algorithm packages in ROS, and also a set of scripts to add publishers, subscribers, service clients an servers and action clients and servers to an existing package.
Set of scripts to easily generate driver and algorithm packages in ROS, and also a set of scripts to add topic publishers and subscribers, service clients and servers, action clients and servers and tf listeners and broadcasters to existing package nodes.
- Create packages: the following scripts create a new ROS package containing a single ROS node (which inherits from IRI ROS base classes), a dynamic reconfigure file, sample launch files, LICENSE and README files.
- create_algorithm_package.sh: the created ROS node inherits from [iri_base_algorithm](https://gitlab.iri.upc.edu/labrobotica/ros/iri_core/iri_base_algorithm) class.
- create_driver_package.sh: the created ROS node inherits from [iri_base_driver](https://gitlab.iri.upc.edu/labrobotica/ros/iri_core/iri_base_driver) class.
- Add communication interfaces: the following scripts modify the node inside the target ROS package (which must have the IRI structure). They add the dependencies to the specified message types, the objects variables and callback functions if needed, and some commented code examples on how to use them.
- add_topic_publisher_subscriber.sh
- add_service_server_client.sh
- add_action_server_client.sh
- add_tf_listener_broadcaster.sh
## Installation
- Clone this repository: `git clone ssh://git@gitlab.iri.upc.edu:2202/labrobotica/ros/iri_core/scripts-catkin.git -b kinetic_migration scripts`