|
Package Summary
Tags | No category tags. |
Version | 1.0.1 |
License | BSD-3-Clause |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/aerostack2/aerostack2.git |
VCS Type | git |
VCS Version | humble-devel |
Last Updated | 2023-04-25 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
AeroStack2 drone interface tool in python
Additional Links
No additional links.
Maintainers
- CVAR-UPM
Authors
No additional authors.
as2_python_api
AeroStack2 python interface.
Index
API
Method | Input | Output | Description |
---|---|---|---|
str = get_drone_id() |
- | drone namespace | - |
{ bool, bool, bool, STATE, YAW_MODE, CONTROL_MODE, REFERENCE_FRAME } = get_info() |
- | drone info {connected, armed, offboard, state, yaw_mode, control_mode, reference_frame} | - |
[ float, float, float ] = get_position() |
- | [ x, y, z ] | - |
[ float, float, float ] = get orientation() |
- | [ roll, pitch, yaw ] | - |
[ float, float, float ] = get_gps_pose() |
- | [ lat, lon ,alt ] | |
takeoff(float, float) |
heigth, speed | - | - |
follow_path([ [ float, float, float ], ... ], float) |
[ [ x, y, z ], ... ], speed | - | - |
follow_gps_path([ [ float, float, float ], ... ], float) |
[ [ lat, lon, alt ], ... ], speed | - | - |
land() |
- | - | - |
<!-- | go_to() |
- | - |
ENUMERATIONS
STATE
Value | Field Name | Description |
---|---|---|
EMERGENCY |
-1 | - |
DISARMED |
0 | - |
LANDED |
1 | - |
TAKING_OFF |
2 | - |
FLYING |
3 | - |
LANDING |
4 | - |
YAW_MODE
Value | Field Name | Description |
---|---|---|
YAW_ANGLE |
0 | - |
YAW_SPEED |
1 | - |
CONTROL_MODE
Value | Field Name | Description |
---|---|---|
UNSET |
-1 | mode when the vehicle is not set |
POSITION_MODE |
0 | x, y, z refs |
SPEED_MODE |
1 | vx, vy, vz refs |
SPEED_IN_A_PLANE |
2 | vx, vy, z refs |
ACCEL_MODE |
3 | ax, ay, az refs |
ATTITUDE_MODE |
4 | quaternions + Thrust |
ACRO_MODE |
5 | p, q, r speed + Thrust |
REFERENCE_FRAME
Value | Field Name | Description |
---|---|---|
LOCAL_ENU_FRAME |
0 | Local coordinates |
BODY_FLU_FRAME |
1 | Body coordinates |
GLOBAL_ENU_FRAME |
2 | GPS coordinates |
CHANGELOG
Changelog for package as2_python_api
1.0.1 (2023-04-25)
- Merge pull request #223 from aerostack2/200-unify-maintainer-in-packagexmls Maintainer unified to CVAR-UPM
- Maintainer unified to CVAR-UPM
- Merge pull request #220 from aerostack2/219-as2_python_api-multi-frame-goto-behavior Multi-frame goto
- multi-frame goto
- Merge pull request #198 from aerostack2/197-as2_core-change-behaviour-to-behavior 197 as2 core change behaviour to behavior
- Change behaviour to behavior
- Contributors: Miguel Fernandez-Cortizas, RPS98, pariaspe
1.0.0 (2023-03-18)
0.2.2 (2022-12-20)
- Merge pull request #89 from aerostack2/python-new-name [as2_python_api] Renamed following naming convention
- moved to examples folder
- as2_python_api renamed following naming convention
- Contributors: Miguel Fernandez-Cortizas, pariaspe
0.2.1 (2022-12-19)
- Merge pull request #83 from aerostack2/48-as2_motion_reference_handlers-make-private-basic-motion-handler-methods Make controller_info_callback and __set_mode privates
- Make controller_info_callback and __set_mode privates
- Merge pull request #22 from aerostack2/6-behaviors-clients [python_interface] Behavior clients with modules
- renaming test
- Behavior clients with modules
- Merge branch \'main\' of github.com:aerostack2/aerostack2 into main
- Merge pull request #9 from aerostack2/rps_devel Small fix names
- Merge pull request #8 from aerostack2/7-misssing-parent-class-in-motion-reference-handler-module [as2_python_interface] Added missing parent
- Update features
- added missing parent
- python interface upload
- motion references handler py renamed
- python interface upload
- motion references handler py renamed
- added as2_ prefix to motion_handlers
- First commit
- Contributors: Javier Melero, Miguel, Miguel Fernandez-Cortizas, RPS98, miferco97, pariaspe
Wiki Tutorials
See ROS Wiki Tutorials for more details.
Source Tutorials
Not currently indexed.
Package Dependencies
Deps | Name | |
---|---|---|
1 | ament_copyright | |
1 | ament_flake8 | |
1 | ament_pep257 | |
1 | rclpy | |
3 | std_srvs | |
1 | as2_msgs | |
2 | nav_msgs | |
2 | sensor_msgs | |
2 | geometry_msgs | |
1 | geographic_msgs | |
1 | action_msgs | |
1 | as2_motion_reference_handlers |
System Dependencies
Dependant Packages
Launch files
No launch files found
Messages
No message files found.
Services
No service files found
Plugins
No plugins found.
Recent questions tagged as2_python_api at answers.ros.org
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
|
Package Summary
Tags | No category tags. |
Version | 0.2.2 |
License | BSD-3-Clause |
Build type | AMENT_PYTHON |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/aerostack2/aerostack2.git |
VCS Type | git |
VCS Version | galactic |
Last Updated | 2022-12-20 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
AeroStack2 drone interface tool in python
Additional Links
No additional links.
Maintainers
- Computer Vision And Aerial Robotics Group (UPM)
Authors
No additional authors.
as2_python_api
AeroStack2 python interface.
Index
API
Method | Input | Output | Description |
---|---|---|---|
str = get_drone_id() |
- | drone namespace | - |
{ bool, bool, bool, STATE, YAW_MODE, CONTROL_MODE, REFERENCE_FRAME } = get_info() |
- | drone info {connected, armed, offboard, state, yaw_mode, control_mode, reference_frame} | - |
[ float, float, float ] = get_position() |
- | [ x, y, z ] | - |
[ float, float, float ] = get orientation() |
- | [ roll, pitch, yaw ] | - |
[ float, float, float ] = get_gps_pose() |
- | [ lat, lon ,alt ] | |
takeoff(float, float) |
heigth, speed | - | - |
follow_path([ [ float, float, float ], ... ], float) |
[ [ x, y, z ], ... ], speed | - | - |
follow_gps_path([ [ float, float, float ], ... ], float) |
[ [ lat, lon, alt ], ... ], speed | - | - |
land() |
- | - | - |
<!-- | go_to() |
- | - |
ENUMERATIONS
STATE
Value | Field Name | Description |
---|---|---|
EMERGENCY |
-1 | - |
DISARMED |
0 | - |
LANDED |
1 | - |
TAKING_OFF |
2 | - |
FLYING |
3 | - |
LANDING |
4 | - |
YAW_MODE
Value | Field Name | Description |
---|---|---|
YAW_ANGLE |
0 | - |
YAW_SPEED |
1 | - |
CONTROL_MODE
Value | Field Name | Description |
---|---|---|
UNSET |
-1 | mode when the vehicle is not set |
POSITION_MODE |
0 | x, y, z refs |
SPEED_MODE |
1 | vx, vy, vz refs |
SPEED_IN_A_PLANE |
2 | vx, vy, z refs |
ACCEL_MODE |
3 | ax, ay, az refs |
ATTITUDE_MODE |
4 | quaternions + Thrust |
ACRO_MODE |
5 | p, q, r speed + Thrust |
REFERENCE_FRAME
Value | Field Name | Description |
---|---|---|
LOCAL_ENU_FRAME |
0 | Local coordinates |
BODY_FLU_FRAME |
1 | Body coordinates |
GLOBAL_ENU_FRAME |
2 | GPS coordinates |
CHANGELOG
Changelog for package as2_python_api
Forthcoming
0.2.2 (2022-12-20)
- Merge pull request #89 from aerostack2/python-new-name [as2_python_api] Renamed following naming convention
- moved to examples folder
- as2_python_api renamed following naming convention
- Contributors: Miguel Fernandez-Cortizas, pariaspe
0.2.1 (2022-12-19)
- Merge pull request #83 from aerostack2/48-as2_motion_reference_handlers-make-private-basic-motion-handler-methods Make controller_info_callback and __set_mode privates
- Make controller_info_callback and __set_mode privates
- Merge pull request #22 from aerostack2/6-behaviors-clients [python_interface] Behavior clients with modules
- renaming test
- Behavior clients with modules
- Merge branch \'main\' of github.com:aerostack2/aerostack2 into main
- Merge pull request #9 from aerostack2/rps_devel Small fix names
- Merge pull request #8 from aerostack2/7-misssing-parent-class-in-motion-reference-handler-module [as2_python_interface] Added missing parent
- Update features
- added missing parent
- python interface upload
- motion references handler py renamed
- python interface upload
- motion references handler py renamed
- added as2_ prefix to motion_handlers
- First commit
- Contributors: Javier Melero, Miguel, Miguel Fernandez-Cortizas, RPS98, miferco97, pariaspe
Wiki Tutorials
See ROS Wiki Tutorials for more details.
Source Tutorials
Not currently indexed.
Package Dependencies
Deps | Name | |
---|---|---|
1 | ament_copyright | |
1 | ament_flake8 | |
1 | ament_pep257 | |
1 | rclpy | |
3 | std_srvs | |
1 | as2_msgs | |
2 | nav_msgs | |
2 | sensor_msgs | |
2 | geometry_msgs | |
1 | geographic_msgs | |
1 | action_msgs | |
1 | as2_motion_reference_handlers |
System Dependencies
Name |
---|
python3-pytest |
Dependant Packages
Name | Repo | Deps |
---|---|---|
aerostack2 | github-aerostack2-aerostack2 |
Launch files
No launch files found
Messages
No message files found.
Services
No service files found
Plugins
No plugins found.
Recent questions tagged as2_python_api at answers.ros.org
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.