Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rwt_nav package #96

Merged
merged 4 commits into from
Nov 19, 2020
Merged
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ PROJECTS
* [rwt_plot](rwt_plot/README.md)
* [rwt_speech_recognition](rwt_speech_recognition/README.md)
* [rwt_steer](rwt_steer/README.md)
* [rwt_nav](rwt_nav/README.md)
24 changes: 24 additions & 0 deletions rwt_nav/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 2.8.3)
project(rwt_nav)

find_package(catkin REQUIRED COMPONENTS
rosbridge_server
roswww
rwt_utils_3rdparty
)

catkin_package(
CATKIN_DEPENDS rosbridge_server roswww rwt_utils_3rdparty
)

include_directories(
${catkin_INCLUDE_DIRS}
)

install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

install(DIRECTORY www/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/www
)
29 changes: 29 additions & 0 deletions rwt_nav/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# rwt_nav

## Usage

```bash
roslaunch rwt_nav rwt_nav.launch
```

Open your browser, and access to: `http://<your host name>:8000/rwt_nav/`

for example : `http://localhost:8000/rwt_nav/`

To view live location of robot :

```bash
rosrun robot_pose_publisher robot_pose_publisher
```

- Current position of the robot is shown by yellow arrow.
- Ctrl + mouse movement = Zoom
- Shift + mouse movement = Pan

Launch the amcl node and move_base node.

Click anywhere on the map to give goal position and direction.

- Goal will be marked with red arrow.

![rwt_nav.png](images/rwt_nav.png)
Binary file added rwt_nav/images/rwt_nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions rwt_nav/launch/rwt_nav.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<launch>

<arg name="launch_roswww" default="true" />
<arg name="launch_rosbridge_websocket" default="true" />

<include file="$(find roswww)/launch/roswww.launch"
if="$(arg launch_roswww)">
<arg name="port" value="8000" />
</include>

<include file="$(find rosbridge_server)/launch/rosbridge_websocket.launch"
if="$(arg launch_rosbridge_websocket)">
<arg name="port" value="9090" />
</include>

<node name="robot_pose_publisher" pkg="robot_pose_publisher" type="robot_pose_publisher" />

</launch>
32 changes: 32 additions & 0 deletions rwt_nav/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<package>
<name>rwt_nav</name>
<version>0.0.3</version>
<description>The rwt_nav package</description>

<author email="[email protected]">Yug Ajmera</author>
<author email="[email protected]">Shingo Kitagawa</author>
<maintainer email="[email protected]">Yug Ajmera</maintainer>
<maintainer email="[email protected]">Shingo Kitagawa</maintainer>

<url type="website">http://wiki.ros.org/rwt_nav</url>
<url type="bugtracker">https://github.com/tork-a/visualization_rwt/issues</url>
<url type="repository">https://github.com/tork-a/visualization_rwt</url>

<license>BSD</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>rosbridge_server</build_depend>
<build_depend>web_video_server</build_depend>
<build_depend>rwt_utils_3rdparty</build_depend>
<build_depend>roswww</build_depend>

<run_depend>robot_pose_publisher</run_depend>
<run_depend>rosbridge_server</run_depend>
<run_depend>rwt_utils_3rdparty</run_depend>
<run_depend>web_video_server</run_depend>
<run_depend>roswww</run_depend>

<!-- The export tag contains other, unspecified, tags -->
<export>
</export>
</package>
15 changes: 15 additions & 0 deletions rwt_nav/www/3rdparty/ros/js/easel.js

Large diffs are not rendered by default.

Loading