Comments (7)
The easiest fix will be running the driver with sudo
.
The next easiest method will be sudo chmod 666 /dev/ttyACM0
.
The right thing to do is sudo usermod -aG dialout $USER
The other thing you can do is to set up a udev
rule to create correct permission for /dev/ttyACM0
from bno055_usb_stick.
Agree with @BillWSY . What I always do is the third one. Doing once after installing Ubuntu is enough.
from bno055_usb_stick.
Hey,
thank you for your answers.
I tried typing sudo cmod 666 /dev/ttyACM0
and it worked. But I need to type it every time I plug in the usb imu stick.
Then I tried to create a rule by creating a rule file in /etc/udev/rules.d
and applied following rule in the created rule file:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0x152a", ATTRS{idProduct}=="0x80c1", MODE:="0666"
With this rule the imu stick worked once. Now when I run the node I get following output:
[ERROR] []: start: open: Device or resource busy
EDIT: In the case I plug out the imu stick and replug it in, I get this error. Is it possipble that I have to restart roscore in this case?
How can I solve this?
Thank you again :)
from bno055_usb_stick.
Your udev rule may miss a GROUP attribute. Or try the 3rd proposal in @BillWSY 's post.
from bno055_usb_stick.
I tried sudo usermod -aG dialout $USER
but somehow it said, that permission was still denied.
Do I have to modify anything in this line?
from bno055_usb_stick.
sudo usermod -aG dialout $USER
should work on ubuntu 16. Reboot the computer or google "ubuntu 16 add user to group dialout".
from bno055_usb_stick.
it works, thank you for your help!
from bno055_usb_stick.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bno055_usb_stick.