Skip to content

Commit d400fb8

Browse files
authored
Merge pull request #58 from ISC-Project-Phoenix/pid_config
Pid config
2 parents d7bdc91 + 2a40f05 commit d400fb8

14 files changed

Lines changed: 91 additions & 459 deletions

File tree

‎phoenix_description/urdf/phoenix.urdf‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,25 @@
393393
<child link="vectornav"/>
394394
</joint>
395395

396+
<!-- Dummy link to match the GPS frame_id -->
397+
<link name="imu_link">
398+
<visual>
399+
<geometry>
400+
<box size="0.001 0.001 0.001"/>
401+
</geometry>
402+
</visual>
403+
<inertial>
404+
<mass value="0.001"/>
405+
<inertia ixx="1e-6" ixy="0" ixz="0" iyy="1e-6" iyz="0" izz="1e-6"/>
406+
</inertial>
407+
</link>
408+
409+
<joint name="imu_link_to_vectornav" type="fixed">
410+
<origin rpy="0 0 0" xyz="0 0 0"/>
411+
<parent link="vectornav"/>
412+
<child link="imu_link"/>
413+
</joint>
414+
396415
<!-- Gazebo Plugins -->
397416

398417
<gazebo>

‎phoenix_gazebo/launch/include/robot_localization/robot_localization.launch.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@
3131
from launch.launch_description_sources import PythonLaunchDescriptionSource
3232
from launch.substitutions import LaunchConfiguration
3333
from launch_ros.actions import Node
34-
<<<<<<< HEAD
3534
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
3635

37-
=======
38-
from launch.substitutions import PathJoinSubstitution
39-
>>>>>>> 81e19a3 (Fixed: PathJoinSubstitution updated teleop_ack_Rc included in gazeebo and robot)
4036

4137
def generate_launch_description():
4238
pkg_share = get_package_share_directory('phoenix_robot')

‎phoenix_robot/config/navsat_transform/navsat_transform/navsat_transform.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ navsat_transform_node:
2323
zero_altitude: false
2424

2525
# If this is true, the transform world_frame->utm transform is broadcast for use by other nodes. Defaults to false.
26-
broadcast_utm_transform: false
26+
broadcast_utm_transform: true
2727

2828
# If this is true, the utm->world_frame transform will be published instead of the world_frame->utm transform.
2929
# Note that broadcast_utm_transform still has to be enabled. Defaults to false.
30-
broadcast_utm_transform_as_parent_frame: false
30+
broadcast_utm_transform_as_parent_frame: true
3131

3232
# If this is true, all received odometry data is converted back to a lat/lon and published as a NavSatFix message as
3333
# /gps/filtered. Defaults to false.
@@ -37,7 +37,7 @@ navsat_transform_node:
3737
# /odometry/filtered topic coming from one of robot_localization's state estimation nodes). BE CAREFUL when using this!
3838
# The yaw value in your odometry source *must* be world-referenced, e.g., you cannot use your odometry source for yaw
3939
# if your yaw data is based purely on integrated velocities. Defaults to false.
40-
use_odometry_yaw: false
40+
use_odometry_yaw: true
4141

4242
# If true, will retrieve the datum from the 'datum' parameter below, if available. If no 'datum' parameter exists,
4343
# navsat_transform_node will wait until the user calls the 'datum' service with the SetDatum service message.
@@ -47,5 +47,6 @@ navsat_transform_node:
4747
# origin (datum) using this parameter. The fields in the parameter represent latitude and longitude in decimal degrees,
4848
# and heading in radians. As navsat_transform_node assumes an ENU standard, a 0 heading corresponds to east.
4949
# wait this might actually be usefully for translating over maps lol -AFB
50+
# NOTE WE
5051
datum: [55.944904, -3.186693, 0.0]
5152

‎phoenix_robot/config/navsat_transform/navsat_transform/not_Sure.yaml‎

Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/phnx_io_ros:
2+
ros__parameters:
3+
kP: 1.0
4+
kI: 1.0
5+
kD: 0.1

‎phoenix_robot/config/robot_localization/robot_localization_dual_ekf.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ ekf_filter_node_odom:
2323
# vr vp vy
2424
# ax ay az
2525

26-
imu0: /phoenix/gps/imu #
26+
imu0: /phoenix/imu
2727
imu0_config: [false, false, false,
28-
true, true, true,
28+
false, false, false,
2929
false, false, false,
3030
true, true, true,
3131
true, true, true]
@@ -66,4 +66,4 @@ ekf_filter_node_map:
6666
false, false, false,
6767
false, false, false,
6868
false, false, false]
69-
odom1_differential: false
69+
odom1_differential: false

‎phoenix_robot/config/robot_localization/robot_localization_encoder_only.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
### ekf config file ###
2+
3+
### THIS IS LAST YEARS EKF CONFIG LEAVE AS IS ###
4+
25
ekf_filter_node:
36
ros__parameters:
47
# The frequency, in Hz, at which the filter will output a position estimate. Note that the filter will not begin

0 commit comments

Comments
 (0)