Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rosrun as super user

Hello, I have some code in my ros node (within a catkin workspace) that requires super user privilege in order to access some serial ports. How can this be done as sudo does not work with rosrun.

Thanks.

Rosrun as super user

Hello, I have some code in my ros node (within a catkin workspace) that requires super user privilege in order to access some serial ports. How can this be done as sudo does not work with rosrun.

Thanks.

Edit: This is using the admin account:

$groups ros
ros : ros adm cdrom sudo dip plugdev lpadmin sambashare

Rosrun as super user

Hello, I have some code in my ros node (within a catkin workspace) that requires super user privilege in order to access some serial ports. How can this be done as sudo does not work with rosrun.

Thanks.

Edit: This is using the admin account:

$groups ros
ros : ros adm dialout cdrom sudo dip plugdev lpadmin sambashare