Skip to content

Commit 1212959

Browse files
author
Benjamin Délèze
authored
Merge branch 'develop' into sync-master-718dfe006
2 parents b5e63b0 + 3a3d709 commit 1212959

File tree

4 files changed

+86
-1
lines changed

4 files changed

+86
-1
lines changed

projects/robots/husarion/rosbot_xl/protos/RosbotXl.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#VRML_SIM R2023b utf8
22
# license: Apache License 2.0
33
# license url: http://www.apache.org/licenses/LICENSE-2.0
4-
# documentation url: https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/doc-add-vehicles/projects/robots/husarion/rosbot_xl/protos/RosbotXl.proto
4+
# documentation url: https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/released/projects/robots/husarion/rosbot_xl/protos/RosbotXl.proto
55
# This is a proto file for Webots for the RosbotXl
66

77
EXTERNPROTO "webots://projects/devices/slamtec/protos/RpLidarA2.proto"
905 KB
Loading
3.83 KB
Loading
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
The ROSbot XL by [Husarion](https://husarion.com/) is a universal, ROS2-native autonomous mobile robot platform dedicated to R&D, rapid prototyping and custom robot development for indoor use cases.
2+
It is equipped with a LIDAR and an IMU.
3+
4+
More information on specifications is available at the following link: [ROSbot XL - Specifications](https://husarion.com/manuals/rosbot-xl/#specification).
5+
6+
### ROSbot XL
7+
8+
%figure "ROSbot XL characteristics"
9+
10+
| Characteristics | Values |
11+
| --------------------------- | ------------ |
12+
| Length | 332 mm |
13+
| Width | 284 mm |
14+
| Height | 131 mm |
15+
| Max. forward/backward speed | 0.8 m/s |
16+
17+
%end
18+
19+
The ROSbot XL motors are [RotationalMotor](https://cyberbotics.com/doc/reference/rotationalmotor) nodes, each motor is associated with a [PositionSensor](https://cyberbotics.com/doc/reference/positionsensor).
20+
They are named the following way:
21+
22+
%figure "ROSbot XL wheel names"
23+
24+
| Wheel | Motor name | Position sensor name |
25+
| -------------------- | ---------------| ------------------------------ |
26+
| Front right wheel | fr\_wheel\_joint | front right wheel motor sensor |
27+
| Front left wheel | fl\_wheel\_joint | front left wheel motor sensor |
28+
| Rear left wheel | rl\_wheel\_joint | rear left wheel motor sensor |
29+
| Rear right wheel | rr\_wheel\_joint | rear right wheel motor sensor |
30+
31+
%end
32+
33+
The `wb_set_motor_position` and `wb_set_motor_velocity` functions allow the user to control the rotation of the wheels.
34+
`wb_position_sensor_get_value` allows the user to get the value of the position sensor.
35+
36+
The [MPU-9250](https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/develop/projects/devices/tdk/protos/Mpu-9250.proto) IMU allows the user to get acceleration, angular rate and heading values.
37+
The following table shows the names to access the different components of the IMU:
38+
39+
%figure "IMU components names"
40+
41+
| Device | Name |
42+
| ------------- | --------------------------- |
43+
| Accelerometer | imu accelerometer |
44+
| Gyroscope | imu gyro |
45+
| Compass | imu compass |
46+
47+
%end
48+
49+
The [RpLidar A2](https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/develop/projects/devices/slamtec/protos/RpLidarA2.proto) rotational lidar is fixed on the ROSbot.
50+
It is named "laser".
51+
It can be removed to place another sensor.
52+
53+
### Rosbot XL PROTO
54+
55+
Derived from [Robot](https://cyberbotics.com/doc/reference/robot).
56+
57+
```
58+
RosbotXl {
59+
SFVec3f translation 0 0 0
60+
SFRotation rotation 0 0 1 0
61+
SFString name "rosbot_xl"
62+
SFString controller "<generic>"
63+
MFString controllerArgs []
64+
SFString customData ""
65+
SFBool supervisor FALSE
66+
SFBool synchronization TRUE
67+
SFBool selfCollision FALSE
68+
MFNode lidarSlot [ RpLidarA2 { name "laser" } ]
69+
}
70+
```
71+
72+
#### Rosbot XL Field Summary
73+
74+
- `lidarSlot`: Extends the robot with a RpLidar A2 lidar.
75+
76+
### Samples
77+
78+
You will find the following sample in the folder: "[$WEBOTS\_HOME/projects/robots/husarion/rosbot\_xl/worlds]({{ url.github_tree }}/projects/robots/husarion/rosbot\_xl/worlds)".
79+
80+
#### [rosbot\_xl.wbt]({{ url.github_tree }}/projects/robots/husarion/rosbot\_xl/worlds/rosbot\_xl.wbt)
81+
82+
![rosbot\_xl.png](images/rosbot_xl/rosbot_xl.wbt.thumbnail.jpg)
83+
84+
The "[rosbot\_xl.wbt]({{ url.github_tree }}/projects/robots/husarion/rosbot\_xl/worlds/rosbot\_xl.wbt)" shows the ROSbot XL in a simple environment.
85+
The default controller is set to `<extern>` as this robot is meant to be controlled using ROS2.

0 commit comments

Comments
 (0)