No version for distro humble showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.5.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description A ROS Workspace for the interception of a ball projectile via a simulated drone
Checkout URI https://github.com/arijitnoobstar/uavprojectilecatcher.git
VCS Type git
VCS Version master
Last Updated 2021-05-16
Dev Status UNKNOWN
Released UNRELEASED
Tags uav mav mavlink plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

0.27.0 (2018-11-12)

0.26.3 (2018-08-21)

0.26.2 (2018-08-08)

0.26.1 (2018-07-19)

0.26.0 (2018-06-06)

0.25.1 (2018-05-14)

0.25.0 (2018-05-11)

0.24.0 (2018-04-05)

0.23.3 (2018-03-09)

0.23.2 (2018-03-07)

0.23.1 (2018-02-27)

0.23.0 (2018-02-03)

0.22.0 (2017-12-11)

0.21.5 (2017-11-16)

0.21.4 (2017-11-01)

0.21.3 (2017-10-28)

0.21.2 (2017-09-25)

0.21.1 (2017-09-22)

0.21.0 (2017-09-14)

0.20.1 (2017-08-28)

0.20.0 (2017-08-23)

0.19.0 (2017-05-05)

  • cmake: remove Eigen warning
  • Contributors: Vladimir Ermakov

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

Package symbol

test_mavros package from mavros repo

libmavconn mavros mavros_extras mavros_msgs test_mavros

ROS Distro
melodic

Package Summary

Tags No category tags.
Version 1.20.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description MAVLink to ROS gateway with proxy for Ground Control Station
Checkout URI https://github.com/mavlink/mavros.git
VCS Type git
VCS Version master
Last Updated 2025-07-11
Dev Status DEVELOPED
Released RELEASED
Tags uav ros mavlink ros-node mavros mavros-msgs mav plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.20.1 (2025-05-05)

1.20.0 (2024-10-10)

1.19.0 (2024-06-06)

1.18.0 (2024-03-03)

1.17.0 (2023-09-09)

  • Merge pull request #1865 from scoutdi/warnings Fix / suppress some build warnings
  • Suppress warnings from included headers
  • Contributors: Morten Fyhn Amundsen, Vladimir Ermakov

1.16.0 (2023-05-05)

1.15.0 (2022-12-30)

1.14.0 (2022-09-24)

1.13.0 (2022-01-13)

1.12.2 (2021-12-12)

1.12.1 (2021-11-29)

1.12.0 (2021-11-27)

1.11.1 (2021-11-24)

1.11.0 (2021-11-24)

1.10.0 (2021-11-04)

1.9.0 (2021-09-09)

1.8.0 (2021-05-05)

1.7.1 (2021-04-05)

1.7.0 (2021-04-05)

1.6.0 (2021-02-15)

1.5.2 (2021-02-02)

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange

Package symbol

test_mavros package from mavros repo

libmavconn mavros mavros_extras mavros_msgs test_mavros

ROS Distro
noetic

Package Summary

Tags No category tags.
Version 1.20.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description MAVLink to ROS gateway with proxy for Ground Control Station
Checkout URI https://github.com/mavlink/mavros.git
VCS Type git
VCS Version master
Last Updated 2025-07-11
Dev Status DEVELOPED
Released RELEASED
Tags uav ros mavlink ros-node mavros mavros-msgs mav plugin apm px4
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Tests for MAVROS package

Additional Links

Maintainers

  • Vladimir Ermakov

Authors

  • Nuno Marques
  • Vladimir Ermakov

MAVROS test package

This package consists hand-tests with FCU SITL environment. I hope later we will do automatic tests too.

PX4 ROS SITL

Follow the instructions presented on [PX4 ROS SITL Setup][px4-sitl-wiki].

To test the simulation environment all you have to do is launch the proper ROS launch file. Right now, the current available one is iris_empty_world_offboard_ctl.launch, which allows to test the offboard control routines of the Firmware, together with the MAVROS API.

Available tests

Offboard position and velocity control

Note: acceleration control still not supported on PX4 Firmware side.

Tested in launch files
  • iris_empty_world_offboard_ctl.launch
Description

Allows testing the offboard control routines of the PX4 firmware by issuing setpoint commands through MAVROS plugins. Current test implements code to send:

  • position setpoints
  • velocity setpoints

The tests are implemented by issuing some kind of shaped path. Current shapes are:

  • square/rectangle
  • circle
  • eight
  • ellipse (3D)
How to use

To test the different behaviors, edit iris_empty_world_offboard_ctl.launch. At the bottom of this file, you will find:

	<!-- SITL test base node launcher -->
    <arg name="mode" default="position" />    <!-- position ctl mode -->
    <arg name="shape" default="square" />    <!-- square shaped path -->

Just change the default value of them and issue roslaunch test_mavros iris_empty_world_offboard_ctl.launch

Or, you can just issue the roslaunch passing the parameter values on the command line, p.e. roslaunch test_mavros iris_empty_world_offboard_ctl.launch mode:=position shape:=square.

