Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isae_simulations_package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CHAUVIN Pascal
isae_simulations_package
Commits
4efe2ceb
Commit
4efe2ceb
authored
Mar 21, 2024
by
tauve
Browse files
Options
Downloads
Patches
Plain Diff
[launch, config] add launch file for launch joy with others nodes.
parent
8fb431a7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/isae_parameters.yaml
+16
-0
16 additions, 0 deletions
config/isae_parameters.yaml
launch/prex_pc.py
+60
-0
60 additions, 0 deletions
launch/prex_pc.py
with
76 additions
and
0 deletions
config/isae_parameters.yaml
0 → 100644
+
16
−
0
View file @
4efe2ceb
teleop_twist_joy_node
:
ros__parameters
:
axis_linear
:
x
:
1
scale_linear
:
x
:
0.7
scale_linear_turbo
:
x
:
1.5
axis_angular
:
yaw
:
0
scale_angular
:
yaw
:
0.4
enable_button
:
2
# L2 shoulder button
enable_turbo_button
:
10
# L1 shoulder button
\ No newline at end of file
This diff is collapsed.
Click to expand it.
launch/prex_pc.py
0 → 100755
+
60
−
0
View file @
4efe2ceb
import
os
from
ament_index_python
import
get_package_share_directory
from
launch
import
LaunchDescription
from
launch.actions
import
DeclareLaunchArgument
from
launch.actions
import
IncludeLaunchDescription
from
launch.actions
import
GroupAction
from
launch.launch_description_sources
import
PythonLaunchDescriptionSource
from
launch.substitutions
import
LaunchConfiguration
,
PathJoinSubstitution
from
launch.substitutions
import
TextSubstitution
from
launch_ros.actions
import
Node
from
launch_ros.actions
import
PushRosNamespace
from
launch_ros.substitutions
import
FindPackageShare
from
launch_ros.actions
import
ComposableNodeContainer
from
launch_ros.descriptions
import
ComposableNode
from
launch.conditions
import
IfCondition
,
UnlessCondition
def
generate_launch_description
():
# args that can be set from the command line or a default will be used
#color_file_launch_arg = DeclareLaunchArgument(
# "color_file", default_value=TextSubstitution(text="0")
#)
declared_arguments
=
[]
joyps4_launch
=
IncludeLaunchDescription
(
PythonLaunchDescriptionSource
([
PathJoinSubstitution
([
FindPackageShare
(
'
teleop_twist_joy
'
),
'
launch
'
,
'
teleop-launch.py
'
])
]),
launch_arguments
=
{
'
joy_vel
'
:
'
/irobot01/cmd_vel
'
,
'
config_filepath
'
:
os
.
path
.
join
(
get_package_share_directory
(
'
isae_simulations_package
'
),
'
config
'
,
'
isae_parameters.yaml
'
),
}.
items
()
)
image_2_scan
=
Node
(
package
=
'
depthimage_to_laserscan
'
,
executable
=
'
depthimage_to_laserscan_node
'
,
name
=
'
image_line_scan
'
,
remappings
=
[
(
'
/depth
'
,
'
/ms_kinect_depth/depth/image_raw
'
),
(
'
/depth_camera_info
'
,
'
/ms_kinect_depth/depth/camera_info
'
),
],
parameters
=
[{
'
scan_height:
'
:
1
}],
output
=
'
screen
'
,
)
return
LaunchDescription
(
declared_arguments
+
[
GroupAction
(
actions
=
[
joyps4_launch
,
image_2_scan
,
])])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment