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

Gazebo plugin for logging #23

Merged
merged 7 commits into from
May 21, 2014
Merged

Gazebo plugin for logging #23

merged 7 commits into from
May 21, 2014

Conversation

ffurrer
Copy link
Contributor

@ffurrer ffurrer commented May 2, 2014

At this stage it only supports logging of the ground truth pose, but it can be tested :)

At this stage it only supports logging of the ground truth
pose_msg_.pose.orientation.y = pose_.rot.y;
pose_msg_.pose.orientation.z = pose_.rot.z;

bag_.write("ground_truth_pose", ros::Time::now(), pose_msg_);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd say we should use gazebo time (simulation time)?

@ffurrer
Copy link
Contributor Author

ffurrer commented May 15, 2014

All the logging as mentioned in issue #20 is supported apart from in_collision, the generic_pose_sensor, services and parameters. I guess we can add those once we have them.

@ffurrer ffurrer changed the title basic functioning gazebo plugin for logging Gazebo plugin for logging May 15, 2014
namespace_ = _sdf->GetElement("robotNamespace")->Get<std::string>();
else
gzerr << "[gazebo_bag_plugin] Please specify a robotNamespace.\n";
node_handle_ = new ros::NodeHandle(namespace_);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know about gazebo namespaces, but are they always the same as the ros namespaces? shouldn't we take the ros namespaces here?

@burrimi
Copy link
Contributor

burrimi commented May 19, 2014

some comments otherwise this lgtm.

ffurrer added a commit that referenced this pull request May 21, 2014
@ffurrer ffurrer merged commit 6459b3e into master May 21, 2014
@ffurrer ffurrer deleted the feature/bag_plugin branch May 21, 2014 10:19
LorenzMeier added a commit to PX4/rotors_simulator that referenced this pull request Jun 11, 2015
Depend on cv_bridge instead of opencv
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.

3 participants