mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-03-18 21:50:36 +01:00
install script and usb rules
This commit is contained in:
11
install.sh
11
install.sh
@@ -24,7 +24,7 @@ sudo apt install ros-dev-tools ros-jazzy-desktop -y
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
cd WiringPi
|
||||
cd WiringPi || exit 1
|
||||
|
||||
./build debian
|
||||
mv ./debian-template/wiringpi_*.deb .
|
||||
@@ -42,4 +42,11 @@ echo "export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
|
||||
export FASTRTPS_DEFAULT_PROFILES_FILE=~/modelec-marcel-ROS/fastdds_setup.xml
|
||||
export ROS_DOMAIN_ID=128" >> ~/.bashrc
|
||||
|
||||
source ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
cp usbs.rules /etc/udev/rules.d
|
||||
source src/rplidar_ros/scripts/create_udev_rules.sh
|
||||
|
||||
cp ros2_launch_marcel.desktop ~/Desktop
|
||||
chmod +x ~/Desktop/ros2_launch_marcel.desktop
|
||||
gio set ~/Desktop/ros2_launch_marcel.desktop "metadata::trusted" true
|
||||
|
||||
3
usbs.rules
Normal file
3
usbs.rules
Normal file
@@ -0,0 +1,3 @@
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="", ATTRS{idProduct}=="", NAME="USB_ALIM", SYMLINK="USB_ALIM"
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="", ATTRS{idProduct}=="", NAME="USB_ODO", SYMLINK="USB_ODO"
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="", ATTRS{idProduct}=="", NAME="USB_ACTION", SYMLINK="USB_ACTION"
|
||||
Reference in New Issue
Block a user