mirror of
https://github.com/bjoernellens1/rmp220_teleop.git
synced 2024-11-21 23:43:47 +00:00
update: launch file added
This commit is contained in:
parent
c2b7ecb0f1
commit
427f6a596d
@ -12,10 +12,17 @@ find_package(segway_msgs REQUIRED)
|
|||||||
|
|
||||||
ament_python_install_package(${PROJECT_NAME})
|
ament_python_install_package(${PROJECT_NAME})
|
||||||
|
|
||||||
|
# Link libraries
|
||||||
|
target_link_libraries(rmp220_teleop)
|
||||||
|
|
||||||
install(PROGRAMS
|
install(PROGRAMS
|
||||||
rmp220_teleop/rmp220_teleop.py
|
rmp220_teleop/rmp220_teleop.py
|
||||||
DESTINATION lib/${PROJECT_NAME})
|
DESTINATION lib/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# Install launch files
|
||||||
|
install(DIRECTORY launch
|
||||||
|
DESTINATION share/${PROJECT_NAME}/)
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
find_package(ament_lint_auto REQUIRED)
|
find_package(ament_lint_auto REQUIRED)
|
||||||
# the following line skips the linter which checks for copyrights
|
# the following line skips the linter which checks for copyrights
|
||||||
|
24
launch/teleop.launch.py
Normal file
24
launch/teleop.launch.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<launch>
|
||||||
|
|
||||||
|
<!-- Start the segwayrmp SmartCar node -->
|
||||||
|
<node
|
||||||
|
pkg="segwayrmp"
|
||||||
|
type="SmartCar"
|
||||||
|
name="SmartCar"
|
||||||
|
output="screen"/>
|
||||||
|
|
||||||
|
<!-- Start the joy_teleop node -->
|
||||||
|
<node
|
||||||
|
pkg="joy"
|
||||||
|
type="joy_teleop"
|
||||||
|
name="joy_teleop"
|
||||||
|
output="screen"/>
|
||||||
|
|
||||||
|
<!-- Start the rmp220_teleop.py node -->
|
||||||
|
<node
|
||||||
|
pkg="rmp220_teleop"
|
||||||
|
type="rmp220_teleop.py"
|
||||||
|
name="rmp220_teleop"
|
||||||
|
output="screen"/>
|
||||||
|
|
||||||
|
</launch>
|
@ -2,9 +2,9 @@
|
|||||||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||||
<package format="3">
|
<package format="3">
|
||||||
<name>rmp220_teleop</name>
|
<name>rmp220_teleop</name>
|
||||||
<version>0.0.0</version>
|
<version>0.0.2</version>
|
||||||
<description>TODO: Package description</description>
|
<description>TODO: Package description</description>
|
||||||
<maintainer email="bjoern.ellensohn@gmail.com">bjorn</maintainer>
|
<maintainer email="bjoern.ellensohn@gmail.com">bjoern</maintainer>
|
||||||
<license>TODO: License declaration</license>
|
<license>TODO: License declaration</license>
|
||||||
|
|
||||||
<depend>rclpy</depend>
|
<depend>rclpy</depend>
|
||||||
|
Loading…
Reference in New Issue
Block a user