🚀 YARP 3.2.0 Released #355
mbrunettini
started this conversation in
Releases
Replies: 1 comment
-
Hey, thanks for the new releases! Is there an estimate when the Windows builds will be available? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
YARP 3.2.0 was released today and is now available for download at: https://github.com/robotology/yarp/releases/.
A (partial) list of bug fixed and issues resolved in this release can be found
here.
Important Changes
Dependencies
Bindings
Devices
portaudio
and theServerSoundGrabber
device drivers are deprecated.New Features
Build System
.ini
files for plugins configured withyarp_prepare_plugin
can now beautomatically generated by
yarp_add_plugin
and installed by passing theYARP_INI DESTINATION
argument toyarp_install
.CREATE_LIB_MATH
CMake option was renamedYARP_COMPILE_libYARP_math
.CREATE_GUIS
CMake option was renamedYARP_COMPILE_GUIS
.CREATE_<UPPERCASE_EXECUTABLE>
were renamedYARP_COMPILE_<lowercase-executable>
YARP_USE_<UPPERCASEPACKAGENAME>
were renamedYARP_USE_<PackageName>
YARP_USE_SYSTEM_<UPPERCASEPACKAGENAME>
were renamedYARP_USE_SYSTEM_<PackageName>
as the relative CMake module (i.e.
YARP_HAS_OpenCV
instead ofYARP_HAS_OPENCV
)yarp_idl_to_dir
signature changed, and now supports passing optionalparameters:
yarp_idl_to_dir
always regenerates files if they are not available.yarp_idl_to_dir
No longer generates build targets.yarp_idl_to_dir
are now relative to current directory.Libraries
YARP_conf
yarp/conf/options.h
header file is deprecated.YARP_OS
const char
insteadof
int
as terminating character:ConnectionReader::expectText()
ConnectionWriter::appendString()
InputStream::readLine()
YarpPluginSelector::checkPlugin()
static method.ConnectionWriter::appendString()
is deprecated in favour ofappendText()
.ConnectionWriter::appendRawString()
is deprecated in favour ofappendString()
.ConnectionReader::expectString()
.initiliizer_list
constructor inyarp::os::Property
.initiliizer_list
constructor inyarp::os::Bottle
.yarp::os::NameSpace
: All methods in the interface that takeContactStyle
as parameter, are now passed by reference instead of by value.
YARP_sig
Added
ImageUtils.h
, an header containing the following image utilities:utils::vertSplit
utils::horzSplit
utils::vertConcat
utils::horzConcat
yarp::sig::file
Added support to write .png filesAdded the following methods to
VectorOf
:Deprecated
VectorOf::getFirst()
in favour ofdata()
andbegin()
.Use either
data()
if you need the pointer to the first element, orbegin()
if you need the iterator.
Added
yarp::sig::IntrinsicParams
andyarp::sig::YarpDistortion
emum.Added two methods for computing a
yarp::sig::PointCloud
from depth images:utils::depthToPC
utils::depthRgbToPC
Deprecated
getIplImage
andwrapIplImage
in favour of the new utilities ofYARP_cv
.Added move semantics in
yarp::sig::Image
.The
yarp::sig::Sound
class was heavily refactored:Sound::audio_sample
(short int
)unsigned char *getRawData() const
size_t getRawDataSize() const
bool operator==(const Sound& alt) const
bool clearChannel(size_t channel)
Sound extractChannelAsSound(size_t channel_id) const
std::vector<std::reference_wrapper<audio_sample>> getChannel(size_t channel_id)
bool replaceChannel(size_t id, Sound channel)
std::vector<std::reference_wrapper<audio_sample>> getInterleavedAudioRawData() const
std::vector<std::reference_wrapper<audio_sample>> getNonInterleavedAudioRawData() const
std::string toString() const
double getDuration() const
YARP_dev
yarp::dev::IMap2D::clear()
method renamed toyarp::dev::IMap2D::clearAllMaps()
.yarp::dev::INavigation2D
derives fromINavigation2DControlActions
and
INavigation2DTargetActions
.yarp::dev::INavigation2DControlActions
. The following methods have beenadded:
getAllNavigationWaypoints(std::vector<yarp::dev::Map2DLocation>& waypoints)
getCurrentNavigationWaypoint(yarp::dev::Map2DLocation& curr_waypoint)
getCurrentNavigationMap(yarp::dev::NavigationMapTypeEnum map_type, yarp::dev::MapGrid2D& map)
yarp::dev::INavigation2DTargetActions
. The following method has been added:gotoTargetByRelativeLocation(double x, double y)
for backward compatibility):
yarp::dev::INavigation2DTargetActions::suspendNavigation(const double time_s = std::numeric_limits<double>::infinity())
yarp::dev::ILocalization2D
added the new two following methods:bool getLocalizationStatus(LocalizationStatusEnum& status)
bool getEstimatedPoses(std::vector<yarp::dev::Map2DLocation>& poses)
yarp::dev::ILocalization2D
added the new type:LocalizationStatusEnum
yarp::dev::IBattery::getBatteryStatus()
now uses Battery_status enum,instead of int.
yarp::dev::INavigation2D
. Added methodyarp::dev::INavigation2DControlActions::recomputeCurrentNavigationPath()
.yarp::dev::INavigation2D
. Added helper static methods:yarp::dev::INavigation2DHelpers::statusToString()
yarp::dev::INavigation2DHelpers::stringToStatus()
yarp::dev::INavigation2D
. Added method:yarp::dev::INavigation2D::getNameOfCurrentTarget()
to the interface.yarp::dev::INavigation2D
. Method:yarp::dev::INavigation2D::gotoTargetByLocationName()
now accepts area names.yarp::dev::INavigation2D
. Added classyarp::dev::Map2DArea
.yarp::dev::INavigation2D
. Added methodsgetArea()
,checkInsideArea()
andcheckNearToLocation()
.yarp::dev::INavigation2DTargetActions
. Added methodapplyVelocityCommand()
.yarp::dev::Map2DServer
. Changed locations.ini file format to supportload/save of Map2DLocation and Map2DArea.
AnalogWrapper
to open multiple ros topics forwrenchStamped
ros msg type.
const
counterpart ofyarp::dev::CanBuffer::getPointer()
.yarp::dev::IMap2D
Added methodyarp::dev::IMap2D::renameLocation()
yarp::dev::IMap2D
Added methodyarp::dev::IMap2D::renameArea()
yarp::dev::CircularAudioBuffer
andyarp::dev::AudioBufferSize
classes.
bool getPlaybackAudioBufferMaxSize(yarp::dev::AudioBufferSize& size)
bool getPlaybackAudioBufferCurrentSize(yarp::dev::AudioBufferSize& size)
bool resetPlaybackAudioBuffer()
bool getRecordingAudioBufferMaxSize(yarp::dev::AudioBufferSize& size)
bool getRecordingAudioBufferCurrentSize(yarp::dev::AudioBufferSize& size)
bool resetRecordingAudioBuffer()
bool getRecordingAudioBufferMaxSize(yarp::dev::AudioBufferSize& size)
bool getRecordingAudioBufferCurrentSize(yarp::dev::AudioBufferSize& size)
bool resetRecordingAudioBuffer()
YARP_cv
YARP_cv
, a conversion library from YARP images to cv::Mat andviceversa.
Devices
fakeBattery
navigation2DServer
localization2DServer
usbCamera
(imported from the iCub repository)fakeNavigation
fakeLocalizer
audioRecorderWrapper
portaudioRecorder
portaudioPlayer
audioPlayerWrapper
fakeSpeaker
fakeMicrophone
physFocalLength
parameter for RGBD devices (check documentation for moredetails).
BatteryWrapper
--subdevice
option.imuBosch_BNO055
MultipleAnalogSensor
interface support.Navigation2DClient
By default the port is called
<client_name>/user_commands/rpc
.fakeLaser
device.
analogServer
analogSensorClient
(#1981).calibrateSensor(const yarp::sig::Vector& value)
calls to wrapped subdevices.
ServerSoundGrabber
IAudioGrabberSound
.ServerFrameGrabber
RFModules
RFModule
s as plugin and load them runtimein a single process context.
Tools
yarprobotinterface
yarprobotinterface
will not run anymore deprecated DTD format v1.0yarpidl_thrift
yarp.api.include
andyarp.api.keyword
annotations.appendExternalBlock
(i.e.yarp::sig::Vector
)can now be safely returned by thrift methods.
disabled using the no_namespace_prefix option.
yarphear
portaudioPlayer
instead ofportaudio
device.GUIs
yarpmanager
cluster-config.xml
file.This allow to use host names that cannot be resolved automatically by the
network.
yarpview
Bug Fixes
Libraries
YARP_dev
ImplementPositionControl::checkMotionDone
now correctly returns a singlevalue as from API (#2027).
Contributors
This is a list of people that contributed to this release (generated from the
git history using
git shortlog -ens --no-merges v3.1.0..v3.2.0
):Beta Was this translation helpful? Give feedback.
All reactions