Skip to content

ROS1: Nodelet Refactor #105

Merged
icolwell-as merged 5 commits intoros1_masterfrom
101_nodelet_refactor
Oct 19, 2021
Merged

ROS1: Nodelet Refactor #105
icolwell-as merged 5 commits intoros1_masterfrom
101_nodelet_refactor

Conversation

@icolwell-as
Copy link
Copy Markdown
Member

Resolves #101 by converting the node to a nodelet. Tested today in lexus, seems to perform the same. The nodelet manager spreads the callback load mainly across 3 threads, which would be same as it worked before (2 async spinner threads and one manually-created can_write thread).

Comment thread include/pacmod3/pacmod3_nodelet.h Outdated
{
public:
Pacmod3Nl();
~Pacmod3Nl();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

virtual

Comment thread include/pacmod3/pacmod3_nodelet.h Outdated
~Pacmod3Nl();

private:
void onInit();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

override

Comment thread include/pacmod3/pacmod3_nodelet.h Outdated

ros::NodeHandle nh_;
ros::NodeHandle pnh_;
std::string veh_type_string = "POLARIS_GEM";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty string ""?

@icolwell-as icolwell-as merged commit b522225 into ros1_master Oct 19, 2021
@icolwell-as icolwell-as deleted the 101_nodelet_refactor branch October 19, 2021 21:12
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

Successfully merging this pull request may close these issues.

ROS1: Refactor to nodelet-based design

3 participants