-
 

remote_rosbag_record package from remote_rosbag_record repo

remote_rosbag_record

Package Summary

Tags No category tags.
Version 0.0.4
License MIT
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/yoshito-n-students/remote_rosbag_record.git
VCS Type git
VCS Version master
Last Updated 2021-01-26
Dev Status MAINTAINED
CI status Continuous Integration : 0 / 0
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The remote_rosbag_record package

Additional Links

No additional links.

Maintainers

  • Yoshito Okada

Authors

No additional authors.

remote_rosbag_record

ROS nodes that start/stop rosbag-record by a remote trigger

Usage

  1. Launch recorder nodes with your favourite nodes. Use respawn options to record multiple times.
<launch>

  <group ns="console">
    <include file="console.machine"/>

    ... other console nodes ...
    
    <node name="console-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="console_topics.yml"/>
      <param name="prefix" value="console"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>

  <group ns="robot">
    <include file="robot.machine"/>

    ... other robot nodes ....

    <node name="robot-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="robot_topics.yml"/>
      <param name="prefix" value="robot"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>
  
</launch>

# xxx_topics.yml may look like this
topics:
- /joint_states
- /imu
- ...

  1. Start rosbag-record at your own timing
  • method 1: use remote_rosbag_record/trigger node
rosrun remote_rosbag_record trigger _regex:="/.*/start"

  • method 2: use remote_rosbag_record/joy_listener node
rosrun remote_rosbag_record joy_listener _start_regex:="/.*/start" _start_button:=10 ...

  • method 3: call trigger services from your teleoperation node
#include<remote_rosbag_record/call.hpp>

#include<boost/regex.hpp>

...

if (start_button_pressed) {
  remote_rosbag_record::call(boost::regex("/.*/start"));
}

  1. Stop rosbag-record (similar to the previous step)

Nodes

record

starts/stops rosbag-record when a coressponding service is called

Services
  • start (std_srvs/Empty)
  • stop (std_srvs/Empty)
Parameters

All parameters are optional and function like the original rosbag-record. See http://wiki.ros.org/rosbag/Commandline#record

  • ~record_all (bool)
  • ~regex (bool)
  • ~quiet (bool)
  • ~append_date (bool)
  • ~verbose (bool)
  • ~compression (string)
    • “uncompressed”, “bz2”, or “lz4”
  • ~prefix (string)
  • ~name (string)
  • ~topics (string array)
  • ~buffer_size (int)
  • ~exclude_regex (string)
  • ~node (string)

trigger

calls multiple start/stop services at once

Parameters
  • ~regex (string, required)
    • regular expression which matches services you want to call
  • ~verbose (bool, default: true)
    • verbose console output when calling services

joy_listener

subscribes joystick messages and calls start/stop services when a specified button is pressed

Subscribed topics

  • joy (sensor_msgs/Joy)

Parameters

  • ~start_button (int, default: 12)
    • button id to trigger start services
  • ~start_regex (string, default: “<node’s namespace>/start”)
    • regular expression which matches start services
  • ~stop_button (int, default: 11)
    • button id to trigger stop services
  • ~stop_regex (string, default: “<node’s namespace>/stop”)
    • regular expression which matches stop services
  • ~verbose (bool, default: true)
    • verbose console output when calling services
CHANGELOG

Changelog for package remote_rosbag_record

0.0.5 (2020-XX-XX)

  • Add verbose option to trigger node

0.0.4 (2020-09-26)

  • Install joy_listener
  • Change cmake minimum version from 2.8.3 to 3.0.2 to suppress CMP0048 warning

0.0.3 (2020-09-26)

  • Avoid an exception from class_loader when record node finishes

0.0.2 (2020-03-25)

  • call() returns number of successfull service calls
  • Add joy_listener node that calls start/stop services according to joystick input

0.0.1 (2020-03-16)

  • Initial version
  • Contributors: Tim Clephas, Yoshito Okada

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged remote_rosbag_record at Robotics Stack Exchange

