This repository was archived by the owner on Dec 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +5
-21
lines changed
Expand file tree Collapse file tree 7 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -94,14 +94,6 @@ install(TARGETS march_hardware
9494 LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
9595 RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION} )
9696
97- # Give sudo access to ethernet port
98- add_custom_command (
99- TARGET slave_count_check
100- COMMAND sudo setcap cap_net_raw+ep slave_count_check
101- WORKING_DIRECTORY ${CATKIN_DEVEL_PREFIX} /${CATKIN_PACKAGE_BIN_DESTINATION}
102- POST_BUILD
103- )
104-
10597## Add gtest based cpp test target and link libraries
10698if (CATKIN_ENABLE_TESTING)
10799
Original file line number Diff line number Diff line change @@ -59,14 +59,6 @@ install(DIRECTORY include/${PROJECT_NAME}/
5959 FILES_MATCHING PATTERN "*.h"
6060 PATTERN ".svn" EXCLUDE )
6161
62- # Give sudo access to ethernet port
63- add_custom_command (
64- TARGET march_hardware_interface_node
65- COMMAND sudo setcap cap_net_raw+ep march_hardware_interface_node
66- WORKING_DIRECTORY ${CATKIN_DEVEL_PREFIX} /${CATKIN_PACKAGE_BIN_DESTINATION}
67- POST_BUILD
68- )
69-
7062## Add gtest based cpp test target and link libraries
7163if (CATKIN_ENABLE_TESTING)
7264
Original file line number Diff line number Diff line change 1414 /march/controller/trajectory
1515 " />
1616
17- <node name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" march3" output =" screen" />
17+ <node launch-prefix = " ethercat_grant " name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" march3" output =" screen" />
1818
1919</launch >
Original file line number Diff line number Diff line change 1313 /march/controller/trajectory
1414 " />
1515
16- <node name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" march4" output =" screen" />
16+ <node launch-prefix = " ethercat_grant " name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" march4" output =" screen" />
1717
1818</launch >
Original file line number Diff line number Diff line change 66 /march/controller/pdb_state
77 " />
88
9- <node name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" pdb" output =" screen" />
9+ <node launch-prefix = " ethercat_grant " name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" pdb" output =" screen" />
1010
1111</launch >
Original file line number Diff line number Diff line change 2222 /march/controller/trajectory
2323 " />
2424
25- <node name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" testjoint_linear" output =" screen" />
25+ <node launch-prefix = " ethercat_grant " name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" testjoint_linear" output =" screen" />
2626
2727</launch >
Original file line number Diff line number Diff line change 1212 /march/controller/trajectory
1313 " />
1414
15- <node name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" testjoint_rotational" output =" screen" />
15+ <node launch-prefix = " ethercat_grant " name =" march_hardware_interface" pkg =" march_hardware_interface" type =" march_hardware_interface_node" args =" testjoint_rotational" output =" screen" />
1616
1717</launch >
You can’t perform that action at this time.
0 commit comments