Skip to content

ROS package to demonstrate primitive functionality of services with an autopilot using mavros.

Notifications You must be signed in to change notification settings

CardatVT/Mavros_Primitive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mavros Primitive

ROS package to demonstrate primitive functionality of ros services with an autopilot using mavros.

How To Run

DON'T RUN ON ACTIVE VEHICLE (I use dummy data)

Open a terminal and run roscore

Open a second terminal and run roslaunch mavros px4.launch (or your preferred autopilot stack) to start mavros. You may need to change the .launch file to find the pixhawk depending on your connection. Connected via usb I needed to switch the directory to find our pixhawk device to /dev/ttyUSB0:(some port number ex.57600)

Open a third terminal run our rosnode via mavros_primitive mavros_primitive_node If this command fails to find our node you can navigate to the directorycatkin_ws/devel/lib/mavros_primitive and run the node manually by ./mavros_primitive_node

The mavros_primitive_node should now be running.

Press w to send takeoff request.

Press s to send land request.

About

ROS package to demonstrate primitive functionality of services with an autopilot using mavros.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published