-
Notifications
You must be signed in to change notification settings - Fork 47
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
Where are docs? Need Simple python script for manuvering #76
Comments
I looks like there is an example of publishing a waypoint list: rosplane/rosplane/src/path_planner.cpp Line 27 in d8fe9ff
There is also an example launch file: https://github.com/byu-magicc/rosplane/blob/RC1.0/rosplane_sim/launch/fixedwing.launch From what I can see the python example you posted should work. It will just fly you 1111 meters down (below the ground plane in gazebo). There is also some documentation in the message definition: https://github.com/byu-magicc/rosplane/blob/RC1.0/rosplane_msgs/msg/Waypoint.msg Most of the rest of the documentation is in the textbook http://uavbook.byu.edu/doku.php Hope this helps! |
Hey guys, Launching So I tried to run this node separately ( |
It seems to work for me... Can you give more details about your setup? Also don't forget to push play in gazebo (bottom left of the gazebo window). It starts "paused" by default. |
Ahh! That was it. I didn't notice that Gazebo is launched in paused state. It works now. When launching in the unpaused mode (setting |
Can someone give a simple example of how to plan path and make fixed wing follow dubins path.
I created a simple scipt for path planning, but nothing happens when i run this.
I just want a fixed wing to go from point a to b, can someone help me achieve this!!
from rosplane_msgs.msg import Waypoint
rospy.init_node('rc_pp')
#rc_pub = rospy.Publisher('/multirotor/RC', RCRaw, queue_size=10)
rc_pub = rospy.Publisher('/fixedwing/rosplane_simple_path_planner', Waypoint, queue_size=10)
rate = rospy.Rate(1)
msg = Waypoint()
msg.w[0]= 1111
msg.w[1] = 1111
msg.w[2]= 1111
msg.chi_d = 0.9
msg.chi_valid = True
msg.Va_d = 12
msg.set_current = True
msg.clear_wp_list = False
rc_pub.publish(msg)
print(msg)
rate.sleep()
The text was updated successfully, but these errors were encountered: