mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-10 22:49:51 +08:00
Update net_camera README.MD
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
> This section describes how to use Net camera in OrbbecSDK_ROS2.Currently, only Femto_Mega and Gemini 335Le devices are supported, and other Net devices will be supported in the near future.
|
> This section describes how to use Net camera in OrbbecSDK_ROS2.Currently, only Femto_Mega and Gemini 335Le devices are supported, and other Net devices will be supported in the near future.
|
||||||
|
|
||||||
## Parameter Introduction
|
## Femto Mega
|
||||||
|
|
||||||
Network device settings: default `enumerate_net_device` is set to true, which will automatically enumerate network devices.
|
### Parameter Introduction
|
||||||
|
|
||||||
|
Network device settings: `enumerate_net_device` is set to true, which will automatically enumerate network devices.
|
||||||
|
|
||||||
If you do not want to automatically enumerate network devices,you can set `enumerate_net_device` to false, `net_device_ip` to the device's IP address, and `net_device_port` to the default value of 8090.
|
If you do not want to automatically enumerate network devices,you can set `enumerate_net_device` to false, `net_device_ip` to the device's IP address, and `net_device_port` to the default value of 8090.
|
||||||
|
|
||||||
@@ -12,17 +14,17 @@ If you do not want to automatically enumerate network devices,you can set `enume
|
|||||||
* `net_device_ip` : Setting net device's IP address.
|
* `net_device_ip` : Setting net device's IP address.
|
||||||
* `net_device_port` : Setting net device's port.Usually, you can set it to 8090.
|
* `net_device_port` : Setting net device's port.Usually, you can set it to 8090.
|
||||||
|
|
||||||
## Single Net camera
|
### Single Net camera
|
||||||
|
|
||||||
For [femto_mega.launch.py](../../launch/femto_mega.launch.py) as an example:
|
For [femto_mega.launch.py](../../launch/femto_mega.launch.py) as an example:
|
||||||
|
|
||||||
### automatically enumerate network devices:
|
#### automatically enumerate network devices:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ros2 launch orbbec_camera femto_mega.launch.py enumerate_net_device:=true
|
ros2 launch orbbec_camera femto_mega.launch.py enumerate_net_device:=true
|
||||||
```
|
```
|
||||||
|
|
||||||
### Specify IP address to start the device:
|
#### Specify IP address to start the device:
|
||||||
|
|
||||||
Note: `net_device_ip` needs to be changed to the IP address of the device, here it is 192.168.1.10
|
Note: `net_device_ip` needs to be changed to the IP address of the device, here it is 192.168.1.10
|
||||||
|
|
||||||
@@ -30,6 +32,32 @@ Note: `net_device_ip` needs to be changed to the IP address of the device, here
|
|||||||
ros2 launch orbbec_camera femto_mega.launch.py enumerate_net_device:=false net_device_ip:=192.168.1.10 net_device_port:=8090
|
ros2 launch orbbec_camera femto_mega.launch.py enumerate_net_device:=false net_device_ip:=192.168.1.10 net_device_port:=8090
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Gemini 335Le
|
||||||
|
|
||||||
|
Network device settings: `enumerate_net_device` must be set to true, set `net_device_ip` to the IP address of the device, and set `net_device_port` to the default value of 8090.
|
||||||
|
|
||||||
|
* `enumerate_net_device` : Enable automatically enumerate network devices.
|
||||||
|
* `net_device_ip` : Setting net device's IP address.
|
||||||
|
* `net_device_port` : Setting net device's port.Usually, you can set it to 8090.
|
||||||
|
|
||||||
|
### Single Net camera
|
||||||
|
|
||||||
|
For [femto_mega.launch.py](../../launch/femto_mega.launch.py) as an example:
|
||||||
|
|
||||||
|
#### automatically enumerate network devices:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ros2 launch orbbec_camera gemini_330_series.launch.py enumerate_net_device:=true
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Specify IP address to start the device:
|
||||||
|
|
||||||
|
Note: `net_device_ip` needs to be changed to the IP address of the device, here it is 192.168.1.10
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ros2 launch orbbec_camera gemini_330_series.launch.py enumerate_net_device:=true net_device_ip:=192.168.1.10 net_device_port:=8090
|
||||||
|
```
|
||||||
|
|
||||||
## Multi Net camera
|
## Multi Net camera
|
||||||
|
|
||||||
For [multi_net_camera.launch.py](./multi_net_camera.launch.py) as an example:
|
For [multi_net_camera.launch.py](./multi_net_camera.launch.py) as an example:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ def generate_launch_description():
|
|||||||
launch_file_dir = os.path.join(package_dir, "launch")
|
launch_file_dir = os.path.join(package_dir, "launch")
|
||||||
launch1_include = IncludeLaunchDescription(
|
launch1_include = IncludeLaunchDescription(
|
||||||
PythonLaunchDescriptionSource(
|
PythonLaunchDescriptionSource(
|
||||||
os.path.join(launch_file_dir, "femto_mega.launch.py")
|
os.path.join(launch_file_dir, "femto_mega.launch.py")#If you are using Gemini 335Le, replace femto_mega.launch.py with gemini_330_series.launch.py
|
||||||
),
|
),
|
||||||
launch_arguments={
|
launch_arguments={
|
||||||
"camera_name": "camera_01",
|
"camera_name": "camera_01",
|
||||||
@@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
launch2_include = IncludeLaunchDescription(
|
launch2_include = IncludeLaunchDescription(
|
||||||
PythonLaunchDescriptionSource(
|
PythonLaunchDescriptionSource(
|
||||||
os.path.join(launch_file_dir, "femto_mega.launch.py")
|
os.path.join(launch_file_dir, "femto_mega.launch.py")#If you are using Gemini 335Le, replace femto_mega.launch.py with gemini_330_series.launch.py
|
||||||
),
|
),
|
||||||
launch_arguments={
|
launch_arguments={
|
||||||
"camera_name": "camera_02",
|
"camera_name": "camera_02",
|
||||||
|
|||||||
Reference in New Issue
Block a user