Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on/off the tracking #29

Open
stevemartinov opened this issue May 10, 2021 · 1 comment
Open

Turn on/off the tracking #29

stevemartinov opened this issue May 10, 2021 · 1 comment

Comments

@stevemartinov
Copy link

Hi,

I want to combine the AMCL and ICP to get a more accurate approach localization. My idea is to use AMCL and turn off the tracking_2d from the DRL while navigating and then when the goal distance is less than X threshold, I can turn off AMCL and turn on DRL for final approach.

Is there a simple way to turn off the DRL completely (tracking_2d) and turn on with an initial position?

@carlosmccosta
Copy link
Owner

carlosmccosta commented May 11, 2021

Hello,

In the last commit I added 2 services for starting and stopping the processing of sensor data.

Now drl can start with the data processing on or off using parameter ambient_pointcloud_topic_disabled_on_startup.

The initial pose can be set from the StartProcessingSensorData.srv when set_initial_pose is set to true (the initial pose should be in the map_frame_id with a valid and nomalized quaternion).

Have a nice day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants