HebiRobotics / HEBI-ROS-DEPRECATED

HEBI ROS Examples/API/etc.
19 stars 19 forks source link

EntryListSrv reponse: mac_address:0 #88

Open josephcoombe opened 6 years ago

josephcoombe commented 6 years ago

Using the develop branch:

As shown below, when the hebiros_node creates the group, it lists all the modules along with their MAC Addresses.

However, if I call the EntryLIstSrv ROS Service from my code, all the entries (listed in the response) have mac_address: 0

edit: It appears this is deliberate, https://github.com/HebiRobotics/HEBI-ROS/blob/master/hebiros/include/hebiros/hebiros_services.cpp#L18.

auto-starting new master
process[master]: started with pid [15621]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to c5c736e2-74b9-11e8-95d0-3065ec753340
process[rosout-1]: started with pid [15634]
started core service [/rosout]
process[hebiros_node-2]: started with pid [15651]
process[arm_position_controller-3]: started with pid [15652]
Broadcasting on:
  192.168.1.255
  172.20.20.255
[ INFO] [1529520187.618208976]: Parameters:
[ INFO] [1529520187.618256314]: /hebiros/node_frequency=200
[ INFO] [1529520187.618266584]: /hebiros/action_frequency=200
[ INFO] [1529520187.618275076]: /hebiros/feedback_frequency=100
[ INFO] [1529520187.618284010]: /hebiros/command_lifetime=100
[INFO] [1529520188.172186]:   Waiting for AddGroupFromURDFSrv at /hebiros/add_group_from_urdf ...
[INFO] [1529520188.173612]:   AddGroupFromURDFSrv AVAILABLE.
[ INFO] [1529520188.181604049]: Loaded URDF from robot_description
[ INFO] [1529520188.181855476]: Created group [hebi_6d_arm]:
[ INFO] [1529520188.181878508]: /hebi_6d_arm/ARM/Base
[ INFO] [1529520188.181898993]: /hebi_6d_arm/ARM/Elbow
[ INFO] [1529520188.181915449]: /hebi_6d_arm/ARM/Shoulder
[ INFO] [1529520188.181933296]: /hebi_6d_arm/ARM/Wrist_1
[ INFO] [1529520188.181950014]: /hebi_6d_arm/ARM/Wrist_2
[ INFO] [1529520188.215778132]: Entry list:
[ INFO] [1529520188.215821097]: /ARM/Wrist_3/54:10:ec:31:6b: c
[ INFO] [1529520188.215838902]: /ARM/Shoulder/54:10:ec:31:45:5a
[ INFO] [1529520188.215856217]: /GRIPPER/Spool/54:10:ec:31:88:93
[ INFO] [1529520188.215872701]: /ARM/Wrist_2/54:10:ec:31:b6:d0
[ INFO] [1529520188.215888143]: /ARM/Base/54:10:ec:31:9c:29
[ INFO] [1529520188.215906566]: /ARM/Wrist_1/54:10:ec:31:49:5c
[ INFO] [1529520188.215919972]: /ARM/Elbow/54:10:ec:31:9a:45
entry_list: 
  size: 7
  entries: 
    - 
      name: "Wrist_3"
      family: "ARM"
      mac_address: 0
    - 
      name: "Shoulder"
      family: "ARM"
      mac_address: 0
    - 
      name: "Spool"
      family: "GRIPPER"
      mac_address: 0
    - 
      name: "Wrist_2"
      family: "ARM"
      mac_address: 0
    - 
      name: "Base"
      family: "ARM"
      mac_address: 0
    - 
      name: "Wrist_1"
      family: "ARM"
      mac_address: 0
    - 
      name: "Elbow"
      family: "ARM"
      mac_address: 0
...