Revision 3504a859
examples/meka/CMakeLists.txt | ||
---|---|---|
1 | 1 |
PROJECT(meka_humotion_server) |
2 | 2 |
cmake_minimum_required(VERSION 2.8) |
3 |
SET(MAIN maka_humotion_server)
|
|
3 |
SET(MAIN meka_humotion_server)
|
|
4 | 4 |
|
5 | 5 |
set(ENV{ROS_LANG_DISABLE} "genjava") |
6 | 6 |
set(ROS_BUILD_TYPE Debug) |
examples/meka/src/mekajointinterface.cpp | ||
---|---|---|
14 | 14 |
scope = _scope; |
15 | 15 |
|
16 | 16 |
//subscribe to meka joint states |
17 |
ros::init(); |
|
17 | 18 |
ros::NodeHandle n; |
18 | 19 |
joint_state_subscriber = n.subscribe(scope + "joint_states", 150, &MekaJointInterface::incoming_jointstates , this); |
19 | 20 |
|
Also available in: Unified diff