mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 03:15:01 +08:00
updated launch files and readme
This commit is contained in:
@@ -154,7 +154,7 @@ include_directories(
|
||||
## Install ##
|
||||
#############
|
||||
|
||||
install(DIRECTORY launch
|
||||
install(DIRECTORY launch scripts
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
<launch>
|
||||
<include file="$(find scout_base)/launch/scout_base.launch" />
|
||||
<include file="$(find scout_base)/launch/scout_base.launch" >
|
||||
<arg name="port_name" default="can0" />
|
||||
<arg name="simulated_robot" default="false" />
|
||||
</include>
|
||||
</launch>
|
||||
6
scout_bringup/launch/scout_minimal_uart.launch
Normal file
6
scout_bringup/launch/scout_minimal_uart.launch
Normal file
@@ -0,0 +1,6 @@
|
||||
<launch>
|
||||
<include file="$(find scout_base)/launch/scout_base.launch" >
|
||||
<arg name="port_name" value="/dev/ttyUSB0" />
|
||||
<arg name="simulated_robot" value="false" />
|
||||
</include>
|
||||
</launch>
|
||||
4
scout_bringup/scripts/bringup_can2usb.bash
Executable file
4
scout_bringup/scripts/bringup_can2usb.bash
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# bring up can interface
|
||||
sudo ip link set can0 up type can bitrate 500000
|
||||
10
scout_bringup/scripts/setup_can2usb.bash
Executable file
10
scout_bringup/scripts/setup_can2usb.bash
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# enable kernel module: gs_usb
|
||||
sudo modprobe gs_usb
|
||||
|
||||
# bring up can interface
|
||||
sudo ip link set can0 up type can bitrate 500000
|
||||
|
||||
# install can utils
|
||||
sudo apt install -y can-utils
|
||||
Reference in New Issue
Block a user