Ask Your Question
0

editing header file

asked 2012-05-14 06:12:53 -0500

ay gravatar image

updated 2014-01-28 17:12:19 -0500

ngrennan gravatar image

sorry to bother u guys with such fool question...im very sorry..i just need to use rosrun dynamic_reconfigure reconfigure_gui to adjust it...im such a fool to ask first before investigate...it has nothing to do with roboearth...

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-05-14 06:48:53 -0500

Mac gravatar image

This depends on how you've installed the roboearth package. If it's been installed as a binary (via, say, apt-get install ...), then editing it won't do anything.

To build it from source, you'll need to download the source using rosinstall (see the docs for rosinstall, and the "source" line in the list at the very top of the roboearth wiki page). Then, build it using rosmake. Because you're building it from source, any changes you make will take effect as soon as you recompile.

edit flag offensive delete link more
0

answered 2012-05-14 07:07:28 -0500

joq gravatar image

Modifying the roboearth package is definitely legal, because it is an open source project.

@Mac explains that you will need to download the source and build it. Test that version first, before making your changes (to make sure the build was successful). Then modify the header, rebuild and test.

You may want to contribute your changes back to the roboearth developers. If they apply them to their source repository, then future versions will work for you without additional effort. Contact the developers directly so they can tell you the preferred way to request enhancements and submit patches.

edit flag offensive delete link more
0

answered 2012-05-14 06:58:43 -0500

ay gravatar image

updated 2012-05-14 07:49:37 -0500

im using rosinstall...and then rosmake..but if i edit it in gedit and save it..then execute it..will it change?....btw thanx mac

edit flag offensive delete link more

Comments

Did you recompile it after saving it? Did you change something that actually alters the behavior of the program? Are you calling roboearth stuff directly, or are you using it as a library for a different package? If the latter, you need to call rosmake _each time_.

Mac gravatar image Mac  ( 2012-05-14 07:02:11 -0500 )edit

im not changing the behavior of the program, just changing the value for kinect video speed...coz my processor is to slow so i need to slow it down coz the video seem to be stuck everytime i move the objeck...it not smooth...

ay gravatar image ay  ( 2012-05-14 07:23:30 -0500 )edit

@Mac an @joq......i think i have made a foolish mistake....there is no such thing to edit header file in roboerath..coz first i thought to change value for kinect video speed in roboearth file but actuaaly there is no such thing related to kinect video speed in any roboearth file...im such a fool..

ay gravatar image ay  ( 2012-05-14 07:43:05 -0500 )edit

sorry to bother u guys with such fool question...im very sorry..i just need to use rosrun dynamic_reconfigure reconfigure_gui to adjust it...im such a fool to ask first before investigate...it has nothing to do with roboearth...

ay gravatar image ay  ( 2012-05-14 07:46:17 -0500 )edit

That's OK. We all make mistakes. Good luck!

joq gravatar image joq  ( 2012-05-14 08:14:27 -0500 )edit

thanx @joq...really appreciate ur effort on helping..also thanx to @Mac

ay gravatar image ay  ( 2012-05-14 08:50:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-14 06:12:53 -0500

Seen: 288 times

Last updated: May 14 '12