# Need to remap amiga ros topic from /amiga/vel to /imu\_raw

**URL:** https://discourse.farm-ng.com/t/need-to-remap-amiga-ros-topic-from-amiga-vel-to-imu-raw/197
**Category:** development
**Created:** [May 18, 2023, 1:37am UTC](https://discourse.farm-ng.com/t/need-to-remap-amiga-ros-topic-from-amiga-vel-to-imu-raw/197 "2023-05-18T01:37:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hoshinotsuki](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/hoshinotsuki/32/53_2.png) [@hoshinotsuki](https://discourse.farm-ng.com/u/hoshinotsuki)
#### Post date: [May 18, 2023, 1:37am UTC](https://discourse.farm-ng.com/t/need-to-remap-amiga-ros-topic-from-amiga-vel-to-imu-raw/197/1 "2023-05-18T01:37:40Z")

</div>

The default amiga\_ros configuration outputs the amiga’s IMU data to the ros topic /amiga/vel. However the package I’m using subscribes to the /imu\_raw ros topic. I can’t change the subscribed topic value so I need to remap the /amiga/vel data to /imu\_raw. If anyone has any insight on how to do this, it would be much appreciated. Thanks!

---

<div class="post-metadata">

### Author: ![kylecoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kylecoble/32/12_2.png) [@kylecoble](https://discourse.farm-ng.com/u/kylecoble)
#### Post date: [May 18, 2023, 3:42pm UTC](https://discourse.farm-ng.com/t/need-to-remap-amiga-ros-topic-from-amiga-vel-to-imu-raw/197/2 "2023-05-18T15:42:57Z")

</div>

Hello @hoshinotsuki ,

You can remap topics in a launch file. This is well documented by ROS:  
[http://wiki.ros.org/roslaunch/XML/remap](http://wiki.ros.org/roslaunch/XML/remap)

**But…**  
the `/amiga/vel` topic is not publishing IMU data. It is publishing a Twist message based on wheel odometry. If you want raw IMU data you’ll need to use the [depthai-ros](https://github.com/luxonis/depthai-ros) package to interact with the cameras directly. This package is pre-installed in the latest ROS container and you can see example usage for ROS streaming of Oak camera data at:

> **[GitHub - farm-ng/amiga-ros-bridge: ROS bridge for the farm-ng Amiga platform](https://github.com/farm-ng/amiga-ros-bridge#use-depthai-ros-for-oak-camera-streaming)**
>
> ROS bridge for the farm-ng Amiga platform. Contribute to farm-ng/amiga-ros-bridge development by creating an account on GitHub.

You’ll need to read the depthai-ros documentation to see how to interact with the raw IMU data:

> **[GitHub - luxonis/depthai-ros](https://github.com/luxonis/depthai-ros)**
>
> Contribute to luxonis/depthai-ros development by creating an account on GitHub.

– Kyle

---

<div class="post-metadata">

### Author: ![kylecoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kylecoble/32/12_2.png) [@kylecoble](https://discourse.farm-ng.com/u/kylecoble)
#### Post date: [May 18, 2023, 3:43pm UTC](https://discourse.farm-ng.com/t/need-to-remap-amiga-ros-topic-from-amiga-vel-to-imu-raw/197/3 "2023-05-18T15:43:07Z")

</div>

You can check if you have the latest ROS bridge container by running `apt list --installed | grep ros-noetic-depthai-ros` after ssh’ing in as the ros user. If it responds with the package name it is installed. If it doesn’t, then you likely you have the old ROS container before this was added. You can get the new ROS container by upgrading to the latest stable release. Please schedule an upgrade with @Jerrycowell96 if needed.

– Kyle
