-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added total force arrow * made torque arc marker * documentation * cleanup * resolved merge conflict * reduced number of segments in arc * cleanup * removed hardcoded values --------- Co-authored-by: Aldokan <[email protected]>
- Loading branch information
Showing
6 changed files
with
280 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
thruster-visualization/launch/thruster_visualization.launch.py
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
thruster-visualization/launch/thruster_visualization_asv.launch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from math import pi | ||
from launch import LaunchDescription | ||
from launch_ros.actions import Node | ||
|
||
def generate_launch_description(): | ||
thruster_visualization_node = Node( | ||
package='thruster_visualization', | ||
executable='thruster_visualization_node', | ||
name='thruster_visualization_node', | ||
output='screen', | ||
parameters=[{ | ||
'num_thrusters': 4, | ||
#NOTE: These coordinates are in the base_link frame (NED) | ||
'thruster0_position': [0.7, 0.5, 0.4], | ||
'thruster0_orientation': 7.0 * pi / 4.0, | ||
|
||
'thruster1_position': [-0.7, 0.5, 0.4], | ||
'thruster1_orientation': 1.0 * pi / 4.0, | ||
|
||
'thruster2_position': [-0.7, -0.5, 0.4], | ||
'thruster2_orientation': 7.0 * pi / 4.0, | ||
|
||
'thruster3_position': [0.7, -0.5, 0.4], | ||
'thruster3_orientation': 1.0 * pi / 4.0, | ||
}] | ||
) | ||
return LaunchDescription([ | ||
thruster_visualization_node | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.