Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Shuhang Huang
turtlebot3
Commits
85def5ee
Commit
85def5ee
authored
7 years ago
by
Darby Lim
Browse files
Options
Download
Patches
Plain Diff
add scripts for reload rules
parent
16b11232
master
dashing-devel
develop
eloquent-devel
feature-burger-camera
feature-camera
feature-humble
feature-nav2-update
feature-raspicam
foxy-devel
galactic-devel
galactic-devel-hotfix
hotfix-humble
hotfix-humble-example
hotfix-melodic-cartographer
humble-devel
kinetic-devel
melodic-devel
noetic-devel
ros2
ros2-devel
2.1.5
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.2.5
1.2.4
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.2.1
0.2.0
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
turtlebot3_bringup/99-turtlebot3-cdc.rules
+10
-0
turtlebot3_bringup/99-turtlebot3-cdc.rules
turtlebot3_bringup/CMakeLists.txt
+7
-0
turtlebot3_bringup/CMakeLists.txt
turtlebot3_bringup/scripts/create_udev_rules
+15
-0
turtlebot3_bringup/scripts/create_udev_rules
with
32 additions
and
0 deletions
+32
-0
turtlebot3_bringup/99-turtlebot3-cdc.rules
0 → 100644
+
10
−
0
View file @
85def5ee
#http://linux-tips.org/t/prevent-modem-manager-to-capture-usb-serial-devices/284/2.
#cp rules /etc/udev/rules.d/
#sudo udevadm control --reload-rules
#sudo udevadm trigger
ATTRS{idVendor}=="0483" ATTRS{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666"
ATTRS{idVendor}=="0483" ATTRS{idProduct}=="df11", MODE:="0666"
ATTRS{idVendor}=="fff1" ATTRS{idProduct}=="ff48", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666"
ATTRS{idVendor}=="10c4" ATTRS{idProduct}=="ea60", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666"
This diff is collapsed.
Click to expand it.
turtlebot3_bringup/CMakeLists.txt
+
7
−
0
View file @
85def5ee
...
...
@@ -21,6 +21,13 @@ install(DIRECTORY launch
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
)
install
(
PROGRAMS scripts/create_udev_rules
DESTINATION
${
CATKIN_PACKAGE_BIN_DESTINATION
}
)
install
(
FILES 99-turtlebot3-cdc.rules
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
)
################################################################################
# Test
################################################################################
This diff is collapsed.
Click to expand it.
turtlebot3_bringup/scripts/create_udev_rules
0 → 100755
+
15
−
0
View file @
85def5ee
#!/bin/bash
echo
""
echo
"This script copies a udev rule to /etc to facilitate bringing"
echo
"up the turtlebot3 usb connection."
echo
""
sudo cp
`
rospack find turtlebot3_bringup
`
/99-turtlebot3-cdc.rules /etc/udev/rules.d/
echo
""
echo
"Reload rules"
echo
""
sudo
udevadm control
--reload-rules
sudo
udevadm trigger
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets