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

state_topic? #18

Closed
slremy opened this issue Oct 4, 2014 · 1 comment
Closed

state_topic? #18

slremy opened this issue Oct 4, 2014 · 1 comment

Comments

@slremy
Copy link

slremy commented Oct 4, 2014

Hello all, are there directions on the best approach to setting the pose (position, orientation) for the simulated quadrotor?

I've composed the message I'd like to use:
msg.pose.pose.position = Point(x, y, z);
quat = tf.transformations.quaternion_from_euler(phi, theta, psi);
msg.pose.pose.orientation = Quaternion(*quat);
msg.twist.twist.linear = Vector3(p, q, r);
self.odom_pub.publish(msg);

But I'm at a bit of a loss about how to set up the launch files (or SDF files?) to permit the state of the quadrotor to the set with data received from an external source. What needs to be set?

http://answers.gazebosim.org/question/7036/using-hector_quadrotor_gazebo-with-externally/

@meyerj
Copy link
Member

meyerj commented Oct 6, 2014

@meyerj meyerj closed this as completed Oct 6, 2014
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