can not roslaunch canopen_motor_node as it throws an instance
Hello,
I am trying to control a synapticon cia402 servo node with canopen_motor_node. I have created a simple robot_description , canopen.yaml file and config.eds file as stated in the documentations.
My yaml file is as follows
bus:
device: enp8s0
sync:
interval_ms: 10
overflow: 0
nodes:
-name: node1
id: 1
eds_pkg: freemotor
eds_file: "/config/my_config.eds"
Where as my my_config.eds file is as follows,
defaults: #optional, all defaults can be overwritten per node
motor_allocator: canopen::Motor402::Allocator #select allocator for motor layer
#motor_layer: #settings passed to motor layer (plugin-specific)
switching_State: 5
pos_to_device: "rint(rad2deg(pos)*1000)" # rad -> mdeg
pos_from_device: "deg2rad(obj6064)/1000" # actual position [mdeg] -> rad
vel_to_device: "rint(rad2deg(vel)*1000)" # rad/s -> mdeg/s
vel_from_device: "deg2rad(obj606C)/1000" # actual velocity [mdeg/s] -> rad/s
eff_to_device: "rint(eff)" # just round to integer
#eff_from_device: "0" # unset
publish["6042"]
WHen running the launch , i get the following error
what(): /home/sganapa/catking_ws/src/freemotor/config/my_config.eds(1): '=' character not found in line
can anyone please help me with what exactly this error means, I am a beginner in using cia402 drive with ros and hence I am trying to move a single motor with a cia402 drive with ros by following the documentation.
Did you mean to spell "defaults" as "defauls"?
yes, it was a typo. Sorry, i have corrected it now