flynneva / grbl_ros

ROS2 node for interfacing with a GRBL device
https://flynneva.github.io/grbl_ros/
MIT License
17 stars 11 forks source link

failed to parse global arguments #109

Closed yagizzha closed 2 years ago

yagizzha commented 2 years ago

image

i get this error when i try to : ros2 run grbl_ros grbl_node --ros-args --params-file /path/to/workspace/src/grbl_ros/config/cnc001.yaml

flynneva commented 2 years ago

@yagizzha this error looks like it is caused by incorrect path to your yaml file.

Be sure to replace "/path/to/workspace/" with the path to where your yaml file is

yagizzha commented 2 years ago

/**: ros__parameters: machine_id: cnc_001 port: /dev/ttyUSB0 baudrate: 115200 x_max: 300 # mm y_max: 200 # mm z_max: 150 # mm default_v: 100 # mm / min x_max_v: 150 # mm / min y_max_v: 150 # mm / min z_max_v: 150 # mm / min x_steps: 100 # steps / mm y_steps: 100 # steps / mm z_steps: 100 # steps / mm

yagizzha commented 2 years ago

didnt change anything in it

flynneva commented 2 years ago

@yagizzha i think you mistyped the path to the file. Did you replace "/path/to/yaml"?

flynneva commented 2 years ago

It has to be the path to where the yaml file is on your system

flynneva commented 2 years ago

@yagizzha was your issue fixed? are you still seeing the same problem?

yagizzha commented 2 years ago

image solved one problem but now i get this , do i need to have a working grbl device to start it ?