TODO
  • Implement acceleration setpoint sending, when this is implemented on Firmware side
  • Give possibility to users to define the amplitude of movement
  • Implement a PID controller for velocity to avoid overshoots in the onboard controller

APM SITL

All what you need described in [ardupilot wiki][apm-sitl-wiki].

Preparation

# this is for zsh, but bash should be similar
function add-dir-to-path() {
    PATH+=":$1"
}

# get sources
cd ~/ros/src
wstool set imu_tools --git https://github.com/ccny-ros-pkg/imu_tools.git -v indigo
wstool update -j2
catkin build

cd ~/src/UAV
git clone https://github.com/diydrones/ardupilot.git
git checkout ArduPlane-3.3.0 -b ArduPlane-3.3.0
git clone https://github.com/tridge/jsbsim.git

# compile JSBSim
cd jsbsim
./autogen.sh --enable-libraries
make -j4

# also look ardupliot wiki

# add path to jsbsim binaries
add-dir-to-path $PWD/src

# path to sim_vehicle.sh
cd ../ardupilot/Tools/autotest
add-dir-to-path $PWD

# build APM and load default params
cd ../../ArduPlane
sim_vehicle.sh -w

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package test_mavros

1.20.1 (2025-05-05)

1.20.0 (2024-10-10)

1.19.0 (2024-06-06)

1.18.0 (2024-03-03)

1.17.0 (2023-09-09)

  • Merge pull request #1865 from scoutdi/warnings Fix / suppress some build warnings
  • Suppress warnings from included headers
  • Contributors: Morten Fyhn Amundsen, Vladimir Ermakov

1.16.0 (2023-05-05)

1.15.0 (2022-12-30)

1.14.0 (2022-09-24)

1.13.0 (2022-01-13)

1.12.2 (2021-12-12)

1.12.1 (2021-11-29)

1.12.0 (2021-11-27)

1.11.1 (2021-11-24)

1.11.0 (2021-11-24)

1.10.0 (2021-11-04)

1.9.0 (2021-09-09)

1.8.0 (2021-05-05)

1.7.1 (2021-04-05)

1.7.0 (2021-04-05)

1.6.0 (2021-02-15)

1.5.2 (2021-02-02)

1.5.1 (2021-01-04)

1.5.0 (2020-11-11)

1.4.0 (2020-09-11)

1.3.0 (2020-08-08)

1.2.0 (2020-05-22)

1.1.0 (2020-04-04)

1.0.0 (2020-01-01)

0.33.4 (2019-12-12)

0.33.3 (2019-11-13)

0.33.2 (2019-11-13)

0.33.1 (2019-11-11)

  • resolved merge conflict
  • Contributors: David Jablonski

0.33.0 (2019-10-10)

0.32.2 (2019-09-09)

0.32.1 (2019-08-08)

0.32.0 (2019-07-06)

0.31.0 (2019-06-07)

0.30.0 (2019-05-20)

0.29.2 (2019-03-06)

0.29.1 (2019-03-03)

  • All: catkin lint files
  • Contributors: Pierre Kancir

0.29.0 (2019-02-02)

  • Merge branch 'master' into param-timeout
  • Contributors: Vladimir Ermakov

0.28.0 (2019-01-03)

File truncated at 100 lines see the full file

Launch files

  • launch/apm/apm_imu_test.launch
  • launch/apm/apm_local_position_test.launch
  • launch/apm/schematic_plane_rviz.launch
  • launch/base_node.launch
      • args
      • num_of_tests
      • rate
      • use_pid
      • mode
      • shape
      • linvel_p_gain
      • linvel_i_gain
      • linvel_d_gain
      • linvel_i_max
      • linvel_i_min
      • yawrate_p_gain
      • yawrate_i_gain
      • yawrate_d_gain
      • yawrate_i_max
      • yawrate_i_min
  • launch/px4/iris_empty_world_offboard_ctl.launch
      • headless [default: false]
      • gui [default: true]
      • enable_logging [default: false]
      • enable_ground_truth [default: true]
      • ns [default: iris]
      • log_file [default: $(arg ns)]
      • fcu_url [default: udp://localhost:14560@localhost:14565]
      • gcs_url [default: ]
      • tgt_system [default: 1]
      • tgt_component [default: 1]
      • num_of_tests [default: 1]
      • rate [default: 10.0]
      • use_pid [default: true]
      • mode [default: position]
      • shape [default: square]
      • linvel_p_gain [default: 0.4]
      • linvel_i_gain [default: 0.05]
      • linvel_d_gain [default: 0.12]
      • linvel_i_max [default: 0.1]
      • linvel_i_min [default: -0.1]
      • yawrate_p_gain [default: 0.011]
      • yawrate_i_gain [default: 0.00058]
      • yawrate_d_gain [default: 0.12]
      • yawrate_i_max [default: 0.005]
      • yawrate_i_min [default: -0.005]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged test_mavros at Robotics Stack Exchange