Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add device error status diagnostic output #46

Merged
merged 5 commits into from Feb 7, 2019
Merged

Conversation

@at-wat
Copy link
Member

at-wat commented Feb 2, 2019

fix #45

@at-wat at-wat self-assigned this Feb 2, 2019
@at-wat

This comment was marked as outdated.

Copy link
Member Author

at-wat commented Feb 4, 2019

example

---
header: 
  seq: 115
  stamp: 
    secs: 1549248988
    nsecs: 887989982
  frame_id: ''
status: 
  - 
    level: 0
    name: "YP-Spur Motor Controller"
    message: "Motor controller is running without error."
    hardware_id: "not provided"
    values: 
      - 
        key: "connection_error"
        value: "0"
      - 
        key: "device_error"
        value: "0"
---
header: 
  seq: 116
  stamp: 
    secs: 1549248989
    nsecs: 892981320
  frame_id: ''
status: 
  - 
    level: 2
    name: "YP-Spur Motor Controller"
    message: "Motor controller reported error id 2."
    hardware_id: "not provided"
    values: 
      - 
        key: "connection_error"
        value: "0"
      - 
        key: "device_error"
        value: "2"
src/ypspur_ros.cpp Outdated Show resolved Hide resolved
src/ypspur_ros.cpp Outdated Show resolved Hide resolved
@at-wat at-wat force-pushed the add-device-err-status-diag branch from 20803da to ac4af3e Feb 4, 2019
@at-wat

This comment has been minimized.

Copy link
Member Author

at-wat commented Feb 4, 2019

---
header: 
  seq: 27
  stamp: 
    secs: 1549250137
    nsecs: 368118282
  frame_id: ''
status: 
  - 
    level: 0
    name: "YP-Spur Motor Controller"
    message: "Motor controller is running without error."
    hardware_id: "ipc-key28741"
    values: 
      - 
        key: "connection_error"
        value: "0"
      - 
        key: "device_error"
        value: "0"
---
header: 
  seq: 28
  stamp: 
    secs: 1549250137
    nsecs: 983119286
  frame_id: ''
status: 
  - 
    level: 2
    name: "YP-Spur Motor Controller"
    message: "Motor controller reported error id 1."
    hardware_id: "ipc-key28741"
    values: 
      - 
        key: "connection_error"
        value: "0"
      - 
        key: "device_error"
        value: "1"
@at-wat at-wat merged commit 6991c4c into master Feb 7, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@at-wat at-wat deleted the add-device-err-status-diag branch Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.