Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
PX4-Avoidance
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DoBots
PX4-Avoidance
Commits
9b05c9a5
Commit
9b05c9a5
authored
5 years ago
by
Martina Rivizzigno
Committed by
Tanja Baumann
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
deprecate local_planner_realsense launch file and remove it from readme (#534)
parent
829d02db
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-12
0 additions, 12 deletions
README.md
local_planner/launch/local_planner_realsense.launch
+0
-60
0 additions, 60 deletions
local_planner/launch/local_planner_realsense.launch
with
0 additions
and
72 deletions
README.md
+
0
−
12
View file @
9b05c9a5
...
...
@@ -231,18 +231,6 @@ The planner is based on the [3DVFH+](http://ceur-ws.org/Vol-1319/morse14_paper_0
roslaunch local_planner local_planner_sitl_3cam.launch
```
*
simulate one Intel Realsense camera:
```
bash
git clone git@github.com:SyrianSpock/realsense_gazebo_plugin.git
catkin build realsense_gazebo_plugin
#(for ROS kinetic, the kinetic-devel branch must be used)
export
GAZEBO_MODEL_PATH
=
${
GAZEBO_MODEL_PATH
}
:~/catkin_ws/src/realsense_gazebo_plugin/models
roslaunch local_planner local_planner_realsense.launch
```
You will see the Iris drone unarmed in the Gazebo world. To start flying, there are two options: OFFBOARD or MISSION mode. For OFFBOARD, run:
```
bash
...
...
This diff is collapsed.
Click to expand it.
local_planner/launch/local_planner_realsense.launch
deleted
100644 → 0
+
0
−
60
View file @
829d02db
<!-- SITL launch file which uses an authentic gazebo model of the Realsense camera-->
<!-- To be able to run this complete the following steps:-->
<!-- Clone this package into catkin_ws and build:-->
<!-- git clone git@github.com:SyrianSpock/realsense_gazebo_plugin.git-->
<!-- catkin build realsense_gazebo_plugin (for ROS kinetic, the kinetic-devel branch must be used)-->
<!-- Add to Gazebo model path:-->
<!-- export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:my_path/catkin_ws/src/realsense_gazebo_plugin/models-->
<launch>
<arg name="world_file_name" default="simple_obstacle" />
<arg name="world_path" default="$(find avoidance)/sim/worlds/$(arg world_file_name).world" />
<arg name="pointcloud_topics" default="[/realsense/camera/depth/points]"/>
<!-- Define a static transform from a camera internal frame to the fcu for every camera used -->
<node pkg="tf" type="static_transform_publisher" name="tf_depth_camera"
args="0 0 0 -1.57 0 -1.57 fcu color 10"/>
<!-- Launch PX4 and mavros -->
<include file="$(find avoidance)/launch/avoidance_sitl_mavros.launch" >
<arg name="model" value="iris_realsense" />
<arg name="world_path" value="$(arg world_path)" />
</include>
<!-- Load custom console configuration -->
<env name="ROSCONSOLE_CONFIG_FILE" value="$(find local_planner)/resource/custom_rosconsole.conf"/>
<!-- Launch local planner -->
<node name="local_planner_node" pkg="local_planner" type="local_planner_node" output="screen" >
<param name="goal_x_param" value="17" />
<param name="goal_y_param" value="15"/>
<param name="goal_z_param" value="3" />
<param name="world_name" value="$(find avoidance)/sim/worlds/$(arg world_file_name).yaml" />
<rosparam param="pointcloud_topics" subst_value="True">$(arg pointcloud_topics)</rosparam>
</node>
<!-- Launch pointcloud generation from Realsense images -->
<arg name="camera_info" value="/realsense_plugin/camera/color/camera_info"/>
<arg name="depReg_imgraw" value="/realsense_plugin/camera/depth/image_raw"/> <!--Raw depth image-->
<arg name="depReg_imgrect" value="/realsense_plugin/camera/depth/image_rect"/> <!--Raw depth image-->
<arg name="out_cloud" value="/realsense/camera/depth/points"/>
<node pkg="nodelet" type="nodelet" name="standalone_nodelet" args="manager" output="screen"/>
<!-- Convert depth from mm (in uint16) to meters -->
<node pkg="nodelet" type="nodelet" name="convert_metric" args="load depth_image_proc/convert_metric standalone_nodelet">
<remap from="image_raw" to="$(arg depReg_imgraw)"/>
<remap from="image" to="$(arg depReg_imgrect)"/>
</node>
<!-- Construct point cloud of the rgb and depth topics -->
<node pkg="nodelet" type="nodelet" name="points_xyz" args="load depth_image_proc/point_cloud_xyz standalone_nodelet --no-bond">
<remap from="camera_info" to="$(arg camera_info)" />
<remap from="image_rect" to="$(arg depReg_imgrect)"/>
<remap from="points" to="$(arg out_cloud)"/>
</node>
<node name="rviz" pkg="rviz" type="rviz" output="screen" args="-d $(find local_planner)/resource/local_planner.rviz" />
</launch>
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