clearpathrobotics / robot_upstart

ROS package of helper functions related to bringing up roslaunch on system startup.
BSD 3-Clause "New" or "Revised" License
196 stars 96 forks source link

nmcli connect wifi not work with this #62

Open dyan1024 opened 6 years ago

dyan1024 commented 6 years ago

robot_upstart is great so far,it's good for auto start with reboot. I want connect wifi Dynamicly,it works well by roslaunch.But installed service by robot_upstart this not work.the test is below,just nmcli command passed and not work,others work well. If should add something to service for nmcli?

test.launch

`

`

test.py 2017-12-16 15-28-32

I have test subprocess and envoy to run this command line,they are the same as os.system().

AlexisTM commented 6 years ago

nmcli needs root rights; I'm pretty sure this is the issue ;)