Skip to content

Instantly share code, notes, and snippets.

@MikeK4y
MikeK4y / joy_control.py
Created July 14, 2022 18:28
A ROS node that sends velocity commands through MavROS using a joy
#!/usr/bin/python3
'''
MIT License
Copyright (c) 2022 Michail Kalaitzakis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@MikeK4y
MikeK4y / camera_utils.py
Last active September 6, 2019 17:55
Given the 3D pose of a camera with known field of view get the distance of a point to the plane of view
'''
MIT License
Copyright (c) 2019 Michail Kalaitzakis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@MikeK4y
MikeK4y / gps_utils.py
Last active June 21, 2024 11:17
A python class to convert GPS coordinates to a local ENU coordinate system and vice versa
'''
MIT License
Copyright (c) 2019 Michail Kalaitzakis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: