Groups
Groups
Sign in
Groups
Groups
ROS Japan Users Group
Conversations
About
Send feedback
Help
ROSのroot権限について
1,357 views
Skip to first unread message
super.sta...@gmail.com
unread,
Oct 5, 2015, 12:25:23 AM
10/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ROS JAPAN Users Group
お世話になっております。
日原と申します。
ROSのroot権限について質問です。
RaspberryPiにROS indigoを入れて制御をしようとしています。
RaspberryPiのGPIOピンに信号がONしたときに、
ROSのmsgを飛ばそうとしました。
RaspberryPiのGPIOピンを使用するのにroot権限が必要のため、
sudoをつけたり、スーパーユーザーでrosコマンドを実行しましたが、
コマンドが見つかりませんとなってしまいます。
ROSをroot権限で実行する方法をご教示頂けますでしょうか。
宜しくお願いいたします。
Yutaka Kondo
unread,
Oct 5, 2015, 1:29:05 AM
10/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ros-jap...@googlegroups.com
youtalkです。
> ROSをroot権限で実行する方法をご教示頂けますでしょうか。
より安全な方法として、GPIOをsudoなしでも使えるようにユーザグループへ登録なさってはいかがでしょうか?
Raspberry Piは持っていないのですが、LEGO Mindstorms EV3のI2CとGPIOにアクセスするには、
$ sudo usermod -a -G i2c,gpio USER_NAME
としてユーザグループへ追加するとsudoなしでアクセスできるようになりました。
http://lowreal.net/2013/12/26/1
のページを見てみても、Raspberry Piでもできそうです。お試しください。
近藤 豊
@youtalk
2015年10月5日 13:25 <
super.sta...@gmail.com
>:
> --
> このメールは Google グループのグループ「ROS JAPAN Users Group」に登録しているユーザーに送られています。
> このグループから退会し、グループからのメールの配信を停止するには
>
ros-japan-use...@googlegroups.com
にメールを送信してください。
> その他のオプションについては
https://groups.google.com/d/optout
にアクセスしてください。
Takashi Ogura
unread,
Oct 5, 2015, 1:33:31 AM
10/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ros-jap...@googlegroups.com
sudo bash
しても出来る気がします
2015/10/05 14:29 "Yutaka Kondo" <
yutaka...@gmail.com
>:
このメールは Google グループのグループ「ROS JAPAN Users Group」の登録者に送られています。
Reply all
Reply to author
Forward
0 new messages