Revision ba6306a1
ID | ba6306a16e7929dfc2a947ae650c4b2daa5f1435 |
Adding joy package for joystick control. Takes a joystick working with linux and ports it into ROS.
joy/.svn/all-wcprops | ||
---|---|---|
1 |
K 25 |
|
2 |
svn:wc:ra_dav:version-url |
|
3 |
V 61 |
|
4 |
/svn/ros-pkg/!svn/ver/38436/stacks/joystick_drivers/trunk/joy |
|
5 |
END |
|
6 |
joy |
|
7 |
K 25 |
|
8 |
svn:wc:ra_dav:version-url |
|
9 |
V 65 |
|
10 |
/svn/ros-pkg/!svn/ver/24085/stacks/joystick_drivers/trunk/joy/joy |
|
11 |
END |
|
12 |
manifest.xml |
|
13 |
K 25 |
|
14 |
svn:wc:ra_dav:version-url |
|
15 |
V 74 |
|
16 |
/svn/ros-pkg/!svn/ver/37286/stacks/joystick_drivers/trunk/joy/manifest.xml |
|
17 |
END |
|
18 |
joy_node.cpp |
|
19 |
K 25 |
|
20 |
svn:wc:ra_dav:version-url |
|
21 |
V 74 |
|
22 |
/svn/ros-pkg/!svn/ver/37286/stacks/joystick_drivers/trunk/joy/joy_node.cpp |
|
23 |
END |
|
24 |
mainpage.dox |
|
25 |
K 25 |
|
26 |
svn:wc:ra_dav:version-url |
|
27 |
V 74 |
|
28 |
/svn/ros-pkg/!svn/ver/24299/stacks/joystick_drivers/trunk/joy/mainpage.dox |
|
29 |
END |
|
30 |
CMakeLists.txt |
|
31 |
K 25 |
|
32 |
svn:wc:ra_dav:version-url |
|
33 |
V 76 |
|
34 |
/svn/ros-pkg/!svn/ver/37469/stacks/joystick_drivers/trunk/joy/CMakeLists.txt |
|
35 |
END |
|
36 |
Makefile |
|
37 |
K 25 |
|
38 |
svn:wc:ra_dav:version-url |
|
39 |
V 70 |
|
40 |
/svn/ros-pkg/!svn/ver/23884/stacks/joystick_drivers/trunk/joy/Makefile |
|
41 |
END |
|
42 |
txjoy |
|
43 |
K 25 |
|
44 |
svn:wc:ra_dav:version-url |
|
45 |
V 67 |
|
46 |
/svn/ros-pkg/!svn/ver/24086/stacks/joystick_drivers/trunk/joy/txjoy |
|
47 |
END |
joy/.svn/dir-prop-base | ||
---|---|---|
1 |
K 10 |
|
2 |
svn:ignore |
|
3 |
V 42 |
|
4 |
.build_version |
|
5 |
.rosgcov_files |
|
6 |
bin |
|
7 |
joy |
|
8 |
src |
|
9 |
|
|
10 |
K 13 |
|
11 |
svn:mergeinfo |
|
12 |
V 183 |
|
13 |
/pkg/branches/gazebo-branch-merge/drivers/input/joy:15683-15684,15739-15794,15797-15820,15822-15839,15852-15870,15983-16008,16010-16016,16129-16141,16145-16169,16245-16262,16274-16334 |
|
14 |
END |
joy/.svn/entries | ||
---|---|---|
1 |
10 |
|
2 |
|
|
3 |
dir |
|
4 |
38728 |
|
5 |
https://code.ros.org/svn/ros-pkg/stacks/joystick_drivers/trunk/joy |
|
6 |
https://code.ros.org/svn/ros-pkg |
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
2012-01-06T23:16:12.760348Z |
|
11 |
38436 |
|
12 |
mwise |
|
13 |
has-props |
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
eb33c2ac-9c88-4c90-87e0-44a10359b0c3 |
|
28 |
|
|
29 |
test |
|
30 |
dir |
|
31 |
|
|
32 |
joy |
|
33 |
file |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
2012-01-27T19:59:36.211029Z |
|
39 |
e886d9809260a20b9d1055b8bb6832d9 |
|
40 |
2009-09-16T08:05:28.218931Z |
|
41 |
24085 |
|
42 |
blaisegassend |
|
43 |
has-props |
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
736 |
|
65 |
|
|
66 |
migration_rules |
|
67 |
dir |
|
68 |
|
|
69 |
manifest.xml |
|
70 |
file |
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
2012-01-27T19:59:36.211029Z |
|
76 |
806f25835a9d0effb710d59ad56d3d9d |
|
77 |
2011-06-22T18:15:02.700381Z |
|
78 |
37286 |
|
79 |
mwise |
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
894 |
|
102 |
|
|
103 |
joy_node.cpp |
|
104 |
file |
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
2012-01-27T19:59:36.211029Z |
|
110 |
009bc1781639591735b76b0ee4e46290 |
|
111 |
2011-06-22T18:15:02.700381Z |
|
112 |
37286 |
|
113 |
mwise |
|
114 |
has-props |
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
11590 |
|
136 |
|
|
137 |
mainpage.dox |
|
138 |
file |
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
2012-01-27T19:59:36.211029Z |
|
144 |
c891b6cc62a211ab3de90db920b83c4d |
|
145 |
2009-09-22T03:36:04.627922Z |
|
146 |
24299 |
|
147 |
watts |
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
2307 |
|
170 |
|
|
171 |
CMakeLists.txt |
|
172 |
file |
|
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
2012-01-27T19:59:36.211029Z |
|
178 |
fe724dd1fd4e00e6ab3ca6c60f8ba742 |
|
179 |
2011-07-12T10:40:20.636307Z |
|
180 |
37469 |
|
181 |
mwise |
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
526 |
|
204 |
|
|
205 |
Makefile |
|
206 |
file |
|
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
2012-01-27T19:59:36.211029Z |
|
212 |
0239bfc0635e2588b31e237aec897368 |
|
213 |
2008-07-11T06:24:41.331224Z |
|
214 |
1473 |
|
215 |
gerkey |
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
42 |
|
238 |
|
|
239 |
txjoy |
|
240 |
file |
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
2012-01-27T19:59:36.211029Z |
|
246 |
e886d9809260a20b9d1055b8bb6832d9 |
|
247 |
2009-09-16T08:13:27.739833Z |
|
248 |
24086 |
|
249 |
blaisegassend |
|
250 |
has-props |
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
736 |
|
272 |
|
joy/.svn/prop-base/joy.svn-base | ||
---|---|---|
1 |
K 14 |
|
2 |
svn:executable |
|
3 |
V 1 |
|
4 |
* |
|
5 |
END |
joy/.svn/prop-base/joy_node.cpp.svn-base | ||
---|---|---|
1 |
K 13 |
|
2 |
svn:mergeinfo |
|
3 |
V 193 |
|
4 |
/pkg/branches/gazebo-branch-merge/drivers/input/joy/txjoy.cpp:15683-15684,15739-15794,15797-15820,15822-15839,15852-15870,15983-16008,16010-16016,16129-16141,16145-16169,16245-16262,16274-16334 |
|
5 |
END |
joy/.svn/prop-base/txjoy.svn-base | ||
---|---|---|
1 |
K 14 |
|
2 |
svn:executable |
|
3 |
V 1 |
|
4 |
* |
|
5 |
K 13 |
|
6 |
svn:mergeinfo |
|
7 |
V 187 |
|
8 |
/pkg/branches/gazebo-branch-merge/drivers/input/joy/joy:15683-15684,15739-15794,15797-15820,15822-15839,15852-15870,15983-16008,16010-16016,16129-16141,16145-16169,16245-16262,16274-16334 |
|
9 |
END |
joy/.svn/text-base/CMakeLists.txt.svn-base | ||
---|---|---|
1 |
cmake_minimum_required(VERSION 2.4.6) |
|
2 |
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) |
|
3 |
rosbuild_init() |
|
4 |
rosbuild_genmsg() |
|
5 |
|
|
6 |
# Look for <linux/joystick.h> |
|
7 |
include(CheckIncludeFiles) |
|
8 |
check_include_files(linux/joystick.h HAVE_LINUX_JOYSTICK_H) |
|
9 |
if(HAVE_LINUX_JOYSTICK_H) |
|
10 |
include_directories(msg/cpp) |
|
11 |
rosbuild_add_executable(joy_node joy_node.cpp) |
|
12 |
else(HAVE_LINUX_JOYSTICK_H) |
|
13 |
message("Warning: no <linux/joystick.h>; won't build joy node") |
|
14 |
endif(HAVE_LINUX_JOYSTICK_H) |
|
15 |
|
|
16 |
#rosbuild_add_pyunit(test/test_joy_msg_migration.py) |
joy/.svn/text-base/Makefile.svn-base | ||
---|---|---|
1 |
include $(shell rospack find mk)/cmake.mk |
joy/.svn/text-base/joy.svn-base | ||
---|---|---|
1 |
#! /bin/sh |
|
2 |
echo |
|
3 |
echo '****************************************************************' |
|
4 |
echo '****************************************************************' |
|
5 |
echo $0 is deprecated. Please use joy_node instead. |
|
6 |
echo '****************************************************************' |
|
7 |
echo '****************************************************************' |
|
8 |
echo |
|
9 |
rosrun joy joy_node "$@" |
|
10 |
echo |
|
11 |
echo '****************************************************************' |
|
12 |
echo '****************************************************************' |
|
13 |
echo $0 is deprecated. Please use joy_node instead. |
|
14 |
echo '****************************************************************' |
|
15 |
echo '****************************************************************' |
|
16 |
echo |
joy/.svn/text-base/joy_node.cpp.svn-base | ||
---|---|---|
1 |
/* |
|
2 |
* teleop_pr2 |
|
3 |
* Copyright (c) 2009, Willow Garage, Inc. |
|
4 |
* All rights reserved. |
|
5 |
* |
|
6 |
* Redistribution and use in source and binary forms, with or without |
|
7 |
* modification, are permitted provided that the following conditions are met: |
|
8 |
* |
|
9 |
* * Redistributions of source code must retain the above copyright |
|
10 |
* notice, this list of conditions and the following disclaimer. |
|
11 |
* * Redistributions in binary form must reproduce the above copyright |
|
12 |
* notice, this list of conditions and the following disclaimer in the |
|
13 |
* documentation and/or other materials provided with the distribution. |
|
14 |
* * Neither the name of the <ORGANIZATION> nor the names of its |
|
15 |
* contributors may be used to endorse or promote products derived from |
|
16 |
* this software without specific prior written permission. |
|
17 |
* |
|
18 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
19 |
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
20 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
21 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
|
22 |
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
|
23 |
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
|
24 |
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|
25 |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
|
26 |
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|
27 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
* POSSIBILITY OF SUCH DAMAGE. |
|
29 |
*/ |
|
30 |
|
|
31 |
//\author: Blaise Gassend |
|
32 |
|
|
33 |
#include <unistd.h> |
|
34 |
#include <math.h> |
|
35 |
#include <linux/joystick.h> |
|
36 |
#include <fcntl.h> |
|
37 |
#include <diagnostic_updater/diagnostic_updater.h> |
|
38 |
#include "ros/ros.h" |
|
39 |
#include <sensor_msgs/Joy.h> |
|
40 |
|
|
41 |
|
|
42 |
///\brief Opens, reads from and publishes joystick events |
|
43 |
class Joystick |
|
44 |
{ |
|
45 |
private: |
|
46 |
ros::NodeHandle nh_; |
|
47 |
bool open_; |
|
48 |
std::string joy_dev_; |
|
49 |
double deadzone_; |
|
50 |
double autorepeat_rate_; // in Hz. 0 for no repeat. |
|
51 |
double coalesce_interval_; // Defaults to 100 Hz rate limit. |
|
52 |
int event_count_; |
|
53 |
int pub_count_; |
|
54 |
ros::Publisher pub_; |
|
55 |
double lastDiagTime_; |
|
56 |
|
|
57 |
diagnostic_updater::Updater diagnostic_; |
|
58 |
|
|
59 |
///\brief Publishes diagnostics and status |
|
60 |
void diagnostics(diagnostic_updater::DiagnosticStatusWrapper& stat) |
|
61 |
{ |
|
62 |
double now = ros::Time::now().toSec(); |
|
63 |
double interval = now - lastDiagTime_; |
|
64 |
if (open_) |
|
65 |
stat.summary(0, "OK"); |
|
66 |
else |
|
67 |
stat.summary(2, "Joystick not open."); |
|
68 |
|
|
69 |
stat.add("topic", pub_.getTopic()); |
|
70 |
stat.add("device", joy_dev_); |
|
71 |
stat.add("dead zone", deadzone_); |
|
72 |
stat.add("autorepeat rate (Hz)", autorepeat_rate_); |
|
73 |
stat.add("coalesce interval (s)", coalesce_interval_); |
|
74 |
stat.add("recent joystick event rate (Hz)", event_count_ / interval); |
|
75 |
stat.add("recent publication rate (Hz)", pub_count_ / interval); |
|
76 |
stat.add("subscribers", pub_.getNumSubscribers()); |
|
77 |
event_count_ = 0; |
|
78 |
pub_count_ = 0; |
|
79 |
lastDiagTime_ = now; |
|
80 |
} |
|
81 |
|
|
82 |
public: |
|
83 |
Joystick() : nh_(), diagnostic_() |
|
84 |
{} |
|
85 |
|
|
86 |
///\brief Opens joystick port, reads from port and publishes while node is active |
|
87 |
int main(int argc, char **argv) |
|
88 |
{ |
|
89 |
diagnostic_.add("Joystick Driver Status", this, &Joystick::diagnostics); |
|
90 |
diagnostic_.setHardwareID("none"); |
|
91 |
|
|
92 |
// Parameters |
|
93 |
ros::NodeHandle nh_param("~"); |
|
94 |
pub_ = nh_.advertise<sensor_msgs::Joy>("joy", 1); |
|
95 |
nh_param.param<std::string>("dev", joy_dev_, "/dev/input/js0"); |
|
96 |
nh_param.param<double>("deadzone", deadzone_, 0.05); |
|
97 |
nh_param.param<double>("autorepeat_rate", autorepeat_rate_, 0); |
|
98 |
nh_param.param<double>("coalesce_interval", coalesce_interval_, 0.001); |
|
99 |
|
|
100 |
// Checks on parameters |
|
101 |
if (autorepeat_rate_ > 1 / coalesce_interval_) |
|
102 |
ROS_WARN("joy_node: autorepeat_rate (%f Hz) > 1/coalesce_interval (%f Hz) does not make sense. Timing behavior is not well defined.", autorepeat_rate_, 1/coalesce_interval_); |
|
103 |
|
|
104 |
if (deadzone_ >= 1) |
|
105 |
{ |
|
106 |
ROS_WARN("joy_node: deadzone greater than 1 was requested. The semantics of deadzone have changed. It is now related to the range [-1:1] instead of [-32767:32767]. For now I am dividing your deadzone by 32767, but this behavior is deprecated so you need to update your launch file."); |
|
107 |
deadzone_ /= 32767; |
|
108 |
} |
|
109 |
|
|
110 |
if (deadzone_ > 0.9) |
|
111 |
{ |
|
112 |
ROS_WARN("joy_node: deadzone (%f) greater than 0.9, setting it to 0.9", deadzone_); |
|
113 |
deadzone_ = 0.9; |
|
114 |
} |
|
115 |
|
|
116 |
if (deadzone_ < 0) |
|
117 |
{ |
|
118 |
ROS_WARN("joy_node: deadzone_ (%f) less than 0, setting to 0.", deadzone_); |
|
119 |
deadzone_ = 0; |
|
120 |
} |
|
121 |
|
|
122 |
if (autorepeat_rate_ < 0) |
|
123 |
{ |
|
124 |
ROS_WARN("joy_node: autorepeat_rate (%f) less than 0, setting to 0.", autorepeat_rate_); |
|
125 |
autorepeat_rate_ = 0; |
|
126 |
} |
|
127 |
|
|
128 |
if (coalesce_interval_ < 0) |
|
129 |
{ |
|
130 |
ROS_WARN("joy_node: coalesce_interval (%f) less than 0, setting to 0.", coalesce_interval_); |
|
131 |
coalesce_interval_ = 0; |
|
132 |
} |
|
133 |
|
|
134 |
// Parameter conversions |
|
135 |
double autorepeat_interval = 1 / autorepeat_rate_; |
|
136 |
double scale = -1. / (1. - deadzone_) / 32767.; |
|
137 |
double unscaled_deadzone = 32767. * deadzone_; |
|
138 |
|
|
139 |
js_event event; |
|
140 |
struct timeval tv; |
|
141 |
fd_set set; |
|
142 |
int joy_fd; |
|
143 |
event_count_ = 0; |
|
144 |
pub_count_ = 0; |
|
145 |
lastDiagTime_ = ros::Time::now().toSec(); |
|
146 |
|
|
147 |
// Big while loop opens, publishes |
|
148 |
while (nh_.ok()) |
|
149 |
{ |
|
150 |
open_ = false; |
|
151 |
diagnostic_.force_update(); |
|
152 |
bool first_fault = true; |
|
153 |
while (true) |
|
154 |
{ |
|
155 |
ros::spinOnce(); |
|
156 |
if (!nh_.ok()) |
|
157 |
goto cleanup; |
|
158 |
joy_fd = open(joy_dev_.c_str(), O_RDONLY); |
|
159 |
if (joy_fd != -1) |
|
160 |
{ |
|
161 |
// There seems to be a bug in the driver or something where the |
|
162 |
// initial events that are to define the initial state of the |
|
163 |
// joystick are not the values of the joystick when it was opened |
|
164 |
// but rather the values of the joystick when it was last closed. |
|
165 |
// Opening then closing and opening again is a hack to get more |
|
166 |
// accurate initial state data. |
|
167 |
close(joy_fd); |
|
168 |
joy_fd = open(joy_dev_.c_str(), O_RDONLY); |
|
169 |
} |
|
170 |
if (joy_fd != -1) |
|
171 |
break; |
|
172 |
if (first_fault) |
|
173 |
{ |
|
174 |
ROS_ERROR("Couldn't open joystick %s. Will retry every second.", joy_dev_.c_str()); |
|
175 |
first_fault = false; |
|
176 |
} |
|
177 |
sleep(1.0); |
|
178 |
diagnostic_.update(); |
|
179 |
} |
|
180 |
|
|
181 |
ROS_INFO("Opened joystick: %s. deadzone_: %f.", joy_dev_.c_str(), deadzone_); |
|
182 |
open_ = true; |
|
183 |
diagnostic_.force_update(); |
|
184 |
|
|
185 |
bool tv_set = false; |
|
186 |
bool publication_pending = false; |
|
187 |
tv.tv_sec = 1; |
|
188 |
tv.tv_usec = 0; |
|
189 |
sensor_msgs::Joy joy_msg; // Here because we want to reset it on device close. |
|
190 |
while (nh_.ok()) |
|
191 |
{ |
|
192 |
ros::spinOnce(); |
|
193 |
|
|
194 |
bool publish_now = false; |
|
195 |
bool publish_soon = false; |
|
196 |
FD_ZERO(&set); |
|
197 |
FD_SET(joy_fd, &set); |
|
198 |
|
|
199 |
//ROS_INFO("Select..."); |
|
200 |
int select_out = select(joy_fd+1, &set, NULL, NULL, &tv); |
|
201 |
//ROS_INFO("Tick..."); |
|
202 |
if (select_out == -1) |
|
203 |
{ |
|
204 |
tv.tv_sec = 0; |
|
205 |
tv.tv_usec = 0; |
|
206 |
//ROS_INFO("Select returned negative. %i", ros::isShuttingDown()); |
|
207 |
continue; |
|
208 |
// break; // Joystick is probably closed. Not sure if this case is useful. |
|
209 |
} |
|
210 |
|
|
211 |
if (FD_ISSET(joy_fd, &set)) |
|
212 |
{ |
|
213 |
if (read(joy_fd, &event, sizeof(js_event)) == -1 && errno != EAGAIN) |
|
214 |
break; // Joystick is probably closed. Definitely occurs. |
|
215 |
|
|
216 |
//ROS_INFO("Read data..."); |
|
217 |
joy_msg.header.stamp = ros::Time().now(); |
|
218 |
event_count_++; |
|
219 |
switch(event.type) |
|
220 |
{ |
|
221 |
case JS_EVENT_BUTTON: |
|
222 |
case JS_EVENT_BUTTON | JS_EVENT_INIT: |
|
223 |
if(event.number >= joy_msg.buttons.size()) |
|
224 |
{ |
|
225 |
int old_size = joy_msg.buttons.size(); |
|
226 |
joy_msg.buttons.resize(event.number+1); |
|
227 |
for(unsigned int i=old_size;i<joy_msg.buttons.size();i++) |
|
228 |
joy_msg.buttons[i] = 0.0; |
|
229 |
} |
|
230 |
joy_msg.buttons[event.number] = (event.value ? 1 : 0); |
|
231 |
// For initial events, wait a bit before sending to try to catch |
|
232 |
// all the initial events. |
|
233 |
if (!(event.type & JS_EVENT_INIT)) |
|
234 |
publish_now = true; |
|
235 |
else |
|
236 |
publish_soon = true; |
|
237 |
break; |
|
238 |
case JS_EVENT_AXIS: |
|
239 |
case JS_EVENT_AXIS | JS_EVENT_INIT: |
|
240 |
if(event.number >= joy_msg.axes.size()) |
|
241 |
{ |
|
242 |
int old_size = joy_msg.axes.size(); |
|
243 |
joy_msg.axes.resize(event.number+1); |
|
244 |
for(unsigned int i=old_size;i<joy_msg.axes.size();i++) |
|
245 |
joy_msg.axes[i] = 0.0; |
|
246 |
} |
|
247 |
if (!(event.type & JS_EVENT_INIT)) // Init event.value is wrong. |
|
248 |
{ |
|
249 |
double val = event.value; |
|
250 |
// Allows deadzone to be "smooth" |
|
251 |
if (val > unscaled_deadzone) |
|
252 |
val -= unscaled_deadzone; |
|
253 |
else if (val < -unscaled_deadzone) |
|
254 |
val += unscaled_deadzone; |
|
255 |
else |
|
256 |
val = 0; |
|
257 |
joy_msg.axes[event.number] = val * scale; |
|
258 |
} |
|
259 |
// Will wait a bit before sending to try to combine events. |
|
260 |
publish_soon = true; |
|
261 |
break; |
|
262 |
default: |
|
263 |
ROS_WARN("joy_node: Unknown event type. Please file a ticket. time=%u, value=%d, type=%Xh, number=%d", event.time, event.value, event.type, event.number); |
|
264 |
break; |
|
265 |
} |
|
266 |
} |
|
267 |
else if (tv_set) // Assume that the timer has expired. |
|
268 |
publish_now = true; |
|
269 |
|
|
270 |
if (publish_now) |
|
271 |
{ |
|
272 |
// Assume that all the JS_EVENT_INIT messages have arrived already. |
|
273 |
// This should be the case as the kernel sends them along as soon as |
|
274 |
// the device opens. |
|
275 |
//ROS_INFO("Publish..."); |
|
276 |
pub_.publish(joy_msg); |
|
277 |
publish_now = false; |
|
278 |
tv_set = false; |
|
279 |
publication_pending = false; |
|
280 |
publish_soon = false; |
|
281 |
pub_count_++; |
|
282 |
} |
|
283 |
|
|
284 |
// If an axis event occurred, start a timer to combine with other |
|
285 |
// events. |
|
286 |
if (!publication_pending && publish_soon) |
|
287 |
{ |
|
288 |
tv.tv_sec = trunc(coalesce_interval_); |
|
289 |
tv.tv_usec = (coalesce_interval_ - tv.tv_sec) * 1e6; |
|
290 |
publication_pending = true; |
|
291 |
tv_set = true; |
|
292 |
//ROS_INFO("Pub pending..."); |
|
293 |
} |
|
294 |
|
|
295 |
// If nothing is going on, start a timer to do autorepeat. |
|
296 |
if (!tv_set && autorepeat_rate_ > 0) |
|
297 |
{ |
|
298 |
tv.tv_sec = trunc(autorepeat_interval); |
|
299 |
tv.tv_usec = (autorepeat_interval - tv.tv_sec) * 1e6; |
|
300 |
tv_set = true; |
|
301 |
//ROS_INFO("Autorepeat pending... %i %i", tv.tv_sec, tv.tv_usec); |
|
302 |
} |
|
303 |
|
|
304 |
if (!tv_set) |
|
305 |
{ |
|
306 |
tv.tv_sec = 1; |
|
307 |
tv.tv_usec = 0; |
|
308 |
} |
|
309 |
|
|
310 |
diagnostic_.update(); |
|
311 |
} // End of joystick open loop. |
|
312 |
|
|
313 |
close(joy_fd); |
|
314 |
ros::spinOnce(); |
|
315 |
if (nh_.ok()) |
|
316 |
ROS_ERROR("Connection to joystick device lost unexpectedly. Will reopen."); |
|
317 |
} |
|
318 |
|
|
319 |
cleanup: |
|
320 |
ROS_INFO("joy_node shut down."); |
|
321 |
|
|
322 |
return 0; |
|
323 |
} |
|
324 |
}; |
|
325 |
|
|
326 |
int main(int argc, char **argv) |
|
327 |
{ |
|
328 |
ros::init(argc, argv, "joy_node"); |
|
329 |
Joystick j; |
|
330 |
return j.main(argc, argv); |
|
331 |
} |
joy/.svn/text-base/mainpage.dox.svn-base | ||
---|---|---|
1 |
/** |
|
2 |
|
|
3 |
\mainpage |
|
4 |
\htmlinclude manifest.html |
|
5 |
|
|
6 |
\b joy ROS joystick drivers for Linux. This package works with Logitech joysticks and PS3 SIXAXIS/DUALSHOCK devices. This package will only build is linux/joystick.h |
|
7 |
|
|
8 |
\section rosapi ROS API |
|
9 |
|
|
10 |
This package contains the message "Joy", which carries data from the joystick's axes and buttons. It also has the joy_node, which reads from a given joystick port and publishes "Joy" messages. |
|
11 |
|
|
12 |
List of nodes: |
|
13 |
- \b joy_node |
|
14 |
|
|
15 |
Deprecated nodes: |
|
16 |
- \b txjoy |
|
17 |
- \b joy |
|
18 |
The deprecated nodes are the same as the joy_node, but they will warn users when used. They are actually just bash scripts that call "joy_node" and print a warning. |
|
19 |
|
|
20 |
<hr> |
|
21 |
|
|
22 |
\subsection joy joy |
|
23 |
|
|
24 |
\b joy ROS joystick driver for all linux joysticks. The driver will poll a given port until it can read from it, the publish Joy messages of the joystick state. If the port closes, or it reads an error, it will reopen the port. All axes are in the range [-1, 1], and all buttons are 0 (off) or 1 (on). |
|
25 |
|
|
26 |
Since the driver will poll for the joystick port, and automatically reopen the port if it's closed, the joy_node should be "on" whenever possible. It is typically part of the robot's launch file. |
|
27 |
|
|
28 |
\subsubsection autorepeat Auto-Repeat/Signal Loss |
|
29 |
|
|
30 |
The joy_node takes an "~autorepeat_rate" parameter. If the linux kernal receives no events during the autorepeat interval, it will automatically repeat the last value of the joystick. This is an important safety feature, and allows users to recover from a joystick that has timed out. |
|
31 |
|
|
32 |
\subsubsection usage Usage |
|
33 |
\verbatim |
|
34 |
$ joy [standard ROS args] |
|
35 |
\endverbatim |
|
36 |
|
|
37 |
\subsubsection topic ROS topics |
|
38 |
|
|
39 |
Subscribes to (name / type): |
|
40 |
- None |
|
41 |
|
|
42 |
Publishes to (name / type): |
|
43 |
- \b "joy/Joy" : Joystick output. Axes are [-1, 1], buttons are 0 or 1 (depressed). |
|
44 |
|
|
45 |
\subsubsection parameters ROS parameters |
|
46 |
- \b "~dev" : Input device for joystick. Default: /dev/input/js0 |
|
47 |
- \b "~deadzone" : Output is zero for axis in deadzone. Range: [-0.9, 0.9]. Default 0.05 |
|
48 |
- \b "~autorepeat_rate" : If no events, repeats last known state at this rate. Defualt: 0 (disabled) |
|
49 |
- \b "~coalesce_interval" : Waits for this interval (seconds) after receiving an event. If multiple events happen in this interval, only one message will be sent. Reduces number of messages. Default: 0.001. |
|
50 |
|
|
51 |
|
|
52 |
<hr> |
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
*/ |
joy/.svn/text-base/manifest.xml.svn-base | ||
---|---|---|
1 |
<package> |
|
2 |
<author>Morgan Quigley, Brian Gerkey, Kevin Watts and Blaise Gassend</author> |
|
3 |
<description brief="ROS driver for a generic Linux joystick."> |
|
4 |
The joy package contains joy_node, a node that interfaces a generic Linux joystick to ROS. This node publishes a "Joy" message, which contains the current state of each one of the joystick's buttons and axes. |
|
5 |
</description> |
|
6 |
|
|
7 |
<license>BSD</license> |
|
8 |
<url>http://www.ros.org/wiki/joy</url> |
|
9 |
<review status="Doc reviewed" notes="reviewed 10-1-2009"/> |
|
10 |
<depend package="roscpp"/> |
|
11 |
<depend package="diagnostic_updater"/> |
|
12 |
<depend package="sensor_msgs"/> |
|
13 |
|
|
14 |
<depend package="rosbag"/> |
|
15 |
<export> |
|
16 |
<rosbag migration_rule_file="migration_rules/Joy.bmr"/> |
|
17 |
</export> |
|
18 |
|
|
19 |
<rosdep name="joystick"/> |
|
20 |
<platform os="ubuntu" version="9.04"/> |
|
21 |
<platform os="ubuntu" version="9.10"/> |
|
22 |
<platform os="ubuntu" version="10.04"/> |
|
23 |
</package> |
joy/.svn/text-base/txjoy.svn-base | ||
---|---|---|
1 |
#! /bin/sh |
|
2 |
echo |
|
3 |
echo '****************************************************************' |
|
4 |
echo '****************************************************************' |
|
5 |
echo $0 is deprecated. Please use joy_node instead. |
|
6 |
echo '****************************************************************' |
|
7 |
echo '****************************************************************' |
|
8 |
echo |
|
9 |
rosrun joy joy_node "$@" |
|
10 |
echo |
|
11 |
echo '****************************************************************' |
|
12 |
echo '****************************************************************' |
|
13 |
echo $0 is deprecated. Please use joy_node instead. |
|
14 |
echo '****************************************************************' |
|
15 |
echo '****************************************************************' |
|
16 |
echo |
joy/CMakeLists.txt | ||
---|---|---|
1 |
cmake_minimum_required(VERSION 2.4.6) |
|
2 |
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) |
|
3 |
rosbuild_init() |
|
4 |
rosbuild_genmsg() |
|
5 |
|
|
6 |
# Look for <linux/joystick.h> |
|
7 |
include(CheckIncludeFiles) |
|
8 |
check_include_files(linux/joystick.h HAVE_LINUX_JOYSTICK_H) |
|
9 |
if(HAVE_LINUX_JOYSTICK_H) |
|
10 |
include_directories(msg/cpp) |
|
11 |
rosbuild_add_executable(joy_node joy_node.cpp) |
|
12 |
else(HAVE_LINUX_JOYSTICK_H) |
|
13 |
message("Warning: no <linux/joystick.h>; won't build joy node") |
|
14 |
endif(HAVE_LINUX_JOYSTICK_H) |
|
15 |
|
|
16 |
#rosbuild_add_pyunit(test/test_joy_msg_migration.py) |
joy/Makefile | ||
---|---|---|
1 |
include $(shell rospack find mk)/cmake.mk |
joy/build/CMakeCache.txt | ||
---|---|---|
1 |
# This is the CMakeCache file. |
|
2 |
# For build in directory: /home/pdeo/quadrotor/joy/build |
|
3 |
# It was generated by CMake: /usr/bin/cmake |
|
4 |
# You can edit this file to change values found and used by cmake. |
|
5 |
# If you do not want to change any of the values, simply exit the editor. |
|
6 |
# If you do want to change a value, simply edit, save, and exit the editor. |
|
7 |
# The syntax for the file is as follows: |
|
8 |
# KEY:TYPE=VALUE |
|
9 |
# KEY is the name of a variable in the cache. |
|
10 |
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. |
|
11 |
# VALUE is the current value for the KEY. |
|
12 |
|
|
13 |
######################## |
|
14 |
# EXTERNAL cache entries |
|
15 |
######################## |
|
16 |
|
|
17 |
//Path to a program. |
|
18 |
CMAKE_AR:FILEPATH=/usr/bin/ar |
|
19 |
|
|
20 |
//For backwards compatibility, what version of CMake commands and |
|
21 |
// syntax should this version of CMake try to support. |
|
22 |
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4 |
|
23 |
|
|
24 |
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or |
|
25 |
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. |
|
26 |
CMAKE_BUILD_TYPE:STRING= |
|
27 |
|
|
28 |
//Enable/Disable color output during build. |
|
29 |
CMAKE_COLOR_MAKEFILE:BOOL=ON |
|
30 |
|
|
31 |
//CXX compiler. |
|
32 |
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ |
|
33 |
|
|
34 |
//Flags used by the compiler during all build types. |
|
35 |
CMAKE_CXX_FLAGS:STRING= |
|
36 |
|
|
37 |
//Flags used by the compiler during debug builds. |
|
38 |
CMAKE_CXX_FLAGS_DEBUG:STRING=-g |
|
39 |
|
|
40 |
//Flags used by the compiler during release minsize builds. |
|
41 |
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG |
|
42 |
|
|
43 |
//Flags used by the compiler during release builds (/MD /Ob1 /Oi |
|
44 |
// /Ot /Oy /Gs will produce slightly less optimized but smaller |
|
45 |
// files). |
|
46 |
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG |
|
47 |
|
|
48 |
//Flags used by the compiler during Release with Debug Info builds. |
|
49 |
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g |
|
50 |
|
|
51 |
//C compiler. |
|
52 |
CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc |
|
53 |
|
|
54 |
//Flags used by the compiler during all build types. |
|
55 |
CMAKE_C_FLAGS:STRING= |
|
56 |
|
|
57 |
//Flags used by the compiler during debug builds. |
|
58 |
CMAKE_C_FLAGS_DEBUG:STRING=-g |
|
59 |
|
|
60 |
//Flags used by the compiler during release minsize builds. |
|
61 |
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG |
|
62 |
|
|
63 |
//Flags used by the compiler during release builds (/MD /Ob1 /Oi |
|
64 |
// /Ot /Oy /Gs will produce slightly less optimized but smaller |
|
65 |
// files). |
|
66 |
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG |
|
67 |
|
|
68 |
//Flags used by the compiler during Release with Debug Info builds. |
|
69 |
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g |
|
70 |
|
|
71 |
//Flags used by the linker. |
|
72 |
CMAKE_EXE_LINKER_FLAGS:STRING= |
|
73 |
|
|
74 |
//Flags used by the linker during debug builds. |
|
75 |
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= |
|
76 |
|
|
77 |
//Flags used by the linker during release minsize builds. |
|
78 |
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= |
|
79 |
|
|
80 |
//Flags used by the linker during release builds. |
|
81 |
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= |
|
82 |
|
|
83 |
//Flags used by the linker during Release with Debug Info builds. |
|
84 |
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= |
|
85 |
|
|
86 |
//Install path prefix, prepended onto install directories. |
|
87 |
CMAKE_INSTALL_PREFIX:PATH=/usr/local |
|
88 |
|
|
89 |
//Path to a program. |
|
90 |
CMAKE_LINKER:FILEPATH=/usr/bin/ld |
|
91 |
|
|
92 |
//Path to a program. |
|
93 |
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make |
|
94 |
|
|
95 |
//Flags used by the linker during the creation of modules. |
|
96 |
CMAKE_MODULE_LINKER_FLAGS:STRING= |
|
97 |
|
|
98 |
//Flags used by the linker during debug builds. |
|
99 |
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= |
|
100 |
|
|
101 |
//Flags used by the linker during release minsize builds. |
|
102 |
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= |
|
103 |
|
|
104 |
//Flags used by the linker during release builds. |
|
105 |
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= |
|
106 |
|
|
107 |
//Flags used by the linker during Release with Debug Info builds. |
|
108 |
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= |
|
109 |
|
|
110 |
//Path to a program. |
|
111 |
CMAKE_NM:FILEPATH=/usr/bin/nm |
|
112 |
|
|
113 |
//Path to a program. |
|
114 |
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy |
|
115 |
|
|
116 |
//Path to a program. |
|
117 |
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump |
|
118 |
|
|
119 |
//Value Computed by CMake |
|
120 |
CMAKE_PROJECT_NAME:STATIC=Project |
|
121 |
|
|
122 |
//Path to a program. |
|
123 |
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib |
|
124 |
|
|
125 |
//Flags used by the linker during the creation of dll's. |
|
126 |
CMAKE_SHARED_LINKER_FLAGS:STRING= |
|
127 |
|
|
128 |
//Flags used by the linker during debug builds. |
|
129 |
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= |
|
130 |
|
|
131 |
//Flags used by the linker during release minsize builds. |
|
132 |
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= |
|
133 |
|
|
134 |
//Flags used by the linker during release builds. |
|
135 |
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= |
|
136 |
|
|
137 |
//Flags used by the linker during Release with Debug Info builds. |
|
138 |
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= |
|
139 |
|
|
140 |
//If set, runtime paths are not added when using shared libraries. |
|
141 |
CMAKE_SKIP_RPATH:BOOL=NO |
|
142 |
|
|
143 |
//Path to a program. |
|
144 |
CMAKE_STRIP:FILEPATH=/usr/bin/strip |
|
145 |
|
|
146 |
//No help, variable specified on the command line. |
|
147 |
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/opt/ros/electric/ros/core/rosbuild/rostoolchain.cmake |
|
148 |
|
|
149 |
//If true, cmake will use relative paths in makefiles and projects. |
|
150 |
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF |
|
151 |
|
|
152 |
//If this value is on, makefiles will be generated without the |
|
153 |
// .SILENT directive, and all commands will be echoed to the console |
|
154 |
// during the make. This is useful for debugging only. With Visual |
|
155 |
// Studio IDE projects all commands are done without /nologo. |
|
156 |
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE |
|
157 |
|
|
158 |
//Single output directory for building all executables. |
|
159 |
EXECUTABLE_OUTPUT_PATH:PATH= |
|
160 |
|
|
161 |
//gtest-config executable |
|
162 |
GTEST_EXE:FILEPATH=/usr/bin/gtest-config |
|
163 |
|
|
164 |
//Single output directory for building all libraries. |
|
165 |
LIBRARY_OUTPUT_PATH:PATH= |
|
166 |
|
|
167 |
//Path to a file. |
|
168 |
PROJECTCONFIG:FILEPATH=PROJECTCONFIG-NOTFOUND |
|
169 |
|
|
170 |
//Value Computed by CMake |
|
171 |
Project_BINARY_DIR:STATIC=/home/pdeo/quadrotor/joy/build |
|
172 |
|
|
173 |
//Value Computed by CMake |
|
174 |
Project_SOURCE_DIR:STATIC=/home/pdeo/quadrotor/joy |
|
175 |
|
|
176 |
//rospack executable |
|
177 |
ROSPACK_EXE:FILEPATH=/opt/ros/electric/ros/bin/rospack |
|
178 |
|
|
179 |
//Path to a file. |
|
180 |
TOOLCHAINCONFIG:FILEPATH=TOOLCHAINCONFIG-NOTFOUND |
|
181 |
|
|
182 |
//Path to a file. |
|
183 |
USERCONFIG:FILEPATH=USERCONFIG-NOTFOUND |
|
184 |
|
|
185 |
//Path to a file. |
|
186 |
_file_name:FILEPATH=/home/pdeo/quadrotor/joy/joy_node.cpp |
|
187 |
|
|
188 |
//Value Computed by CMake |
|
189 |
joy_BINARY_DIR:STATIC=/home/pdeo/quadrotor/joy/build |
|
190 |
|
|
191 |
//Value Computed by CMake |
|
192 |
joy_SOURCE_DIR:STATIC=/home/pdeo/quadrotor/joy |
|
193 |
|
|
194 |
|
|
195 |
######################## |
|
196 |
# INTERNAL cache entries |
|
197 |
######################## |
|
198 |
|
|
199 |
//ADVANCED property for variable: CMAKE_AR |
|
200 |
CMAKE_AR-ADVANCED:INTERNAL=1 |
|
201 |
//ADVANCED property for variable: CMAKE_BUILD_TOOL |
|
202 |
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1 |
|
203 |
//What is the target build tool cmake is generating for. |
|
204 |
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make |
|
205 |
//This is the directory where this CMakeCache.txt was created |
|
206 |
CMAKE_CACHEFILE_DIR:INTERNAL=/home/pdeo/quadrotor/joy/build |
|
207 |
//Major version of cmake used to create the current loaded cache |
|
208 |
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2 |
|
209 |
//Minor version of cmake used to create the current loaded cache |
|
210 |
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8 |
|
211 |
//Patch version of cmake used to create the current loaded cache |
|
212 |
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 |
|
213 |
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE |
|
214 |
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 |
|
215 |
//Path to CMake executable. |
|
216 |
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake |
|
217 |
//Path to cpack program executable. |
|
218 |
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack |
|
219 |
//Path to ctest program executable. |
|
220 |
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest |
|
221 |
//ADVANCED property for variable: CMAKE_CXX_COMPILER |
|
222 |
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 |
|
223 |
CMAKE_CXX_COMPILER_WORKS:INTERNAL=1 |
|
224 |
//ADVANCED property for variable: CMAKE_CXX_FLAGS |
|
225 |
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 |
|
226 |
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG |
|
227 |
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
|
228 |
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL |
|
229 |
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
|
230 |
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE |
|
231 |
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
|
232 |
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO |
|
233 |
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
|
234 |
//ADVANCED property for variable: CMAKE_C_COMPILER |
|
235 |
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 |
|
236 |
CMAKE_C_COMPILER_WORKS:INTERNAL=1 |
|
237 |
//ADVANCED property for variable: CMAKE_C_FLAGS |
|
238 |
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 |
|
239 |
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG |
|
240 |
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
|
241 |
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL |
|
242 |
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
|
243 |
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE |
|
244 |
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
|
245 |
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO |
|
246 |
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
|
247 |
//Result of TRY_COMPILE |
|
248 |
CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE |
|
249 |
//Result of TRY_COMPILE |
|
250 |
CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE |
|
251 |
//Executable file format |
|
252 |
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF |
|
253 |
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS |
|
254 |
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
|
255 |
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG |
|
256 |
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
|
257 |
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL |
|
258 |
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
|
259 |
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE |
|
260 |
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
|
261 |
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO |
|
262 |
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
|
263 |
//Name of generator. |
|
264 |
CMAKE_GENERATOR:INTERNAL=Unix Makefiles |
|
265 |
//Start directory with the top level CMakeLists.txt file for this |
|
266 |
// project |
|
267 |
CMAKE_HOME_DIRECTORY:INTERNAL=/home/pdeo/quadrotor/joy |
|
268 |
//Install .so files without execute permission. |
|
269 |
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 |
|
270 |
//ADVANCED property for variable: CMAKE_LINKER |
|
271 |
CMAKE_LINKER-ADVANCED:INTERNAL=1 |
|
272 |
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM |
|
273 |
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 |
|
274 |
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS |
|
275 |
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
|
276 |
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG |
|
277 |
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
|
278 |
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL |
|
279 |
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
|
280 |
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE |
|
281 |
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
|
282 |
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO |
|
283 |
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
|
284 |
//ADVANCED property for variable: CMAKE_NM |
|
285 |
CMAKE_NM-ADVANCED:INTERNAL=1 |
|
286 |
//number of local generators |
|
287 |
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1 |
|
288 |
//ADVANCED property for variable: CMAKE_OBJCOPY |
|
289 |
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 |
|
290 |
//ADVANCED property for variable: CMAKE_OBJDUMP |
|
291 |
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 |
|
292 |
//ADVANCED property for variable: CMAKE_RANLIB |
|
293 |
CMAKE_RANLIB-ADVANCED:INTERNAL=1 |
|
294 |
//Path to CMake installation. |
|
295 |
CMAKE_ROOT:INTERNAL=/usr/share/cmake-2.8 |
|
296 |
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS |
|
297 |
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
|
298 |
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG |
|
299 |
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
|
300 |
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL |
|
301 |
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
|
302 |
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE |
|
303 |
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
|
304 |
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO |
|
305 |
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
|
306 |
//ADVANCED property for variable: CMAKE_SKIP_RPATH |
|
307 |
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 |
|
308 |
//ADVANCED property for variable: CMAKE_STRIP |
|
309 |
CMAKE_STRIP-ADVANCED:INTERNAL=1 |
|
310 |
//Suppress Warnings that are meant for the author of the CMakeLists.txt |
|
311 |
// files. |
|
312 |
CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE |
|
313 |
//uname command |
|
314 |
CMAKE_UNAME:INTERNAL=/bin/uname |
|
315 |
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS |
|
316 |
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1 |
|
317 |
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE |
|
318 |
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 |
|
319 |
//Have include HAVE_LINUX_JOYSTICK_H |
|
320 |
HAVE_LINUX_JOYSTICK_H:INTERNAL=1 |
|
321 |
_rosbuild_EXPORTS:INTERNAL= |
|
322 |
_rosbuild_cached_flag_time:INTERNAL=1327696285.51 |
|
323 |
_roslang_LANGS:INTERNAL=rospy;roslisp;roscpp |
|
324 |
_rospack_deps_manifests_invoke_result:INTERNAL=/opt/ros/electric/ros/core/rosbuild/manifest.xml;/opt/ros/electric/ros/core/roslang/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/rostime/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/manifest.xml;/opt/ros/electric/ros/tools/rospack/manifest.xml;/opt/ros/electric/ros/core/roslib/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosconsole/manifest.xml;/opt/ros/electric/stacks/ros_comm/messages/std_msgs/manifest.xml;/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/rospy/manifest.xml;/opt/ros/electric/ros/tools/rosclean/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosgraph/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosparam/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosmaster/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosout/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/roslaunch/manifest.xml;/opt/ros/electric/ros/tools/rosunit/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rostest/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosbag/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosbagmigration/manifest.xml;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/manifest.xml;/opt/ros/electric/stacks/diagnostics/diagnostic_updater/manifest.xml;/opt/ros/electric/stacks/common_msgs/geometry_msgs/manifest.xml;/opt/ros/electric/stacks/common_msgs/sensor_msgs/manifest.xml |
|
325 |
_rospack_msgsrv_gen_invoke_result:INTERNAL=/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/generated;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/generated;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/srv_gen/generated;/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/generated |
|
326 |
joy_CFLAGS_OTHER:INTERNAL= |
|
327 |
joy_INCLUDEDIR:INTERNAL= |
|
328 |
joy_INCLUDE_DIRS:INTERNAL=/opt/ros/electric/stacks/diagnostics/diagnostic_updater/include;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/msg_gen/cpp/include;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/srv_gen/cpp/include;/opt/ros/electric/stacks/common_msgs/sensor_msgs/include;/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include;/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include;/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include;/opt/ros/electric/stacks/ros_comm/tools/rosbag/include;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/include;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/cpp/include;/opt/ros/electric/stacks/ros_comm/tools/rostest/include;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/cpp/include;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/cpp/include;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include;/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/src;/opt/ros/electric/stacks/ros_comm/tools/rosconsole/include;/opt/ros/electric/stacks/ros_comm/utilities/rostime/include;/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include;/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include;/opt/ros/electric/stacks/ros_comm/messages/std_msgs/include;/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include;/opt/ros/electric/ros/core/roslib/msg_gen/cpp/include;/opt/ros/electric/ros/core/roslib/include;/opt/ros/electric/ros/tools/rospack;/opt/ros/electric/ros/tools/rospack/include |
|
329 |
joy_LDFLAGS_OTHER:INTERNAL=-Wl,-rpath,/opt/ros/electric/stacks/common_msgs/sensor_msgs/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosbag/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosbag/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/topic_tools/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosconsole/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/rostime/lib -Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/lib -Wl,-rpath,/opt/ros/electric/ros/core/roslib/lib -Wl,-rpath,/opt/ros/electric/ros/tools/rospack/lib |
|
330 |
joy_LIBRARIES:INTERNAL=sensor_msgs;rosbag;topic_tools;ros;boost_signals-mt;roscpp_serialization;XmlRpc;rosconsole;boost_thread-mt;log4cxx;rostime;cpp_common;roslib;rospack;rosstack |
|
331 |
joy_LIBRARY_DIRS:INTERNAL=/opt/ros/electric/stacks/common_msgs/sensor_msgs/lib;/opt/ros/electric/stacks/ros_comm/tools/rosbag/lib;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/lib;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/lib;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/lib;/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/lib;/opt/ros/electric/stacks/ros_comm/tools/rosconsole/lib;/opt/ros/electric/stacks/ros_comm/utilities/rostime/lib;/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/lib;/opt/ros/electric/ros/core/roslib/lib;/opt/ros/electric/ros/tools/rospack/lib |
|
332 |
joy_cached_manifest_list:INTERNAL=/home/pdeo/quadrotor/joy/manifest.xml;/opt/ros/electric/ros/core/rosbuild/manifest.xml;/opt/ros/electric/ros/core/roslang/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/rostime/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/manifest.xml;/opt/ros/electric/ros/tools/rospack/manifest.xml;/opt/ros/electric/ros/core/roslib/manifest.xml;/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosconsole/manifest.xml;/opt/ros/electric/stacks/ros_comm/messages/std_msgs/manifest.xml;/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/manifest.xml;/opt/ros/electric/stacks/ros_comm/clients/rospy/manifest.xml;/opt/ros/electric/ros/tools/rosclean/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosgraph/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosparam/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosmaster/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosout/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/roslaunch/manifest.xml;/opt/ros/electric/ros/tools/rosunit/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rostest/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosbag/manifest.xml;/opt/ros/electric/stacks/ros_comm/tools/rosbagmigration/manifest.xml;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/manifest.xml;/opt/ros/electric/stacks/diagnostics/diagnostic_updater/manifest.xml;/opt/ros/electric/stacks/common_msgs/geometry_msgs/manifest.xml;/opt/ros/electric/stacks/common_msgs/sensor_msgs/manifest.xml;/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/generated;/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/generated;/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/generated;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/srv_gen/generated;/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/generated;/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/generated |
|
333 |
joy_temp:INTERNAL=-Wl,-rpath,/opt/ros/electric/stacks/common_msgs/sensor_msgs/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosbag/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosbag/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/topic_tools/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/tools/rosconsole/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/rostime/lib;-Wl,-rpath,/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/lib;-Wl,-rpath,/opt/ros/electric/ros/core/roslib/lib;-Wl,-rpath,/opt/ros/electric/ros/tools/rospack/lib |
|
334 |
roscpp_CMAKE:INTERNAL=/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake |
|
335 |
roslib_path:INTERNAL=/opt/ros/electric/ros/core/roslib |
|
336 |
roslisp_CMAKE:INTERNAL=/opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake |
|
337 |
rospy_CMAKE:INTERNAL=/opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake |
|
338 |
rosunit_path:INTERNAL=/opt/ros/electric/ros/tools/rosunit |
|
339 |
|
joy/build/CMakeFiles/CMakeCCompiler.cmake | ||
---|---|---|
1 |
SET(CMAKE_C_COMPILER "/usr/bin/gcc") |
|
2 |
SET(CMAKE_C_COMPILER_ARG1 "") |
|
3 |
SET(CMAKE_C_COMPILER_ID "GNU") |
|
4 |
SET(CMAKE_C_PLATFORM_ID "Linux") |
|
5 |
|
|
6 |
SET(CMAKE_AR "/usr/bin/ar") |
|
7 |
SET(CMAKE_RANLIB "/usr/bin/ranlib") |
|
8 |
SET(CMAKE_LINKER "/usr/bin/ld") |
|
9 |
SET(CMAKE_COMPILER_IS_GNUCC 1) |
|
10 |
SET(CMAKE_C_COMPILER_LOADED 1) |
|
11 |
SET(CMAKE_COMPILER_IS_MINGW ) |
|
12 |
SET(CMAKE_COMPILER_IS_CYGWIN ) |
|
13 |
IF(CMAKE_COMPILER_IS_CYGWIN) |
|
14 |
SET(CYGWIN 1) |
|
15 |
SET(UNIX 1) |
|
16 |
ENDIF(CMAKE_COMPILER_IS_CYGWIN) |
|
17 |
|
|
18 |
SET(CMAKE_C_COMPILER_ENV_VAR "CC") |
|
19 |
|
|
20 |
IF(CMAKE_COMPILER_IS_MINGW) |
|
21 |
SET(MINGW 1) |
|
22 |
ENDIF(CMAKE_COMPILER_IS_MINGW) |
|
23 |
SET(CMAKE_C_COMPILER_ID_RUN 1) |
|
24 |
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c) |
|
25 |
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) |
|
26 |
SET(CMAKE_C_LINKER_PREFERENCE 10) |
|
27 |
|
|
28 |
# Save compiler ABI information. |
|
29 |
SET(CMAKE_C_SIZEOF_DATA_PTR "8") |
|
30 |
SET(CMAKE_C_COMPILER_ABI "ELF") |
|
31 |
|
|
32 |
IF(CMAKE_C_SIZEOF_DATA_PTR) |
|
33 |
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") |
|
34 |
ENDIF(CMAKE_C_SIZEOF_DATA_PTR) |
|
35 |
|
|
36 |
IF(CMAKE_C_COMPILER_ABI) |
|
37 |
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") |
|
38 |
ENDIF(CMAKE_C_COMPILER_ABI) |
|
39 |
|
|
40 |
SET(CMAKE_C_HAS_ISYSROOT "") |
|
41 |
|
|
42 |
|
|
43 |
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c") |
|
44 |
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2;/usr/lib/x86_64-linux-gnu") |
joy/build/CMakeFiles/CMakeCXXCompiler.cmake | ||
---|---|---|
1 |
SET(CMAKE_CXX_COMPILER "/usr/bin/c++") |
|
2 |
SET(CMAKE_CXX_COMPILER_ARG1 "") |
|
3 |
SET(CMAKE_CXX_COMPILER_ID "GNU") |
|
4 |
SET(CMAKE_CXX_PLATFORM_ID "Linux") |
|
5 |
|
|
6 |
SET(CMAKE_AR "/usr/bin/ar") |
|
7 |
SET(CMAKE_RANLIB "/usr/bin/ranlib") |
|
8 |
SET(CMAKE_LINKER "/usr/bin/ld") |
|
9 |
SET(CMAKE_COMPILER_IS_GNUCXX 1) |
|
10 |
SET(CMAKE_CXX_COMPILER_LOADED 1) |
|
11 |
SET(CMAKE_COMPILER_IS_MINGW ) |
|
12 |
SET(CMAKE_COMPILER_IS_CYGWIN ) |
|
13 |
IF(CMAKE_COMPILER_IS_CYGWIN) |
|
14 |
SET(CYGWIN 1) |
|
15 |
SET(UNIX 1) |
|
16 |
ENDIF(CMAKE_COMPILER_IS_CYGWIN) |
|
17 |
|
|
18 |
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX") |
|
19 |
|
|
20 |
IF(CMAKE_COMPILER_IS_MINGW) |
|
21 |
SET(MINGW 1) |
|
22 |
ENDIF(CMAKE_COMPILER_IS_MINGW) |
|
23 |
SET(CMAKE_CXX_COMPILER_ID_RUN 1) |
|
24 |
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) |
|
25 |
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) |
|
26 |
SET(CMAKE_CXX_LINKER_PREFERENCE 30) |
|
27 |
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) |
|
28 |
|
|
29 |
# Save compiler ABI information. |
|
30 |
SET(CMAKE_CXX_SIZEOF_DATA_PTR "8") |
|
31 |
SET(CMAKE_CXX_COMPILER_ABI "ELF") |
|
32 |
|
|
33 |
IF(CMAKE_CXX_SIZEOF_DATA_PTR) |
|
34 |
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") |
|
35 |
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR) |
|
36 |
|
|
37 |
IF(CMAKE_CXX_COMPILER_ABI) |
|
38 |
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") |
|
39 |
ENDIF(CMAKE_CXX_COMPILER_ABI) |
|
40 |
|
|
41 |
SET(CMAKE_CXX_HAS_ISYSROOT "") |
|
42 |
|
|
43 |
|
|
44 |
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c") |
|
45 |
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2;/usr/lib/x86_64-linux-gnu") |
joy/build/CMakeFiles/CMakeDirectoryInformation.cmake | ||
---|---|---|
1 |
# CMAKE generated file: DO NOT EDIT! |
|
2 |
# Generated by "Unix Makefiles" Generator, CMake Version 2.8 |
|
3 |
|
|
4 |
# Relative path conversion top directories. |
|
5 |
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/pdeo/quadrotor/joy") |
|
6 |
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/pdeo/quadrotor/joy/build") |
|
7 |
|
|
8 |
# Force unix paths in dependencies. |
|
9 |
SET(CMAKE_FORCE_UNIX_PATHS 1) |
|
10 |
|
|
11 |
# The C and CXX include file search paths: |
|
12 |
SET(CMAKE_C_INCLUDE_PATH |
|
13 |
"../include" |
|
14 |
"/opt/ros/electric/stacks/diagnostics/diagnostic_updater/include" |
|
15 |
"/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/msg_gen/cpp/include" |
|
16 |
"/opt/ros/electric/stacks/common_msgs/diagnostic_msgs/srv_gen/cpp/include" |
|
17 |
"/opt/ros/electric/stacks/common_msgs/sensor_msgs/include" |
|
18 |
"/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include" |
|
19 |
"/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include" |
|
20 |
"/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include" |
|
21 |
"/opt/ros/electric/stacks/ros_comm/tools/rosbag/include" |
|
22 |
"/opt/ros/electric/stacks/ros_comm/tools/topic_tools/include" |
|
23 |
"/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/cpp/include" |
|
24 |
"/opt/ros/electric/stacks/ros_comm/tools/rostest/include" |
|
25 |
"/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include" |
|
26 |
"/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/cpp/include" |
|
27 |
"/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/cpp/include" |
|
28 |
"/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include" |
|
29 |
"/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include" |
|
30 |
"/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/src" |
|
31 |
"/opt/ros/electric/stacks/ros_comm/tools/rosconsole/include" |
|
32 |
"/opt/ros/electric/stacks/ros_comm/utilities/rostime/include" |
|
33 |
"/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include" |
|
34 |
"/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include" |
|
35 |
"/opt/ros/electric/stacks/ros_comm/messages/std_msgs/include" |
|
36 |
"/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include" |
|
37 |
"/opt/ros/electric/ros/core/roslib/msg_gen/cpp/include" |
|
38 |
"/opt/ros/electric/ros/core/roslib/include" |
|
39 |
"/opt/ros/electric/ros/tools/rospack" |
|
40 |
"/opt/ros/electric/ros/tools/rospack/include" |
|
41 |
"../msg_gen/cpp/include" |
|
42 |
"../msg/cpp" |
|
43 |
) |
|
44 |
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH}) |
|
45 |
SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH}) |
|
46 |
|
|
47 |
# The C and CXX include file regular expressions for this directory. |
|
48 |
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") |
|
49 |
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") |
|
50 |
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) |
|
51 |
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) |
joy/build/CMakeFiles/CMakeOutput.log | ||
---|---|---|
1 |
The system is: Linux - 2.6.38-10-generic - x86_64 |
|
2 |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. |
|
3 |
Compiler: /usr/bin/gcc |
|
4 |
Build flags: |
|
5 |
Id flags: |
|
6 |
|
|
7 |
The output was: |
|
8 |
0 |
|
9 |
|
|
10 |
|
|
11 |
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" |
|
12 |
|
|
13 |
The C compiler identification is GNU, found in "/home/pdeo/quadrotor/joy/build/CMakeFiles/CompilerIdC/a.out" |
|
14 |
|
|
15 |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. |
|
16 |
Compiler: /usr/bin/c++ |
|
17 |
Build flags: |
|
18 |
Id flags: |
|
19 |
|
|
20 |
The output was: |
|
21 |
0 |
|
22 |
CMakeCXXCompilerId.cpp:79:58: warning: deprecated conversion from string constant to ‘char*’ |
|
23 |
CMakeCXXCompilerId.cpp:192:58: warning: deprecated conversion from string constant to ‘char*’ |
|
24 |
CMakeCXXCompilerId.cpp:193:54: warning: deprecated conversion from string constant to ‘char*’ |
|
25 |
|
|
26 |
|
|
27 |
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" |
|
28 |
|
|
29 |
The CXX compiler identification is GNU, found in "/home/pdeo/quadrotor/joy/build/CMakeFiles/CompilerIdCXX/a.out" |
|
30 |
|
|
31 |
Determining if the C compiler works passed with the following output: |
|
32 |
Change Dir: /home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp |
|
33 |
|
|
34 |
Run Build Command:/usr/bin/make "cmTryCompileExec/fast" |
|
35 |
make[1]: Entering directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
36 |
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build |
|
37 |
make[2]: Entering directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
38 |
/usr/bin/cmake -E cmake_progress_report /home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp/CMakeFiles 1 |
|
39 |
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o |
|
40 |
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp/testCCompiler.c |
|
41 |
Linking C executable cmTryCompileExec |
|
42 |
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 |
|
43 |
/usr/bin/gcc CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic |
|
44 |
make[2]: Leaving directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
45 |
make[1]: Leaving directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
46 |
|
|
47 |
|
|
48 |
Detecting C compiler ABI info compiled with the following output: |
|
49 |
Change Dir: /home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp |
|
50 |
|
|
51 |
Run Build Command:/usr/bin/make "cmTryCompileExec/fast" |
|
52 |
make[1]: Entering directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
53 |
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build |
|
54 |
make[2]: Entering directory `/home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp' |
|
55 |
/usr/bin/cmake -E cmake_progress_report /home/pdeo/quadrotor/joy/build/CMakeFiles/CMakeTmp/CMakeFiles 1 |
|
56 |
Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o |
|
57 |
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c |
|
58 |
Linking C executable cmTryCompileExec |
|
59 |
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 |
|
60 |
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic |
Also available in: Unified diff