ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @Zab,

The robotis package uses another config file in the bin directory of the pi_tracker package called servo_config.py. I believe that's the one you are looking for.

--patrick

click to hide/show revision 2
Updated answer with additional details

Hi @Zab,

The robotis package uses another config file in the bin directory of the pi_tracker package called servo_config.py. I believe that's the one you are looking for.

UPDATE: It turns out that there is also a servo_config.py file in the robotis package directory and that this file will override the one in the pi_tracker/bin directory. So you need to ensure that both files contain the same parameters. Two ways of doing this are as follows:

$ roscd robotis/src/robotis
$ roscp pi_tracker servo_config.py .

(That isolated "." at the end of the second line is required.) This method requires that you execute the above commands whenever you change the parameters in the pi_tracker copy.

Alternativel you could just symlink the two files like this:

$ roscd robotis/src/robotis
$ rm servo_config.py servo_config.pyc
$ ln -s `rospack find pi_tracker`/bin/servo_config.py .

This method will keep the robotis copy synced with the pi_tracker version.

--patrick

Hi @Zab,

The robotis package uses another config file in the bin directory of the pi_tracker package called servo_config.py. I believe that's the one you are looking for.

UPDATE: It turns out that there is also a servo_config.py file in the robotis package directory and that this file will override the one in the pi_tracker/bin directory. So you need to ensure that both files contain the same parameters. Two ways of doing this are as follows:

$ roscd robotis/src/robotis
$ roscp pi_tracker servo_config.py .

(That isolated "." at the end of the second line is required.) This method requires that you execute the above commands whenever you change the parameters in the pi_tracker copy.

Alternativel Alternatively you could just symlink the two files like this:

$ roscd robotis/src/robotis
$ rm servo_config.py servo_config.pyc
$ ln -s `rospack find pi_tracker`/bin/servo_config.py .

This method will keep the robotis copy synced with the pi_tracker version.

--patrick