-
How are you connecting to your Create 3?Wi-Fi (ROS 2) Computer(s) Model(s) and Operating System(s)No response Which version of ROS 2 is installed on your computer?None Which firmware version is installed on your robot?None Which RMW is your robot running?CycloneDDS Does your robot have an assigned namespace? If so, please share.No response Is the robot connected to a network? If so, what is the network type?No response Are there multiple Create 3 robots connected to your network?None Is multicast enabled?None What is the Adapter Board's USB/BLE Toggle currently switched to?None Describe your question.I am having an optical flow sensor which is similar to the mouse message of iRobot. I have managed to setup the connection using serial and getting the data in x,y pixel co-ordinates. Converted the incoming data to actual distance X and Yin meters. Z corodinate is fixed (sensor mount height). Now I added the X,Y and Z distance in odometry translation message field. But I feel there might be something wrong. Need some guidance how can take the data and setup the slam and Nav2 stack for my robot.? I saw the iRobot has a mouse message which seems some similar approach. It would be great if anyone could provide some insight. I know the iRobot community is well supported and might be deals with iRobot related queries. However,It would be great if anyone could provide some insight and guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Rak-r, To take that into account, you need to make sure to express the differential motion in the correct reference frame.
|
Beta Was this translation helpful? Give feedback.
Hi @Rak-r,
a common error when implementing dead-reckoning using a mouse sensor consists of not taking into account that the sensor location may not coincide with the robot center of mass.
For example, when the robot turns in place, its x/y/z location shouldn't change, but the mouse will detect movements.
To take that into account, you need to make sure to express the differential motion in the correct reference frame.
You can find some papers online detailing the necessary equations, such as: