how to change wireless network when start robot with reboot machine?
I want to change wireless network dynamically.I use robot_upstart
package to automatically start the robot launch file when reboot machine. Before I want to change wireless network with command linenmcli device wifi connect <SSID> password <PASSWORD>
everything is good.I have tried subprocess,envoy and os.system in my python scripts,they are work well with roslaunch
,but they are all not work with the service generated by robot_upstart.But I have tried manually write the scripts into service file,it can change wireless network.Is there something wrong with nmcli
and robot_upstart
?