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

New Packages added #89

Open
wants to merge 2 commits into
base: kinetic-devel
Choose a base branch
from
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ PROJECTS
* [rwt_moveit](rwt_moveit/README.rst)
* [rwt_plot](rwt_plot/README.md)
* [rwt_speech_recognition](rwt_speech_recognition/README.md)
* [rwt_steer](rwt_steer/README.md)
* [rwt_map](rwt_map/README.md)
* [rwt_nav](rwt_nav/README.md)
24 changes: 24 additions & 0 deletions rwt_map/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_map)

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
)
36 changes: 36 additions & 0 deletions rwt_map/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
rwt_map
====================

Usage
-----
```
roslaunch rwt_map rwt_map.launch
```
Launch your gmapping node which provides `/map` topic.

Open your browser, and access to:

`http://<your host name>:8000/rwt_map/`

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

- Control using Joystick
- Add camera topic
- Press Load video button
- View the map built in real time
- Ctrl + mouse movement = Zoom
- Shift + mouse movement = Pan

To view live location of robot :
```
rosrun robot_pose_publisher robot_pose_publisher
```
- Current position of the robot is shown by Red Arrow

Once the map is created,
```
rosrun map_server map_saver ~/catkin_ws/src/rwt_nav/maps/name_of_map
```

![rwt_map.png](images/rwt_map.png)

Binary file added rwt_map/images/rwt_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions rwt_map/launch/rwt_map.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<launch>
<arg name="launch_roswww" 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">
<arg name="port" value="9090" />
</include>

<node pkg="web_video_server" type="web_video_server"
name="web_video_server"
output="screen"
clear_params="true">
<param name="port" value="8080" />
</node>

</launch>
29 changes: 29 additions & 0 deletions rwt_map/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<package>
<name>rwt_map</name>
<version>0.0.3</version>
<description>The rwt_map package</description>
<author>Yug Ajmera</author>
<maintainer email="[email protected]">Yug Ajmera</maintainer>

<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>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>
<!-- You can specify that this package is a metapackage here: -->
<!-- <metapackage/> -->
<!-- Other tools can request additional information be placed here -->

</export>
</package>
15 changes: 15 additions & 0 deletions rwt_map/www/3rdparty/ros/js/easel.js

Large diffs are not rendered by default.

Loading