optoforce_daq_config.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "listen_port": 5277,
  3. "variable_list": [
  4. {
  5. "name": "flange_force",
  6. "type": "scalarxyz_obj"
  7. },
  8. {
  9. "name": "flange_torque",
  10. "type": "scalarxyz_obj"
  11. }
  12. ],
  13. "object_list": [
  14. {
  15. "type": "optoforce_daq",
  16. "name": "optoforce_daq",
  17. "start_config": {
  18. "com_port": "/dev/ttyACM0",
  19. "device_type": 3,
  20. "force_output_name": "flange_force",
  21. "torque_output_name": "flange_torque",
  22. "force_resolution": 0.01,
  23. "torque_resolution": 0.001,
  24. "report_frequency": 100,
  25. "filter_type": 4
  26. }
  27. },
  28. {
  29. "type": "scalarxyz_obj_watcher",
  30. "name": "force_watcher",
  31. "start_config": {
  32. "minimum_interval_ms": 500,
  33. "variable_name": "flange_force"
  34. }
  35. },
  36. {
  37. "type": "scalarxyz_obj_watcher",
  38. "name": "torque_watcher",
  39. "start_config": {
  40. "minimum_interval_ms": 500,
  41. "variable_name": "flange_torque"
  42. }
  43. },
  44. {
  45. "type": "empty_object",
  46. "name": "all",
  47. "dependencies": [
  48. "optoforce_daq",
  49. "force_watcher",
  50. "torque_watcher"
  51. ]
  52. }
  53. ]
  54. }