Skip to content

Commit

Permalink
Changed name of executable in launch files to match installed node
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eichmann <[email protected]>
  • Loading branch information
chriseichmann committed Feb 15, 2022
1 parent 85c6b56 commit cf33e21
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 21 deletions.
18 changes: 12 additions & 6 deletions spacenav/launch/classic-launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@


def generate_launch_description():
return LaunchDescription([
Node(package='spacenav', executable='spacenav',
name='spacenav', namespace='', output='screen',
parameters=[{'zero_when_static': True,
'static_count_threshold': 30}]),
])
return LaunchDescription(
[
Node(
package='spacenav',
executable='spacenav_node',
name='spacenav',
namespace='',
output='screen',
parameters=[{'zero_when_static': True, 'static_count_threshold': 30}],
),
]
)
25 changes: 18 additions & 7 deletions spacenav/launch/no_deadband-launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,21 @@


def generate_launch_description():
return LaunchDescription([
Node(package='spacenav', executable='spacenav',
name='spacenav', namespace='', output='screen',
parameters=[{'zero_when_static': False,
'static_trans_deadband': 0.0,
'static_rot_deadband': 0.0}]),
])
return LaunchDescription(
[
Node(
package='spacenav',
executable='spacenav_node',
name='spacenav',
namespace='',
output='screen',
parameters=[
{
'zero_when_static': False,
'static_trans_deadband': 0.0,
'static_rot_deadband': 0.0,
}
],
),
]
)
27 changes: 19 additions & 8 deletions spacenav/launch/static_deadband-launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,22 @@


def generate_launch_description():
return LaunchDescription([
Node(package='spacenav', executable='spacenav',
name='spacenav', namespace='', output='screen',
parameters=[{'zero_when_static': False,
'static_count_threshold': 30,
'static_trans_deadband': 40.0,
'static_rot_deadband': 40.0}]),
])
return LaunchDescription(
[
Node(
package='spacenav',
executable='spacenav_node',
name='spacenav',
namespace='',
output='screen',
parameters=[
{
'zero_when_static': False,
'static_count_threshold': 30,
'static_trans_deadband': 40.0,
'static_rot_deadband': 40.0,
}
],
),
]
)

0 comments on commit cf33e21

Please sign in to comment.