fixed bug in launch file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"robot_ip_address": "172.16.0.2"
|
||||
"robot_mode": "VelocityControl"
|
||||
"robot_mode": "PositionControl"
|
||||
"robot_port": 5007
|
||||
"robot_speed": 20.0
|
||||
"thread_sampling_time_nsec": 4000000
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
<launch>
|
||||
<rosparam file="$(find sas_robot_driver_franka)/cfg/sas_robot_driver_franka_1.yaml" command="load"/>
|
||||
|
||||
|
||||
|
||||
<node pkg="sas_robot_driver_franka" type="sas_robot_driver_franka_node" name="franka_1">
|
||||
<rosparam file="$(find sas_robot_driver_franka)/cfg/sas_robot_driver_franka_1.yaml" command="load"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</node>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</launch>
|
||||
|
||||
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
|
||||
sas::RobotDriverFrankaConfiguration robot_driver_franka_configuration;
|
||||
|
||||
sas::get_ros_param(nh,"/robot_ip_address",robot_driver_franka_configuration.ip_address);
|
||||
sas::get_ros_param(nh,"/robot_mode", robot_driver_franka_configuration.mode, false);
|
||||
sas::get_ros_param(nh,"/robot_mode", robot_driver_franka_configuration.mode);
|
||||
|
||||
sas::RobotDriverROSConfiguration robot_driver_ros_configuration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user