Skip to content

Where are docs? Need Simple python script for manuvering  #76

@itskd

Description

@itskd

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()

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