Add sim for `ada_imu`
amalnanavati opened this issue · comments
#11 currently breaks ADA MoveIt in sim, because it results in two disconnected TF trees: world->root
and root_tilt->{entire robot}
. It is missing root->robot_tile->root_tilt
, which is published by the IMU joint state publisher.
This Issue is for the following:
- Add a
sim
argument toada_imu.launch.py
and a corresponding parameter toimu_jointstate_publisher.py
. This argument should be able to take on values of eithermock
orreal
. - In
imu_jointstate_publisher.py
, ifsim!="real"
, then don't load the serial port and always assume theimu_angle
is 0 (here). - In
ada_moveit
demo.launch.py
, includeada_imu.launch.py
with thesim
argument set to the same value that is passed in to the moveit launch file.