Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

ros service does not start #10

Description

@CanCanZeng

Hi, thank you for openning this code!

I run this code, but meet some problem.
I find that the "startInfinitam" service does not running.

the caller is :
InfinitamNode::InfinitamNode(int& argc, char** argv)
{
...
std::cout << "calling..." << std::endl;
// Initialize service.
start_infinitam_service_ = node_handle_.advertiseService(
"start_infinitam", &InfinitamNode::startInfinitam, this);

...
}

and the service function is :

bool InfinitamNode::startInfinitam(std_srvs::SetBool::Request& request,
std_srvs::SetBool::Response& response)
{
LOG(INFO) << "startInfinitam start!";
std::cout << "startInfinitam start!" << std::endl;

...
}

the screen out put is
image

I have published the topics the infiniTAM listens to
"/camera/rgb/image_raw"
"/camera/depth/image_raw"

And I can run infiniTAM without ROS

I have no idea how this come, since I am not familiar with ROS, can you give me som advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions