Skip to content

This project send topic to set velocity to ardupilot via mavros and displays actual (gps) velocity. Those information are useful for system identification for velocity model.

License

cnpcshangbo/velocity_cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

velocity_cmd

Join the chat at https://gitter.im/velocity_cmd/Lobby

Introduction

This project send topic to set velocity to ardupilot via mavros and displays actual (gps) velocity. Those information are useful for system identification for velocity model. This project is originally made to work with the following tutorial for identification of the velocity model. http://docs.erlerobotics.com/simulation/vehicles/erle_copter/tutorial_5

System requirements

Usages

Suppose the ROS catkin workspace is ~/simulation/ros_catkin_ws/.

cd ~/simulation/ros_catkin_ws/

Edit the source file

gedit ~/simulation/ros_catkin_ws/src/velocity_cmd/velocity_cmd.cpp

Make

cd ~/simulation/ros_catkin_ws/
catkin_make --pkg velocity_cmd

Run

roscore
cd ~/simulation/ros_catkin_ws/
source ./devel/setup.bash 
rosrun velocity_cmd velocity_cmd 

Topic echo

rostopic echo /mavros/setpoint_velocity/cmd_vel

About

This project send topic to set velocity to ardupilot via mavros and displays actual (gps) velocity. Those information are useful for system identification for velocity model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published