NiryoRobotics / niryo_one_ros

Niryo One ROS stack
GNU General Public License v3.0
234 stars 160 forks source link

Can not change Modbus port from 5020 to 502 #58

Closed Thuunderbear closed 2 years ago

Thuunderbear commented 2 years ago

Hello, This bug occur on ned one. In "~/catkin_ws/src/niryo_robot_modbus/launch/modbus_server.launch" when changing :

\

as recommended to

\

nothing happen after restarting ( I check the port using nmap and nothing has change).

After some research I reach the niryo_robot_modbus package folder by using :

roscd niryo_robot_modbus

it send me to "~/catkin_ws/install/release/ned/share/niryo_robot_modbus/launch" folder and when I try to change the same file in this folder after this commands :

rosdep fix-permissions

roslauch niryo_robot_modbus modbus_server.launch

Thes modbus TCP port is closed and I have an error

ModbusServer.init : TCP server unable to start : [Errno 13] Permission denied

(sudo seems to doesn't work )

Could you help me ?

Thanks

ValentinPitre commented 2 years ago

Hi, I'm not sure if you are in the right repository :) Maybe this one https://github.com/NiryoRobotics/ned_ros would be better