Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 21 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,39 +81,24 @@ Nvidia Jeston TX2/Xavier/XavierNX have CAN controller(s) integrated in the main

4. Launch ROS nodes

* Start the base node for scout

```
$ roslaunch scout_bringup scout_robot_base.launch
```

The [scout_bringup/scout_minimal.launch](scout_bringup/launch/scout_minimal.launch) has 5 parameters:

- port_name: specifies the port used to communicate with the robot, default = "can0"
- simulated_robot: indicates if launching with a simulation, default = "false"
- model_xacro: specifies the target ".xacro" file for the publishing of tf frames, default = [scout_v2.xacro](scout_base/description/scout_v2.xacro)
- odom_topic_name: sets the name of the topic which calculated odometry is published to, defaults = "odom"
- is_scout_mini:Suitable for chassis of type scout_mini,defaults = "false"

* Start the base node for scout-mini

```
$ roslaunch scout_bringup scout_mini_robot_base.launch
```

* Start the base node for scout-min(omni mode)

```bash
$ roslaunch scout_bringup scout_miniomni_robot_base.launch
```


* Start the keyboard tele-op node

```
$ roslaunch scout_bringup scout_teleop_keyboard.launch
```

**SAFETY PRECAUSION**:

The default command values of the keyboard teleop node are high, make sure you decrease the speed commands before starting to control the robot with your keyboard! Have your remote controller ready to take over the control whenever necessary.
* Start the base node for scout using the [scout_bringup/launch/scout_robot_base.launch](scout_bringup/launch/scout_robot_base.launch) file.
* Launch Examples:
- Scout robot: `roslaunch scout_bringup scout_robot_base.launch`
- Scout mini robot: `roslaunch scout_bringup scout_robot_base.launch is_scout_mini:=true`
- Scout mini omni robot: `roslaunch scout_bringup scout_robot_base.launch is_scout_mini:=true is_scout_omni:=true`
* The file launches the following nodes:
- [scout_base/src/scout_base_node](scout_base/src/scout_base_node.cpp) - which connects to the physical robot via the CAN interface or simulates a robot.
- [robot_state_publisher](http://wiki.ros.org/robot_state_publisher) - which publishes the robot transforms using a URDF.
- [rviz](http://wiki.ros.org/rviz) - if enabled
* The launch file has 8 parameters:
- port_name: specifies the port used to communicate with the robot, default = "can0"
- simulated_robot: indicates if launching with a simulation, default = "false"
- odom_topic_name: sets the name of the topic which calculated odometry is published to, defaults = "odom"
- is_scout_mini: set to true for chassis of type scout_mini, defaults = "false"
- is_scout_omni: set to true for chassis of type scout_mini_omni, defaults = "false"
- pub_tf: set to true to publish the odom to base_link transform on /tf, defaults = "true"
- rviz_on: set to true to launch RVIZ, defaults = "false"
- rviz_config: set the RVIZ config file to use, defaults = "scout_bringup/rviz/scout.rviz"

* Start the keyboard tele-op node: `roslaunch scout_bringup scout_teleop_keyboard.launch`
- **SAFETY PRECAUTION**: The default command values of the keyboard teleop node are high, make sure you decrease the speed commands before starting to control the robot with your keyboard! Have your remote controller ready to take over the control whenever necessary.
10 changes: 0 additions & 10 deletions scout_base/launch/display_model.launch

This file was deleted.

5 changes: 3 additions & 2 deletions scout_base/launch/scout_base.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@
* CAN bus: 500k
* UART: 115200, Parity None, 8-bit Data, 1 Stop Bit
-->
<arg name="robot_name" default="scout" />
<arg name="port_name" default="can0" />
<arg name="is_scout_mini" default="false" />
<arg name="is_scout_omni" default="false" />
<arg name="simulated_robot" default="false" />
<arg name="odom_topic_name" default="odom" />
<arg name="pub_tf" default="$(arg pub_tf)" />

<node name="scout_base_node" pkg="scout_base" type="scout_base_node" output="screen" required="true">
<node name="scout_base_node" pkg="scout_base" type="scout_base_node" output="screen" required="true" ns="$(arg robot_name)">
<param name="is_scout_mini" type="bool" value="$(arg is_scout_mini)" />
<param name="is_scout_omni" type="bool" value="$(arg is_scout_omni)" />
<param name="port_name" type="string" value="$(arg port_name)" />
<param name="simulated_robot" type="bool" value="$(arg simulated_robot)" />
<param name="odom_frame" type="string" value="odom" />
<param name="base_frame" type="string" value="base_link" />
<param name="base_frame" type="string" value="base_footprint" />
<param name="odom_topic_name" type="string" value="$(arg odom_topic_name)" />
<param name="pub_tf" type="bool" value="$(arg pub_tf)" />
</node>
Expand Down
30 changes: 0 additions & 30 deletions scout_base/launch/scout_mini_base.launch

This file was deleted.

30 changes: 0 additions & 30 deletions scout_base/launch/scout_mini_omni.launch

This file was deleted.

209 changes: 0 additions & 209 deletions scout_base/rviz/model_display.rviz

This file was deleted.

Loading