Project

General

Profile

Revision 85538662

ID855386623f71e8f31cd5440dc59858a73954bf2a
Parent ad0e9d48
Child 3ef02dd3

Added by Alex Zirbel over 12 years ago

Updated the sonar module prototype.

The biggest change to the proposed node is a restructuring of the sonar code style. Two services (sonar_toggle and sonar_set_scan) allow another node to turn the sonar on and off. The sonar constantly scans, keeps track of its position, and publishes all its readings in the topic sonar_direction.msg.

Added the appropriate message and service files, and the code skeleton.

The most obvious missing part of the code is the part which controls the movement of the sonar sensor, which should constantly scan between two ranges without user intervention.

View differences:

scout/sonar/CMakeLists.txt
17 17
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
18 18

  
19 19
#uncomment if you have defined messages
20
#rosbuild_genmsg()
20
rosbuild_genmsg()
21 21
#uncomment if you have defined services
22 22
rosbuild_gensrv()
23 23

  

Also available in: Unified diff