remote_rosbag_record package from remote_rosbag_record repo

remote_rosbag_record

Package Summary

Tags No category tags.
Version 0.0.4
License MIT
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/yoshito-n-students/remote_rosbag_record.git
VCS Type git
VCS Version master
Last Updated 2021-01-26
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The remote_rosbag_record package

Additional Links

No additional links.

Maintainers

  • Yoshito Okada

Authors

No additional authors.

remote_rosbag_record

ROS nodes that start/stop rosbag-record by a remote trigger

Usage

  1. Launch recorder nodes with your favourite nodes. Use respawn options to record multiple times.
<launch>

  <group ns="console">
    <include file="console.machine"/>

    ... other console nodes ...
    
    <node name="console-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="console_topics.yml"/>
      <param name="prefix" value="console"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>

  <group ns="robot">
    <include file="robot.machine"/>

    ... other robot nodes ....

    <node name="robot-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="robot_topics.yml"/>
      <param name="prefix" value="robot"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>
  
</launch>

# xxx_topics.yml may look like this
topics:
- /joint_states
- /imu
- ...

  1. Start rosbag-record at your own timing
  • method 1: use remote_rosbag_record/trigger node
rosrun remote_rosbag_record trigger _regex:="/.*/start"

  • method 2: use remote_rosbag_record/joy_listener node
rosrun remote_rosbag_record joy_listener _start_regex:="/.*/start" _start_button:=10 ...

  • method 3: call trigger services from your teleoperation node
#include<remote_rosbag_record/call.hpp>

#include<boost/regex.hpp>

...

if (start_button_pressed) {
  remote_rosbag_record::call(boost::regex("/.*/start"));
}

  1. Stop rosbag-record (similar to the previous step)

Nodes

record

starts/stops rosbag-record when a coressponding service is called

Services
  • start (std_srvs/Empty)
  • stop (std_srvs/Empty)
Parameters

All parameters are optional and function like the original rosbag-record. See http://wiki.ros.org/rosbag/Commandline#record

  • ~record_all (bool)
  • ~regex (bool)
  • ~quiet (bool)
  • ~append_date (bool)
  • ~verbose (bool)
  • ~compression (string)
    • “uncompressed”, “bz2”, or “lz4”
  • ~prefix (string)
  • ~name (string)
  • ~topics (string array)
  • ~buffer_size (int)
  • ~exclude_regex (string)
  • ~node (string)

trigger

calls multiple start/stop services at once

Parameters
  • ~regex (string, required)
    • regular expression which matches services you want to call
  • ~verbose (bool, default: true)
    • verbose console output when calling services

joy_listener

subscribes joystick messages and calls start/stop services when a specified button is pressed

Subscribed topics

  • joy (sensor_msgs/Joy)

Parameters

  • ~start_button (int, default: 12)
    • button id to trigger start services
  • ~start_regex (string, default: “<node’s namespace>/start”)
    • regular expression which matches start services
  • ~stop_button (int, default: 11)
    • button id to trigger stop services
  • ~stop_regex (string, default: “<node’s namespace>/stop”)
    • regular expression which matches stop services
  • ~verbose (bool, default: true)
    • verbose console output when calling services
CHANGELOG

Changelog for package remote_rosbag_record

0.0.5 (2020-XX-XX)

  • Add verbose option to trigger node

0.0.4 (2020-09-26)

  • Install joy_listener
  • Change cmake minimum version from 2.8.3 to 3.0.2 to suppress CMP0048 warning

0.0.3 (2020-09-26)

  • Avoid an exception from class_loader when record node finishes

0.0.2 (2020-03-25)

  • call() returns number of successfull service calls
  • Add joy_listener node that calls start/stop services according to joystick input

0.0.1 (2020-03-16)

  • Initial version
  • Contributors: Tim Clephas, Yoshito Okada

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged remote_rosbag_record at Robotics Stack Exchange

remote_rosbag_record package from remote_rosbag_record repo

remote_rosbag_record

Package Summary

