Project

General

Profile

gazeboft component

Acquire data from a gazebo Force/Torque sensor.

Ports

wrench (out)

Data structure
  • struct ::or_wrench_estimator::state wrench

    • struct ::or::time::ts ts

      • long sec

      • long nsec

    • boolean intrinsic

    • optional< struct ::or::rb3d::force > force

      • double x

      • double y

      • double z

    • optional< struct ::or::rb3d::force_cov > force_cov

      • double cov[6]

    • optional< struct ::or::rb3d::torque > torque

      • double x

      • double y

      • double z

    • optional< struct ::or::rb3d::torque_cov > torque_cov

      • double cov[6]


Services

get_sensors (function)

Outputs
  • sequence< string<64>, 16 > sensors

Throws
  • exception ::gazeboft::e_nodev

  • exception ::gazeboft::e_sys

    • short code

    • string<128> what

Get a list of published force/torque topics


connect (activity)

Inputs
  • string<64> topic (default "") Wrench topic name

Throws
  • exception ::gazeboft::e_nodev

  • exception ::gazeboft::e_sys

    • short code

    • string<128> what

Context

Connect to the simulated sensor


disconnect (activity)

Context

Disconnect from the simulator


set_zero (activity)

Inputs
  • long samples (default "2000") Number of samples

Throws
  • exception ::gazeboft::e_nodev

Context

Zero out the output


log (function)

Inputs
  • string<64> path (default "/tmp/gazeboft.log") Log file name

  • unsigned long decimation (default "1") Reduced logging frequency

Throws
  • exception ::gazeboft::e_sys

    • short code

    • string<128> what

Log measured wrench


log_stop (function)

Stop logging


log_info (function)

Outputs
  • unsigned long miss Missed log entries

  • unsigned long total Total log entries

Show missed log entries


Tasks

read

Context