ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to add 'clearpath_base/AckermannSetpt' msg in ROS Kinetic?

asked 2018-10-29 17:21:23 -0600

JeyP4 gravatar image

How to add 'clearpath_base/AckermannSetpt' msg in ROS Kinetic?

http://wiki.ros.org/clearpath_base

edit retag flag offensive close merge delete

Comments

Are you trying to upgrade a clearpath vehicle to ROS Kinetic? Or do you just want to use the messages in clearpath_base for your own purposes?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-30 03:06:57 -0600 )edit

Hi I want to use the messages in clearpath_base for my own purposes? Specifically 'clearpath_base/AckermannSetpt'. Because it contains timestamp, steering, throttle and braking. Exactly what I need. Thank you.

JeyP4 gravatar image JeyP4  ( 2018-10-30 05:04:18 -0600 )edit

I would suggest to take a look at ackermann_msgs.

Perhaps that can be used.

It's already a stand-alone msg package and easily installed as it's released into Indigo, Kinetic and Melodic.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-30 05:11:22 -0600 )edit

Problems with ackermann_msgs are its variable names can be misleading to someone and its data types are 'float', I prefer 'double'. Is there no way to install clearpath msg ?

JeyP4 gravatar image JeyP4  ( 2018-10-30 07:08:08 -0600 )edit

How to do what?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-30 07:11:01 -0600 )edit

Problems with ackermann_msgs are its variable names can be misleading to someone and its data types are 'float', I prefer 'double'. Is there no way to install clearpath msg ?

JeyP4 gravatar image JeyP4  ( 2018-10-30 07:19:28 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-30 13:57:52 -0600

gvdhoorn gravatar image

updated 2018-10-30 14:04:41 -0600

I would suggest using ackermann_msgs as:

  1. it's a message that is used by many other nodes and controllers
  2. clearpath_msgs is old, unused and unmaintained

If you must use clearpath_msgs, you can find it here.

You'll have to git clone .. it to your Catkin workspace, make sure to have all dependencies installed (see #q252478 for the general procedure) and then build the workspace.

Problems with ackermann_msgs are its variable names can be misleading to someone

This I don't understand.

and its data types are 'float', I prefer 'double'.

It's up to you, but for values this small I would be surprised it really makes a difference.

edit flag offensive delete link more

Comments

Thanks..it worked :)

JeyP4 gravatar image JeyP4  ( 2018-10-31 09:19:50 -0600 )edit

Question Tools

Stats

Asked: 2018-10-29 17:21:23 -0600

Seen: 103 times

Last updated: Oct 30 '18