Tags No category tags.
Version 0.0.4
License MIT
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/yoshito-n-students/remote_rosbag_record.git
VCS Type git
VCS Version master
Last Updated 2021-01-26
Dev Status MAINTAINED
CI status Continuous Integration : 0 / 0
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The remote_rosbag_record package

Additional Links

No additional links.

Maintainers

  • Yoshito Okada

Authors

No additional authors.

remote_rosbag_record

ROS nodes that start/stop rosbag-record by a remote trigger

Usage

  1. Launch recorder nodes with your favourite nodes. Use respawn options to record multiple times.
<launch>

  <group ns="console">
    <include file="console.machine"/>

    ... other console nodes ...
    
    <node name="console-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="console_topics.yml"/>
      <param name="prefix" value="console"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>

  <group ns="robot">
    <include file="robot.machine"/>

    ... other robot nodes ....

    <node name="robot-record" pkg="remote_rosbag_record" type="record" respawn="true">
      <rosparam file="robot_topics.yml"/>
      <param name="prefix" value="robot"/>
      <param name="apped_date" value="true"/>
    </node>
  </group>
  
</launch>

# xxx_topics.yml may look like this
topics:
- /joint_states
- /imu
- ...

  1. Start rosbag-record at your own timing
  • method 1: use remote_rosbag_record/trigger node
rosrun remote_rosbag_record trigger _regex:="/.*/start"

  • method 2: use remote_rosbag_record/joy_listener node
rosrun remote_rosbag_record joy_listener _start_regex:="/.*/start" _start_button:=10 ...

  • method 3: call trigger services from your teleoperation node
#include<remote_rosbag_record/call.hpp>

#include<boost/regex.hpp>

...

if (start_button_pressed) {
  remote_rosbag_record::call(boost::regex("/.*/start"));
}

  1. Stop rosbag-record (similar to the previous step)

Nodes

record

starts/stops rosbag-record when a coressponding service is called

Services
  • start (std_srvs/Empty)
  • stop (std_srvs/Empty)
Parameters

All parameters are optional and function like the original rosbag-record. See http://wiki.ros.org/rosbag/Commandline#record

  • ~record_all (bool)
  • ~regex (bool)
  • ~quiet (bool)
  • ~append_date (bool)
  • ~verbose (bool)
  • ~compression (string)
    • “uncompressed”, “bz2”, or “lz4”
  • ~prefix (string)
  • ~name (string)
  • ~topics (string array)
  • ~buffer_size (int)
  • ~exclude_regex (string)
  • ~node (string)

trigger

calls multiple start/stop services at once

Parameters
  • ~regex (string, required)
    • regular expression which matches services you want to call
  • ~verbose (bool, default: true)
    • verbose console output when calling services

joy_listener

subscribes joystick messages and calls start/stop services when a specified button is pressed

Subscribed topics

  • joy (sensor_msgs/Joy)

Parameters

  • ~start_button (int, default: 12)
    • button id to trigger start services
  • ~start_regex (string, default: “<node’s namespace>/start”)
    • regular expression which matches start services
  • ~stop_button (int, default: 11)
    • button id to trigger stop services
  • ~stop_regex (string, default: “<node’s namespace>/stop”)
    • regular expression which matches stop services
  • ~verbose (bool, default: true)
    • verbose console output when calling services
CHANGELOG

Changelog for package remote_rosbag_record

0.0.5 (2020-XX-XX)

  • Add verbose option to trigger node

0.0.4 (2020-09-26)

  • Install joy_listener
  • Change cmake minimum version from 2.8.3 to 3.0.2 to suppress CMP0048 warning

0.0.3 (2020-09-26)

  • Avoid an exception from class_loader when record node finishes

0.0.2 (2020-03-25)

  • call() returns number of successfull service calls
  • Add joy_listener node that calls start/stop services according to joystick input

0.0.1 (2020-03-16)

  • Initial version
  • Contributors: Tim Clephas, Yoshito Okada

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged remote_rosbag_record at Robotics Stack Exchange