text:
The Consumer Society by Neva R. Goodwin | 9781559634854 | Hardcover | Barnes & Noble
The Consumer Society provides brief summaries of the most important and influential writings on the economic, environmental, ethical, and social implications of a consumer society and consumer lifestyles. It is an essential guide to the field and will interest anyone concerned with the deeper implications of consumerism. It is the second volume in the Frontier Issues…
The Consumer Society provides brief summaries of the most important and influential writings on the economic, environmental, ethical, and social implications of a consumer society and consumer lifestyles. It is an essential guide to the field and will interest anyone concerned with the deeper implications of consumerism. It is the second volume in the Frontier Issues in Economic Thought series, which provides surveys of the most significant writings in emergent areas of economics.
The Consumer Society By Neva R. Goodwin, Frank Ackerman, David Kiron ISLAND PRESS Copyright © 1997 Island Press All rights reserved. ISBN: 978-1-59726-790-8 CHAPTER 1PART IScope and DefinitionOverview Essayby Neva R. GoodwinThe scope of this volume must depend, in part, on how we define the subject with which we are grappling. What is a Consumer Society? Let us start with a smaller part of that question: What is consumption?Economic and Other Views on ConsumptionIn the Introduction to this volume we said that we would restrict our exploration to the economic concept of "final" consumption, most often associated with households (as distinct from, for example, the consumption or use of materials by firms or by governments). This accords with most economic theory and modeling, which is concerned with the consumption of goods and services that have been purchased from a "producer" and are then in some way used by the "consumer." In the conventional view, consumption in economics is a simple, individual, readily quantified process of satisfying well-defined needs. This part will consider some alternative views that have recently gained prominence, diverging from mainstream economic theory in two directions.The "sociological view" (held by others as well as sociologists) emphasizes the social and symbolic meanings of consumption. The "environmentalist view" emphasizes the material implications of consumption, in light of potential ecological limits to growth.One starting point for the sociological view has come from economics. Kelvin Lancaster pointed out that what we seek when we set out to make a purchase is not a good itself, but rather its characteristics. Along similar lines, Harry Johnson has noted that what we actually consume may or may not be the good, but will, in any case, be the "service" that the good can provide. For example, when we buy a hat we are seeking the characteristics of style, warmth, rain or sun protection, and so on. We won't actually consume the hat, but will consume the services contributed by its characteristics (the feelings we receive from wearing a stylish hat, the protection and warmth it provides, and so forth). The hat can continue to provide some of these services as long as it holds together; others may be used up more quickly. For example, if "newness" is an important characteristic, that will soon wear off.Some recent writers have extended the Lancaster/Johnson approach, moving even farther away from the actual thing (or service) that is purchased and used by the consumer. Daniel Miller and Alan Warde are two writers who especially focus on the postpurchase activities in which the consumer distances herself from the impersonality of the market transaction, actively incorporating the thing into a world of her own creation.This contrasts with the approach of the environmentalists, who emphasize the material starting point of the whole economic process. Most consumption activities can be traced back to some extraction and use of natural resources—the environmentalists' special concern. This is expressed by Herman Daly, a leading ecological economist, when he states that "consumption is the disarrangement of matter, the using up of value added that inevitably occurs when we use goods. Consumption is the transformation of natural capital into manmade capital and ultimately to waste."Essential Characteristics of a Consumer SocietyNow we are ready to attempt a broader definition of the consumer society. One of the motives for the recent focus on this topic comes from the environmentalists' concern with the physical entropy that arises in all stages of the economic process, from extraction through production, distribution, use, and disposal, with entropy usually increased at each of these stages. Nevertheless, the environmentalists' concern for what happens to material resources is not the central feature of the prevailing definitions of the consumer society. Two quotations will give the general flavor:A consumer society is one in which the possession and use of an increasing number and variety of goods and services is the principal cultural aspiration and the surest perceived route to personal happiness, social status, and national success.A consumerist society makes the development of new consumer goods and the desire for them into a central dynamic of its socioeconomic life. An individual's self-respect and social esteem are strongly tied to his level of consumption relative to others in the society.An apparently necessary, though not sufficient, characteristic of a consumer society is that "people obtain goods and services for consumption through exchange rather than self-production." The things whose consumption characterizes a consumer society are not those that are needed for subsistence, but are "valued for non-utilitarian reasons, such as status seeking, envy provocation, and novelty seeking."One of the most common themes is that a consumer society relates individual identity to consumption, so that our judgments of ourselves and of other people relate to the "lifestyle" that is created by consumption activities. Thus Raymond Benton, Jr. defines "consumerism" as "the acceptance of consumption as the way to self-development, self-realization, and self-fulfillment," and Anderson and Wadkins contrast consumption-oriented societies with production-oriented ones, noting that, in the former, "[a]n individual's identity is tied to what one consumes rather than in a production culture where an individual's identity is more tied to what one produces."Throughout these definitions we may see that the characteristics of a consumer society include issues to do with:a. Commodity characteristics and the symbols associated with them.b. The interlinked behaviors of producers (who, through advertising, etc., attempt to increase their sales) and of consumers (whose behavior is often seen as manipulated by producers).c. Attitudes toward commodities and toward commodity-oriented behavior.All of these issues are engaged, for example, in the attention that has been paid to mass production. The characteristics of mass-produced items (the fact that they arrive on the market in large numbers, all alike, and are produced at a relatively low marginal cost) make it possible—and necessary—for producers to induce most members of a society (not just the elite) to become habituated to consuming purchased items, and to purchasing more than they need for bare subsistence. The behavior of producers and consumers are to some degree shaped by this necessity. Cultural attitudes have been called into play—some may, indeed, have been called into being—to support the behavior that is a necessary basis for a socioeconomic system much of whose activity is oriented to the production and sale of mass-produced commodities.If Consumption Is the Means, What Is the End?The preceding paragraph laid out one picture of the consumer society, presenting a complex relationship—with some hints as to the directions of causality—among commodity characteristics, cultural attitudes, and socioeconomic behaviors. Is this an accurate picture of our society? Is it more accurate than other, different pictures? Many of the writers represented in this book grapple with the questions of what is an accurate description of our society, and of the roles played in our society by consuming behavior and by attitudes toward consumption. These authors offer a variety of different descriptions, even though by no means all views will be directly represented. We will find that the attempt to describe our world as it is will be complicated by the strong normative (value-related) views of the authors. These views are necessarily interrelated with debates over positive (objective, fact-based) analysis. For example, the issue of whether greater consumption brings greater happiness involves both the interpretation of survey results (positive analysis) and also perceptions about social and environmental norms and values.Durning's article—the first one summarized in this section—makes a critically important point with respect to this issue when he says:In the end, the ability of the earth to support billions of human beings depends on whether we continue to equate consumption with fulfillment. (Durning, 157)The implication here—one that deserves to be spelled out explicitly—is that human beings have some choice in how we define success (or happiness, or well-being, or whatever word we use for our goals). That definition depends partly, to be sure, on our biological needs, but it also contains a large cultural component—a component that probably becomes relatively more dominant as the wealth of societies expands beyond what is needed for the simple maintenance of life.It is increasingly recognized that even what we think of as basic, essential needs are human constructs; culture is even more so. No individual can, alone, create a culture, but each of us participates in its ongoing construction. The statement quoted from Durning suggests that, as we continue this process, if we are wise we will accept guidance from the realities presented to us by ecologists, replacing a shortsighted, throw-away culture that is severely damaging to our environment with "a culture of permanence."Durning speaks of the "correlation between ability to consume and happiness." From the perspective just described, this is not a given. Our sense of well-being depends in an important way on our definition of well-being. That definition is a variable which we might choose to try to affect if we are persuaded that it is necessary to do so in order to preserve something of value. Are the "facts" about the impact of consumption on the natural world, as described by environmentalists, more scientific, less subjective, than the way we ourselves are affected by our consumerist lifestyle? We are seeing the early stage of the development of a strong body of research about, for example, the likelihood of global warming, the health effects of agricultural chemicals, even perhaps the human psychological dependence on certain aspects of nature. All of these issues continue to be hotly debated, and human values, wishes, and practical interests play a large role on each side of the debate.The second summary in this section is of an article by David Crocker, which takes the value issues head-on. He raises the questions:To what extent, if any, is our current consumption good for us? Bad for us? Would some other level or kind of consumption be better? What evaluative criteria should we employ to assess the impact on our lives of our present consumption and to evaluate alternatives? (Crocker, 3)Crocker identifies the important theme of means and ends that is carried through a number of other papers summarized here, especially those by Marshall Sahlins and William Leiss. Sahlins says that "Scarcity is not an intrinsic property of technical means. It is a relationship between means and ends." (Sahlins, 4–5) In other words, your goals can be so defined that what you have is enough; or they may be differently defined, "causing" scarcity.The idea that scarcity is not given to us as a fixed fact, but depends on the level of our wants, is not new to much of Eastern philosophy. It is, however, diametrically opposed to two basic premises of modern neoclassical economics, which assumes that (1) wants are exogenous to the economic system (they are not influenced within it), and (2) wants are insatiable.Many commentators in this century have accepted the second assumption at the expense of the first, as the evolution of economic logic made it necessary to choose between the two. (For example, the appearance of insatiability is in effect derived from the fact that new wants arise in response to evolving economic possibilities; thus wants must be seen as endogenous to the system.) This theoretic choice was partly the result of an image of human nature that emphasizes the driving forces of emulation and envy, along the lines laid out by Thorstein Veblen in The Theory of the Leisure Class (published in 1899). A related tendency of human nature that is described, in various forms, by many different writers, is that whatever we get seems less appealing than it was before we got it. Colin Campbell (in a book partially summarized in Part VII) emphasizes the creative role of the imagination, which can daydream a better world than any we are likely to encounter. Other authors find other reasons to anticipate, as Leiss does, that "no matter how wealthy and productive our society might become, we would always require higher levels of production and greater quantities of goods." (Leiss, 24) A result, as Crocker concludes, is that "American consumerism seems more productive of dissatisfaction than contentment." (Crocker, 24)These observations about inherent tendencies in human nature and the resulting state of dissatisfaction have been offered as statements of fact. It would be nice if we could turn to the discipline of psychology for clear and undisputed evaluations of their truth. Unfortunately, none of these issues have been comfortably settled.The Roads to HappinessEmulation and the tendency to want more than we possess have been observed at least since Aristotle's time. This century's communist regimes conducted some grand (largely unsuccessful) social experiments in controlling wants or in redirecting emulation to nonmaterial goals. There is still little agreement on the extent to which these characteristics are inevitable, how large a role they play, or what cultural controls might be effective in reducing their impact.There have been many studies on the issues of how happy people are and what makes them happy. As this is a topic which will have a prominent place in the next Frontiers volume (Human Well-Being and Economic Goals), we have not gone into it in depth here, only summarizing the single article that seemed to best represent the state of knowledge as it applies, particularly, to the consumer society. Richard Easterlin's 1974 article, "Does Economic Growth Improve the Human Lot? Some Empirical Evidence" has been widely cited, discussed, and argued over for two decades. His recent article, "Will Raising the Incomes of All Increase the Happiness of All?," summarized in this part, brings the debate up to the present.Recognition of the imponderable effects of cultural differences, along with attention to methodological and other criticisms, have caused Easterlin to reduce the importance he had earlier placed on international comparisons. At least on a within-country basis, however, his essential conclusion remains: Happiness is relative; a person's sense of well-being depends less on the objective reality of material affluence than on how his or her position compares to the reference group. At any point in time, wealthier people as a group are much happier than poorer members of the same society. However, careful research over a period of decades in many developed countries has shown that even substantial economic growth and increases in average incomes lead to no increase in average happiness for society as a whole.The authors summarized in the rest of this volume, whether or not they address these questions openly, almost all seem to make some assumptions about their answers. Most of these writers accept some version of the Easterlin conclusion—namely, that the part of happiness which depends on material well-being is a function of how one interprets one's achievements; and that, in turn, is determined by the expectations raised by the material achievements of one's reference group. Only a few of the writers represented in this book accept the hypothesis that there is some absolute dependence of well-being upon material success. That is, however, the dominant assumption in neoclassical economics writings.There is, thus, a division between economics, on the one hand, with its implicit assumption that maximizing well-being and maximizing material wealth are the same thing, and, on the other hand, the findings of researchers in the Easterlin tradition, who find that this correlation is weak or even nonexistent when it is measured over time. Within a consumer society the economic view has a strong consonance with popular beliefs. (Continues...) Excerpted from The Consumer Society by Neva R. Goodwin, Frank Ackerman, David Kiron. Copyright © 1997 Island Press. Excerpted by permission of ISLAND PRESS. All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site. Read More

value: This website is an American bookseller. It is a Fortune 1000 company and the bookseller with the largest number of retail outlets in the United States.


text:
The Kansas City Chiefs had no answers for New England Patriots Quarterback Tom Brady on Saturday as he guided his team to a 27-20 victory. - Kansas City - Scout
Share & Embed The Kansas City Chiefs had no answers for New England Patriots Quarterback Tom Brady on Saturday as he guided his team to a 27-20 victory. Nick Athan01/16/2016The Kansas City Chiefs failed in their mission to win their 12th straight game. In the end, Head Coach Andy Reid can only blame himself for poor play calling, bad clock management and a conservative defensive approach that helped the New England Patriots defeat the Chiefs 27-20 in the AFC Divisional round. Share on Facebook Share on TwitterTrending on ScoutAir Force Tests Bolt-On Aircraft Laser WeaponThe 6 Largest Guns Ever Used in CombatMemorial Day: Is US Fighting 100 Year War?Air Force to Build New A-10-Attack AircraftA-10 Pilot Intv: Attacking in "Flying Tank"WarpaintIllustrated.com Top Stories2017 Fantasy Football PrimerAre you ready for the 2017 Fantasy Football season? It can't come soon enough, right? This page is a hub where we both want to look forward towards 2017 but also look back at 2016.by SCOUT Fantasy StaffScout FantasyWednesday at 1:26 PMLISTEN: Which AFC West Teams Improved?Carl Dumler and Nick Kendell share some immediate thoughts on the Denver Broncos draft haul, before going around the AFC West to see how the competition shaped up. Which Divisional…by Carl DumlerMile High Huddle05/05/2017Grading The AFC West's 2017 Draft ClassesSenior Draft Analyst Erick Trickel examines the draft classes and undrafted free agent classes of Denver's Divisional rivals. Which AFC West teams came out on top?by Erick TrickelMile High Huddle05/03/2017With Charles, Denver's Offense Will ExplodeThe Broncos not only added explosive players in the Draft, they also signed one of the most prolific rushers in NFL history. Jamaal Charles, if healthy, will help spark Denver's…by Chad JensenMile High Huddle05/02/2017LISTEN: Gut Reaction — Jamaal Charles' ImpactChad Jensen and Nick Kendell break down the Denver Broncos signing four-time Pro Bowl running back, and Kansas City Chiefs all-time leading rusher, Jamaal Charles. What does the…by Chad JensenMile High Huddle05/02/2017Broncos Agree To Terms With RB Jamaal CharlesThe Broncos just added a very familiar foe to their backfield.by Will KeysMile High Huddle05/02/2017Leon McQuay III is 500th Trojan draftedVersatile safety Leon McQuay III becomes 500th Trojan drafted, selected by the Chiefs with the final pick of the sixth round of the 2017 NFL Draft.by Shotgun SpratlingUSCFootball.com04/29/2017Alabama AD Greg Byrne Speaks at L’Arche EventThe DEX Imaging/Reese’s Senior Bowl 23rd Annual L’Arche Football Preview was enjoyed by all on Thursday evening in Mobile. University of Alabama Director of Athletics, Greg Byrne,…by A.P. SteadhamBamaMagThursday at 11:18 PMCowboys STARCast: Inside The Start Of OTAsDallas Cowboys STARCast: Inside The Start Of OTAs ... Irving, Jaylon, QBs and More ...by Jamie HortonCowboysHQWednesday at 5:43 AMCowboys David Irving Fails Drug TestPromising Dallas Cowboys Defensive Lineman David Irving Fails Drug Test, Will Appeal, Reports Fishby Matt GalatzanCowboysHQTuesday at 8:21 AM90-man roster analysis: Centers, guardsThe Arizona Cardinals bring back starters Mike Iupati and A.Q. Shipley, but the team is searching for a replacement for starting right guard Evan Mathis, who retired this offseason…by Kerry CrowleyCardinalsSourceMonday at 7:22 AMBroncos On The Brink: Jordan TaylorChad Jensen is spotlighting young Broncos on the brink. But are they players on the brink of stardom or obscurity? Today, we focus on wideout Jordan Taylor.by Chad JensenMile High Huddle05/21/2017Load More

type: global

value: This website is an integrated sports publishing company that produces Internet content covering hundreds of professional and college teams across America. The company was founded in 2001 and was acquired by Fox Sports in 2005.


text:
c - Pointer arithmetic when void has unknown size - Stack Overflow
Pointer arithmetic when void has unknown size [closed]
2 In Visual Studio C++ version 9 (and probably other versions too), the following code:
int a = sizeof(void);
void const *b = static_cast<void const *>("hello world");
b += 6;
Generates these errors:
error C2070: 'void': illegal sizeof operand
error C2036: 'const void *' : unknown size
This code works under GCC, which treats sizeof(void) as 1.
Is there some way around this limitation, as casting explicitly to char * for purposes of pointer arithmetic adds to the confusion (void * is well recognised and used as a typeless pointer to raw memory).
Update0
Please note, I'm well aware of the
existence of the standard.
I want to do raw pointer
I take sizeof(void) to
show that I'm well aware the fact
that it isn't 1 is the
cause of the problem.
example is simply to demonstrate what
is required to generate the errors.
I know this isn't a "normal" way to use void, but this is C, and these things happen.
Yes, people need to do this at low-level. I'm not after why, I'm after how. If you want to know why, take a look at some kernel source, or your friendly glibc.
It seems this question has generated a great deal of confusion. The question is not about why having sizeof(void) == 1 is not standard, but what to do when it isn't.
In the instance that single-byte pointer arithmetic is to be done, it turns out that casting to char * is the correct answer, not because *(void *) has no size, but because the standard actually guarantees that *(char *) is always 1. Therefore the use of char * is always correct, and congruent with void * with the GCC extension for the purposes of raw pointer arithmetic.
To further reinforce the point, void * is the correct choice for pointers to typeless memory, and char * is the correct type to cast to for raw pointer arithmetic.
c visual-studio gcc void-pointers pointer-arithmetic share|improve this question edited Apr 27 '11 at 12:01
asked Dec 8 '09 at 3:18
29.5k19140285
closed as not constructive by Matt Joiner, casperOne♦ Feb 20 '12 at 20:43
It's not a limitation. You shouldn't be doing anything with a void * pointer other than casting it to another pointer type.
Dec 8 '09 at 3:22
Strictly, the MSVC compiler is right and GCC is wrong - sizeof(void) is a nonsense expression that should be a compilation error. According to the C standard, it is (emphatically) not 1.
Dec 8 '09 at 3:41
Don't come to us asking a question, then state your understanding of the situation is greater than ours. Doing any arithmetic with a raw void is meaningless, and any practice with it is bad practice.
Dec 8 '09 at 4:12
Kernel source/glibc is practically written in assembler. You can do whatever you want to at that level because you know what you're doing. In C, it's assumed you want a little bit of type-safety. If you want to use a void * pointer, you cast it to something else first. End of story.
Dec 8 '09 at 4:15
"Yes, people need to do this at low-level". No, they don't need to do it. GCC provides it as a convenience, to save the programmer some typing. You could #define advance(ARG1, ARG2) ((ARG1) = (void*)((ARG2) + (char*)(ARG1))), then advance(b,6);. You'd probably want a plus macro as well, to replace b + 6.
Incrementing a pointer is technically supposed to increment it by whatever size of thing that its pointing at. Void points at nothing, so the size is unknown.
Its a nicety for some compilers to let you increment void pointers. Casting is annoying, because you have to either cast it to another pointer, and then back, or do something awkward like (*(char *)&voidptr) += 6 Personally, I'd just declare it as a char * for purposes of arithmetic
share|improve this answer edited Dec 8 '09 at 3:36
54.3k12126175
answered Dec 8 '09 at 3:24
3,04732028
Maybe you wanted (*(char **)&voidptr) += 6? I don't believe the code snippet currently there does quite what you imply it does.
– Managu
Dec 8 '09 at 3:59
Managu is right. Yet, this would be an act or raw reinterpretation of void * pointer as a char * pointer. Reinterpretation is always a bad idea. Better use a conversion as in voidptr = (char *) voidptr + 6.
Dec 8 '09 at 4:56
I've been implementing a linked list using void pointers. When the list is created it is passed a size_t data_size so it can perform copying operations etc. Now I've come to the problem of creating a list-to-array conversion routine. The intuitive (for me) thing to do was to add data_size to the void pointer to move it to the next item in the array... Never mind. I've upvoted this question because it has proven useful.
– James Morris
Mar 12 '10 at 1:30
In C language sizeof cannot be applied to incomplete types. void is an incomplete type, which is why you can't use it as operand of sizeof. Pointer arithmetic of void * pointers is also not supported in C. In order to be used with pointer arithmetic the pointer has to point to object type, which void is not.
GCC allows both as a weird language extension.
share|improve this answer answered Dec 8 '09 at 3:27
143k15189395
Strangely enough it is not considered an error in paranoid mode unless either -Werror or -pedantic-errors is specified. I just came across exactly the same conclusion when I took a look at the Standard.
Dec 8 '09 at 3:40
void * is meant to imply "pointer to unknown" Adding 6 to a void pointer is therefore undefined, because you're asking the compiler to advance the pointer by "the size of 6 unknown objects".
You should not be doing it.
share|improve this answer answered Dec 8 '09 at 3:32
25.1k33982
For purely pointing at raw data and incrementing that pointer by the number of bytes a chunk of data occupies, I always use char *. I then recast the pointer to a relevant data structure pointer once I need to treat it as something specific. Incrementing a void * isn't portable among compilers.
share|improve this answer answered Dec 8 '09 at 4:29
10.9k53353
I can see the error on the first line at least - you have sizeof(void) and it should be sizeof(void*), no?
share|improve this answer answered Dec 8 '09 at 3:22
3,91762655
No. I do mean void.
Dec 8 '09 at 4:01
sizeof void is meaningless. Change your approach.
Dec 8 '09 at 4:19
There are two different questions here. The first is for void, and the second for void*. They are different types, and have little in common beside the name.
void is used mainly for function declarations/definitions (as the return type or to mean "takes no arguments"). You can't ever possibly have an object of type void. Ever. So it's hard to see a need to find out the size of that nonexistent object. GCC's behavior is nonstandard, and an intentional extension. However, I believe they chose sizeof(void) == 1 because the C++ standard requires every object to take at least one byte of space.
void* means "pointer to real data, but without the relevant type information." It is entirely possible to have void*; and you will run into them, a lot. However, because the type information is ignored you can't manipulate the pointer much. This is by design, because if you don't know what you have you really don't know what you can do with it.
But if you want to treat the memory as a collection of bytes then char* does that. A char is one byte, everywhere. A string of bytes is a char*. If you find this weird, use byte* (where you define byte as something like unsigned char).
share|improve this answer edited Dec 9 '09 at 8:35
answered Dec 8 '09 at 9:09
12k1849
No, GCC giving an answer of 1 is an implementation detail. void is an incomplete type, and as such it should not be possible to take the size of it. GCC is in error, here.
Dec 8 '09 at 9:16
Maybe I should have been clearer. GCC's behavior is an intentional extension ( gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Pointer-Arith.html ), and I believe they picked a size of 1 because the C++ standard requires any object to take up at least one byte.
Dec 9 '09 at 8:33
Edited response.
Dec 9 '09 at 8:35
void * is well recognised and used as a typeless pointer to raw memory.
Correct. Not having a type means not having a size either.
share|improve this answer answered Dec 9 '09 at 8:47
19.1k43991
now what about the actual question?
Mar 12 '10 at 9:23
What about it? You apparently finally accepted that sizeof( void ) is nonsense because void does not have a size, about the same time you posted the above comment.
Mar 12 '10 at 21:52
It would appear the correct answer is to use char * for pointer arithmetic, because sizeof(char) is always defined to be 1, and to be of the finest addressable granularity on any platform.
So in short, there is no way around the limitation, char * is in fact the proper way to do it.
Matthias Wandel had the right answer but with a different justification.
share|improve this answer answered Dec 8 '09 at 7:05
Your question was not about what would be the correct type for pointer arithmetic. Your question was about why MSVC spat an error for sizeof( void ) and if there is "any way around this limitation" (which there is not, as Matthias and others pointed out correctly). Including some strong words towards people trying to be helpful. Be a man and accept another's answer instead of complaining how the correct answer didn't fit your broken question...
Dec 9 '09 at 16:10
...and a week later, there's your "accepted" answer rated -2, while the answer you claim has not the correct "justification" is rated 11...
Dec 14 '09 at 9:25
i'm not changing it. i know what i meant, and i knew the answer when i saw it. "is there a way around this limitation?": "no, and here's why". if someone makes a more accurate answer, i'll be happy to change. Matthias' answer is quite correct, but not what i was after.
Dec 14 '09 at 15:21
There is no limitation.
Dec 15 '09 at 12:26
add a comment | Not the answer you're looking for?	Browse other questions tagged c visual-studio gcc void-pointers pointer-arithmetic or ask your own question.	asked
4785 times
C++ how to fix void* arithmethic in old code
void * arithmetic
Void Pointer Arithmetic
Byte precision pointer arithmetic in C when sizeof(char) != 1
What systems out there use non-uniform pointer representation?
Pointers to void pointers in C - can I use void** for rudimentary polymorphism?
void * assignment problem
Using void pointer to an array
How void pointer arithmetic is happening in GCC
C void pointer arithmetic
Why does incrementing a void pointer by 1 moves one byte ahead but it's 4 bytes for an integer pointer,8 for double?
Pointer arithmetic on raw data
Dynamic array with void pointer
Conversion between function pointers with void and non-void pointer parameters
How much has the wealthy elite been harmed by the Bolshevik revolution?
magento session messages printing
Which array/list should i use?
Classroom Seating Chart in TikZ?

value: This website is a question and answer website for professional and enthusiast programmers. It is the flagship site of the Stack Exchange Network, created in 2008 by Jeff Atwood and Joel Spolsky.


text:
Re: [Playerstage-users] [Player] Crosscompilation problem
From: Paul Osmialowski <newchief@ki...> - 2009-03-24 23:16:26
As far as I know, configure scripts don't look for libltdl using
pkg-config infrastructutre, rather they assume libltdl.a is available in
system lib directories. Try to set LDFLAGS and LIBS shell variables to
-L/path/to/your/crosscompiled/libraries before running any configure
For my foxboards I have foxcross script which looks like that:
PATH=/usr/local/cris/cris-axis-linux-gnu/bin:/mnt/flash/usr/bin:$PATH \
CFLAGS="-fPIC -isystem /usr/local/cris/etrax/sys-include
-I/mnt/flash/usr/include" \
CXXFLAGS="-fPIC -isystem /usr/local/cris/etrax/sys-include
LIBS="-L/mnt/flash/usr/lib -lltdl" \
LDFLAGS="-L/mnt/flash/usr/lib -lltdl" \
PKG_CONFIG_PATH=/mnt/flash/lib/pkgconfig \
On Tue, 24 Mar 2009, Damiano Vittor wrote:
> Hi thanks for you help.
> When I compile libtools no .pc files are creater, I've created a new one
> manually and added to PKG_CONFIG_PATH the right path.. "pkg-config
> --cflags libtool" etc returns me now the right values for includes.
> Sadly the problem remains.
> Some other clues?
> Paul Osmialowski ha scritto:
>> On Mon, 23 Mar 2009, Brian Gerkey wrote:
>>> On Mar 23, 2009, at 8:12 AM, Damiano Vittor wrote:
>>> Note that pkg-config is not cross-compilation-aware.  It will happily
>>> find packages on the build system that are out outside of the host
>>> system's toolchain.  I've found that it's best to avoid the use of pkg-
>>> config when cross-compiling.  Alternatively, you could build your own
>>> pkg-config for your toolchain, and adjust your PATH so that the new
>>> pkg-config gets picked up.
>>> 	brian.
>> This can be easily fixed by setting PKG_CONFIG_PATH shell variable, .pc
>> files for libraries are taken first from location pointed that way, then
>> if not found already, pkg-config looks for them in /usr/lib/pkgconfig
[Playerstage-users] Sick PLS woes with 2.1.2
From: Nick Hawes <n.a.hawes@cs...> - 2009-03-24 20:29:45
I'm trying to use a Sick PLS 101-312 scanner under Player 2.1.2
(compiled from source) on CentOS 5 but having problems. The PC is built
into an iRobot B21r (as described here:
http://www.cs.bham.ac.uk/~sjt/B21r/) and the connection is made via an
old RocketPort serial card (so no high speed serial here).
In 2.1.2 (and at some point before) the old 1.6.5 sickpls driver was
"merged" with the sicklms200 driver, but it's not clear that this code
was ever properly tested on a PLS. I can run the 1.6.5 server and the
sickpls driver and connect to my PLS with few problems, connecting at
9600 or 38400 and then changing the transfer speed to 38400. However
with 2.1.2 and the sicklms200 driver I just get a raft of failures,
often timeouts marked as (1) when trying to talk to or read from the
laser during setup. To try to work around this I edited sicklms200.cc to
increase the timeouts, but this just resulted in long waits before the
same failures. This made me think that the underlying connection code is
not quite right. After some poking around comparing the lms to the pls
driver there are definitely some places where things are done
differently. For example, the lms code doesn't seem to set parity bits
for the connection, and uses different arguments when flushing the
serial connection (I'm not an expert on this, so I can't diagnose from
this). Also there are some higher level problems too, including the lms
driver trying to configure the pls when it does not allow configuration
(e.g. range_res) and then failing completely when this is not possible.
With some (in)judicious pasting from the old pls driver I managed to
make the sicklms200 driver work with the pls in 2.1.2. The edits I
needed can be found in:
http://www.cs.bham.ac.uk/~nah/sicklms200.cc
(warning: our webserver is experiencing problems at the moment)
This is not offered as a patch as I don't have an lms to verify it on
and because there are still some issues. For example, I can't connect at
38400 or transfer at that speed when just using player 2.1.2. However,
if I connect using the pls driver in 1.6.5 and set the transfer rate to
38400 I can then restart in 2.1.2 and connect and transfer at this rate
(and no other).
I guess the real point of this mail is to ask: how do I get help on
this? I'm not experienced enough on the serial comms front, or with Sick
hardware, to really do much more than testing and debugging, but would
really like to get either the merged driver working properly for both
scanners, or to get the older pure pls driver reinstated.
ps. If anyone is trying to run a Sick scanner via an interface that
doesn't support the high speed serial protocols, then I can strongly
recommend configuring player with the --disable-highspeedsick option.
Without this I just got odd error messages as it failed ungracefully,
even when turned off in the cfg files (but I didn't save the error
messages, sorry!).
Lecturer in Intelligent Robotics
http://www.cs.bham.ac.uk/~nah || +44 121 414 3739 || skype: nickhawes
[Playerstage-users] P2OS in 2.1.2
From: Toby Collett <toby.collett@in...> - 2009-03-24 19:58:10
There have recently been a few people reporting issues with the p2os driver
in the 2.1.2 release. This has been tracked down to the fact that previous
releases were not checking packet checksums and there were some type casting
issues in the checksum code.
I would appreciate some testing by those with access to pioneers of the
current svn 2-1 branch. The pioneer driver is quite widely used so if I get
positive feedback about the fix I will get a bug fix release of player 2.1
out shortly.
Re: [Playerstage-users] SLAM within the Player/Stage project
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:50:27
If you would like this driver included in player please upload it as a patch
to the source forge issue tracker.
2009/3/23 Markus Eich <markus.eich@...>
>  Hi Tsardoulias,
> I ported the DP-SLAM algorithm from openslam.org to the player interface a
> while ago. You just have to access the laser and the position 2D interface.
> I attached the relevant files in a zip archive. Just replace the files in
> the DP-SLAM folder from the openslam.org side and it should work
> Tsardoulias Manos schrieb:
> I have implemented FastSLAM in Player/Stage using occupancy grid maps.
> For the visualization of the map I use opencv (which exists in the
> debian-ubuntu repos). Opencv allows you to raise an image and change it
> real time from your code. So I think this is what you need (for the
> visualization part!)
> Ernest G. Ngaruiya wrote:
> I am working on a robotics project and the mapping/localization/navigation
> part is just a small part of the project. I need to get it done as soon as
> possible to be able to complete my project in time.
> What I need to do is this:
> * Autonomously explore and build an online map
> * Navigate to given positions on the map
> I'm using a short-range laser rangefinder as my range sensor.
> I haven't found any plug and play grid-based SLAM implementations for
> player stage, so I want to port the gmapping SLAM implementation from openslam.org: http://www.openslam.org/gmapping.html
> I just need to get the map data in some data structure and then I can pass
> it to my visualizer which will display the map in realtime.
> If I can get that working quickly enough, I'd like to get localization,
> navigation and planning using the player/stage drivers amcl, vfh, nd and
> wavefront planner. I don't know how to use any of these yet but hopefully
> it won't be a problem learning how to use them.
> To cut the long story short, has anyone here implemented grid-based SLAM
> (or any other kind of SLAM) that's working on the Player/Stage platform?
> >From what I've learned, pmap which is available on Player isn't the best
> and I honestly cannot find good documentation for it.
> Any pointers/links/documents/source code that could be helpful to me in
> this area will be **really** appreciated. Especially if someone has done
> online SLAM using gmapping, that would very great.
> Playerstage-users mailing listPlayerstage-users@...nethttps://lists.sourceforge.net/lists/listinfo/playerstage-users
>      ------------------------------------------------------------------------------
Re: [Playerstage-users] Problem with OpaqueProxy--terminate called after throwing an instance of 'PlayerCc::PlayerError'
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:48:06
You need to make sure you read (and get data from read using the fresh flag)
before you call getData.
2009/3/20 Rebble <hyy19880511@...>
> Yes,I have added the line" op1Data.data = new uint8_t[3];" before assigning
> value to op1Data.data[], but the error still occurs as before. Could anyone
> knows how to solve the problem??I am really impatient. Please give me a
>                                       Rebble
> You have to allocate space dynamically for the data array, before doing:
> op1Data.data[0]='a';
> op1Data.data[1]='b';
> op1Data.data[2]='c';
> op1Data.data = new uint8_t[3];
> João Duro
> Howard Street
> S1 1WB
> Tel:   0114 225 3195
> Fax:  0114 225 3433
> E-mail: J.Duro@...
> http://www.nabble.com/Problem-with-OpaqueProxy--terminate-called-after-throwing-an-instance-of-%27PlayerCc%3A%3APlayerError%27-tp22599108p22612616.html
Re: [Playerstage-users] player/stage on Khepera III
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:47:23
The only khepera driver for player at the moment is for khepera I (not even
II). Contributions are welcome though.
2009/3/20 Antonello <economec29@...>
> No answer?
> Is someone using player on Khepera III?
> Antonello wrote:
> > recently our team bought a team composed of 4 khepera III robots.
> > I used player/stage on pioneer and amigobot robots and I found it very
> > helpful, and now we are thinking to use player/stage also on Khepera III.
> > Does anyone know if this is a good choice, or player/stage on Khepera III
> > has never been deeply tested?
> > What about the support for logitech usb camera ans v4l driver?
> http://www.nabble.com/player-stage-on-Khepera-III-tp20869696p22598453.html
Re: [Playerstage-users] No IrInterface
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:45:54
IR is currently not implemented. It would be reasonably simple to implement
it based on the sonar models, please submit a patch if you do.
2009/3/18 Serge Stinckwich <serge.stinckwich@...>
> we are using Stage 2.1.1. There is a SonarInterface but i found no
> IrInterface ...
> Do you have any explanations about that ?
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:45:04
The problem here is in p_wifi.cc in stage. This only copies the mac address
information into the wifi structure
pdata.links_count = sdata->neighbours->len;
pdata.links = new player_wifi_link_t[pdata.links_count];
assert(pdata.links);
memset(pdata.links,0,sizeof(player_wifi_link_t)*pdata.links_count);
for(guint i=0;i<sdata->neighbours->len;i++)
stg_wifi_sample_t samp = g_array_index(sdata->neighbours,
stg_wifi_sample_t, i);
memcpy(pdata.links[i].mac,samp.mac,sizeof(pdata.links[i].mac));
pdata.links[i].mac_count = sizeof(pdata.links[i].mac);
//printf("%f\n", samp.db);
this->driver->Publish(this->addr,
You would need to update this method in order to see the rest of the data on
the client side. If you do fix this please submit a patch to the tracker.
2009/3/17 Serge Stinckwich <serge.stinckwich@...>
> i'm still trying to investigate my problem with Wifi models in stage ...
> I'm using Stage 2.1.1 & Player 2.1.2 under Mac OS X. I'm using the
> "simple" wifi model under stage.
> When i print the various values of links in model_wifi.cc file,
> everything is ok. For example, i got the default freq 2450 value.
> But on the other side, in my player client program, all the value are
> zeroed except the mac adress.
> Something happens during the transmission of wifi informations between
> the simulation engine and the client ...
> The following program always print 0 for signal quality and freq :
>  using namespace PlayerCc;
>  PlayerClient    robot("localhost");
>  Position2dProxy pp(&robot,0);
>  WiFiProxy       wp(&robot,0);
>  for (int j=0; j<1000; j++) {
>    robot.Read();
>    std::cout << wp << std::endl;
>    for (int i=0; i<wp.GetLinkCount(); i++) {
>      std::cout << "Signal Quality = " << wp.GetLinkQuality(i) <<std::endl;
>      std::cout << "Signal Freq = " << wp.GetLinkFreq(i) << std::endl;
>      std::cout << "IP = " << wp.GetLinkIP(i) << std::endl;
Re: [Playerstage-users] stage 2.1.1 - Different robot/sensor sample time
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 19:37:33
Sorry for the late response, there is no built in mechanism for this that I
am aware of. It probably wouldnt be too hard to modify the stage update
cycle to skip some drivers based on a world file parameter, but
modifications would be needed.
2009/2/24 Lars Valdemar Mogensen <larsvmogensen@...>
> I am using Stage as the new simulation device for our robot control
> at the Technical University of Denmark. It is used in most of our courses,
> it typically means 5 to 10 instances of "libstage" being executed at the
> time on your main server. We use the 2.1.1 tar-ball from sourceforge. My
> problem is that when I simulate a laserscanner on the robot, the
> drops drastically (from x10 to x1.4). Running multiple instances the
> performance is x0.05 to x0.1 which is not very satisfactory.
> As I understand it the robot HW and sensors are all synchronous now - is
> correct? I have was wondering if I can subsample the sensors (e.g.
> laserscanner)
> and in that way inhance performance. The robot HW loop runs
> 100Hz and the laserscanner 10Hz (other sensors 6Hz), that would lower the
> computation time in most simulator updates.
> Not only would it improve performance, it would also make the
> simulations resemble the real world better.
> Is it possible to improve the performance in other ways, if I do not want
> lower the accuracy?
> Lars Mogensen
Re: [Playerstage-users] Change sonar poses
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 18:20:32
those values are the x and y location of the center of the sonar and the
orientation of it. Playerv will display the geometries graphically.
2009/3/25 anterma <anterma@...>
> I'm using Player 2.0.5 and Erratic driver.
> I want to try with a new layout of sonars. I know that I have to change
> robot_params.cc of erratic. But I don't know how I have to calculate my new
> sonar poses.
> Can someone help me? Where can I see an explanatory draw o something?
> // sonar poses, in m and rads
>                { 0.180, 0.120,  DTOR(90) },
>                { 0.200, 0.100,  DTOR(53) },
>                { 0.205, 0.065,  DTOR(24) },
>                { 0.210, 0.045,  DTOR(0) },
>                { 0.210, -0.045, DTOR(0) },
>                { 0.205, -0.065, DTOR(-24) },
>                { 0.200, -0.100, DTOR(-53) },
>                { 0.180, -0.120, DTOR(-90) },
> Anterma
> http://www.nabble.com/Change-sonar-poses-tp22683910p22683910.html
Re: [Playerstage-users] compile with player-2.1.X
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 18:13:52
It looks like player 2.0 has not been completely uninstalled. at the very
least it looks like th eplayer 2.0 pkg config files are still on your
2009/3/24 anterma <anterma@...>
> First I've installed player 2.0.5, this is the result for pkg-config
> --cflags playerc++:
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/player-2.0
> Then I've uninstalled player 2.05 and I've installed player 2.1.2, this is
> the result for pkg-config --cflags playerc++:
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include/player-2.1
> -I/usr/include/player-2.0
> I've explain my error in:
> http://www.nabble.com/Compiling-c%2B%2B-td22663736.html
> Toby Collett-3 wrote:
> > what specific errors are you getting? It could be your code depends on a
> > library that player used to depend on, but no longer does so it is
> > from your build line now.
> > Try comparing the output of pkg-config --cflags playerc++ from player 2.0
> > and 2.1
> > 2009/3/24 anterma <anterma@...>
> >> I've noticed that my usual compile line for programs in c++ with
> >> player-2.0.X
> >> (gcc `pkg-config --cflags playerc++`  `pkg-config --libs playerc++`
> -lgsl
> >> -lgslcblas -lm -o p p.cc) doesn't work with player-2.1.X
> >> Anterma
> http://www.nabble.com/compile-with-player-2.1.X-tp22666589p22666589.html
> >> Sent from the playerstage-users mailing list archive at Nabble.com.
> >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> >> easily build your RIAs with Flex Builder, the Eclipse(TM)based
> >> development
> >> software that enables intelligent coding and step-through debugging.
> >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> > easily build your RIAs with Flex Builder, the Eclipse(TM)based
> > software that enables intelligent coding and step-through debugging.
> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> > Playerstage-users@...
> http://www.nabble.com/compile-with-player-2.1.X-tp22666589p22676197.html
Re: [Playerstage-users] Shutting opaque driver down when running client program using OpaqueProxy
From: Toby Collett <tcollett+player@pl...> - 2009-03-24 18:10:40
each client proxy has a frash flag which is set true if that proxy gets data
in a read call. With the c++ client these can be accessed using IsFresh()
and NotFresh() members of the Proxy class.
See documentation on this page
http://playerstage.sourceforge.net/doc/Player-2.1.0/player/classPlayerCc_1_1ClientProxy.html
2009/3/24 Rebble <hyy19880511@...>
> Dear Toby;
>  Sorry to reply so late. I don't know how to add the fresh flag, as i
> searched in the forum, it will be true whenever read() is called, and may
> set to false by user. So it is associated with the reas() function and i
> don't need to define a variable called "fresh", isn't it? But when i use
> cout <<fresh<<endl; after read(); to see if the read() is successful, it
> says that the 'fresh' hasn't be declared here. Why?How should i do to use
> fresh flag?
>           Rebble
> two things to I notice straight away, if you are planning on displaying the
> data using cout/printf dont forget to send a null byte on the end.
> The second thing is that read does not guarantee data for every proxy, you
> should set the fresh flag to false and then loop over read until fresh is
> true meaning data has arrived for the proxy.
> 2009/3/23 Rebble <hyy19880511@...>
> http://www.nabble.com/Shutting-opaque-driver-down-when-running-client-program-using-OpaqueProxy-tp22655054p22675610.html
From: Damiano Vittor <ominobufo81@gm...> - 2009-03-24 16:43:58
Hi thanks for you help.
When I compile libtools no .pc files are creater, I've created a new one
manually and added to PKG_CONFIG_PATH the right path.. "pkg-config
--cflags libtool" etc returns me now the right values for includes.
Sadly the problem remains.
Some other clues?
Paul Osmialowski ha scritto:
> On Mon, 23 Mar 2009, Brian Gerkey wrote:
>> On Mar 23, 2009, at 8:12 AM, Damiano Vittor wrote:
>> Note that pkg-config is not cross-compilation-aware.  It will happily
>> find packages on the build system that are out outside of the host
>> system's toolchain.  I've found that it's best to avoid the use of pkg-
>> config when cross-compiling.  Alternatively, you could build your own
>> pkg-config for your toolchain, and adjust your PATH so that the new
>> pkg-config gets picked up.
>> 	brian.
> This can be easily fixed by setting PKG_CONFIG_PATH shell variable, .pc
> files for libraries are taken first from location pointed that way, then
> if not found already, pkg-config looks for them in /usr/lib/pkgconfig
[Playerstage-users] Change sonar poses
From: anterma <anterma@oz...> - 2009-03-24 16:13:21
I'm using Player 2.0.5 and Erratic driver.
I want to try with a new layout of sonars. I know that I have to change
robot_params.cc of erratic. But I don't know how I have to calculate my new
sonar poses.
Can someone help me? Where can I see an explanatory draw o something?
// sonar poses, in m and rads
{ 0.180, 0.120,  DTOR(90) },
{ 0.200, 0.100,  DTOR(53) },
{ 0.205, 0.065,  DTOR(24) },
{ 0.210, 0.045,  DTOR(0) },
{ 0.210, -0.045, DTOR(0) },
{ 0.205, -0.065, DTOR(-24) },
{ 0.200, -0.100, DTOR(-53) },
{ 0.180, -0.120, DTOR(-90) },
View this message in context: http://www.nabble.com/Change-sonar-poses-tp22683910p22683910.html
Re: [Playerstage-users] Extracting the way points from plannerproxy
From: Rojas Andres <and_ma@ho...> - 2009-03-24 14:55:27
I going to  answer my self ,  the problem is that when the requested points are asked, there are written in the proxy.  So the points  has to be demanded each time right after of intending to acces the way point array, because the data that is written in the proxy change dinamically.
From: and_ma@...
Date: Tue, 24 Mar 2009 10:15:08 +0000
Subject: [Playerstage-users] Extracting the way points from plannerproxy
I am trying to extract the way points calculated with the client plannerproxy that uses my robot.  This class implements the wavefrom algorithm and it is of my deep interest to know the intermidiate points  that this algorithms find to carry out the deplacement of the robot.
I would briefly explain what I have done:
1. set the new goal pose with the method of the class  => SetGoalPose()
2. request the way points       =>RequestWayPoints()
3. get the number of way points    => GetWaypointCount()
4. I try to print out the way points by console using the method  => GetWaypoint(index)
where the argument index is   :  0 <=  index < GetWaypoint Count.
When I try to do the step for my client program stops with this error  "SEGMENTATION FAULT"
Can anyone give me a hint of the error and of the posible way to know the way points before the deplacement ?
If anyone looks at the playernav tool,  it is posible to see that the playernav knows the way points before doing the deplacement and it shows it graphicaly.
All your Twitter and other social updates in one place
Re: [Playerstage-users] Compiling c++
From: Patrick Beeson <pbeeson@cs...> - 2009-03-24 14:27:26
Your simple sample program compiles for me.  I'm wondering if in
compiling Player, it isn't complaining about something missing.  Can you
rerun ./configure and look at the last several dozen lines to see if its
complaining about something.  Specifically, my pkg-config libs contain a
libplayererror, which yours doesn't.  Why?
pbeeson@...:~/test$ pkg-config --libs playerc++
-L/p/player-2.1.2/lib -lplayerc++ -lboost_signals -lboost_thread
-lplayerc -lm -lplayerxdr -lplayererror
anterma wrote:
> I've make uninstall to remove player 2.1.2 and player 2.0.4 froma my system,
> then I've make install player 2.1.2 and now when I try to compile ( gcc -o p
> `pkg-config --cflags playerc++` p.cc `pkg-config --libs playerc++) a simple
> program in c++ (p.cc) I show a lot of errors in
> /usr/local/include/player-2.1/libplayerxdr/playerxdr.h
> Patrick the result of pkg-config --libs playerc++ is:
> -L/usr/local/lib -lplayerc++ -lboost_signals -lboost_thread -lplayerc -lm
> -lplayerxdr
> Patrick Beeson-2 wrote:
>> What's the result of your 'pkg-config --libs playerc++' ?
>> anterma wrote:
>>> I'm trying to compile that simple program:
>>> using namespace PlayerCc;
>>> 	int op =0;
>>> I'm using that compile line:
>>> g++ `pkg-config --cflags playerc++`  `pkg-config --libs playerc++` -lgsl
>>> -lgslcblas -lm -o example example.cc
>>> And this is the return of the compiling:
>>> /usr/local/lib/libplayerc.so: undefined reference to `ErrorPrint'
>>> /usr/local/lib/libplayerc.so: undefined reference to `playerxdr_get_func'
>>> I need help, pease.
>>> Anterma
>> Patrick Beeson
>> http://www.cs.utexas.edu/~pbeeson
Re: [Playerstage-users] how two robots interact in P/S?
From: Rebble <hyy19880511@16...> - 2009-03-24 13:06:55
Dear yang:
your suggestion is right. But when i use gdb,it comes the error:
#0  main (argc=Cannot access memory at address 0x0
Hi Rebble,
I do not use opaque proxy before...
However, in my view, the warning message
>  skipping subscription to unknown device
> opaque:0
indicates that your declaration is  not valid.  The example format
>   name "opaquedriver"
>   plugin "libopaquedriver"
I do not think the name "relay" is a valid one since that the driver
name should be one in the list of the libplayerdrivers:
http://playerstage.sourceforge.net/doc/Player-2.1.0/player/group__drivers.html
{for example, if your robot is iRobot Create Vacuum robot, you can use
opaque under the "create" driver:
>   name "create"
>   provides ["position2d:0" "power:0" "bumper:0" "ir:0" "opaque:0"]
>   port "/dev/ttyS2"
Moreover, if you are using stage, the opaque interface is not in the
list of supported plugins:
http://playerstage.sourceforge.net/doc/stage-3.0.1/group__player.html
Maybe it is the reason that player can not recognize the Opaque proxy
View this message in context: http://www.nabble.com/how-two-robots-interact-in-P-S--tp22397315p22680000.html
[Playerstage-users] Extracting the way points from plannerproxy
From: Rojas Andres <and_ma@ho...> - 2009-03-24 10:15:11
From: anterma <anterma@oz...> - 2009-03-24 08:51:45
First I've installed player 2.0.5, this is the result for pkg-config
--cflags playerc++:
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/player-2.0
Then I've uninstalled player 2.05 and I've installed player 2.1.2, this is
the result for pkg-config --cflags playerc++:
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include/player-2.1
I've explain my error in:
http://www.nabble.com/Compiling-c%2B%2B-td22663736.html
Toby Collett-3 wrote:
> what specific errors are you getting? It could be your code depends on a
> library that player used to depend on, but no longer does so it is missing
> from your build line now.
> Try comparing the output of pkg-config --cflags playerc++ from player 2.0
> 2009/3/24 anterma <anterma@...>
>> I've noticed that my usual compile line for programs in c++ with
>> player-2.0.X
>> (gcc `pkg-config --cflags playerc++`  `pkg-config --libs playerc++` -lgsl
>> -lgslcblas -lm -o p p.cc) doesn't work with player-2.1.X
>> Anterma
>> http://www.nabble.com/compile-with-player-2.1.X-tp22666589p22666589.html
>> Sent from the playerstage-users mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/compile-with-player-2.1.X-tp22666589p22676197.html
From: Rebble <hyy19880511@16...> - 2009-03-24 07:59:21
Dear Toby;
Sorry to reply so late. I don't know how to add the fresh flag, as i
searched in the forum, it will be true whenever read() is called, and may be
set to false by user. So it is associated with the reas() function and i
don't need to define a variable called "fresh", isn't it? But when i use
cout <<fresh<<endl; after read(); to see if the read() is successful, it
says that the 'fresh' hasn't be declared here. Why?How should i do to use
fresh flag?
two things to I notice straight away, if you are planning on displaying the
data using cout/printf dont forget to send a null byte on the end.
The second thing is that read does not guarantee data for every proxy, you
should set the fresh flag to false and then loop over read until fresh is
true meaning data has arrived for the proxy.
2009/3/23 Rebble <hyy19880511@...>
View this message in context: http://www.nabble.com/Shutting-opaque-driver-down-when-running-client-program-using-OpaqueProxy-tp22655054p22675610.html

value: This website is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirroring of downloads for load balancing, a wiki for documentation, developer and user mailing lists, user-support forums, user-written reviews and ratings, a news bulletin, micro-blog for publishing project updates, and other features.


text:
Bilingual English Russian Medical Alert Care Representative Salary in Franklin, OH | Indeed.com
Bilingual English Russian Medical Alert Care Representative Salary in Franklin, OH
Bilingual English Russian Medical Alert Care Representative in Franklin, OH
$21,000 Average Bilingual English Russian Medical Alert Care Representative salaries for job postings in Franklin, OH are 1% higher than average Bilingual English Russian Medical Alert Care Representative salaries for job postings nationwide.
Bilingual English Russian Medical Alert Care Representative in Franklin, OH $21,000

Bilingual English Russian Medical Alert Care Representative in Franklin, OH $21,000

View Larger Salary Graph

value: This website is an American worldwide employment website for job listings launched in November 2004. It is a subsidiary of Japan's Recruit Co.


text:
The Presidio: 2018 Room Prices from $159, Deals & Reviews | Expedia
The Presidio, Santa Barbara The Presidio, Santa Barbara, current page
Map State Street Santa Barbara CA 1-866-599-6674
Beautiful Sunset In Santa barbara😍🌗
😍😍 Santa Barbara (Spanish for "Saint Barbara") is the county seat of Santa Barbara County in the U.S. state of California. Situated on a south-facing section of coastline, the longest such section on the West Coast of the United States, the city lies between the steeply rising Santa Ynez Mountains and the Pacific Ocean. Santa Barbara's climate is often described as Mediterranean, and the city has been promoted as the "American Riviera".[11] As of 2014, the city had an estimated population of 91,196,[9] up from 88,410 in 2010, making it the second most populous city in the county after Santa Maria[12] while the contiguous urban area, which includes the cities of Goleta and Carpinteria, along with the unincorporated regions of Isla Vista, Montecito, Mission Canyon, Hope Ranch, Summerland, and others, has an approximate population of 220,000. The population of the entire county in 2010 was 423,895.[13
Sunset Santa Barbara tonight, Aug 30, 2017.
I found this beautiful tile work while wandering the streets of #SantaBarbara #Patterns
#kidsfun come to the skatepark here in Cali to bad I can't skate lol looks fun though.
Giant fig tree by the train station in Santa Barbara.
Shoreline Park was the best place we found to view Santa Barbara Harbor. Don't leave Santa Barbara without getting this type of view of the so-called American Riviera!
Stearns Wharf is located in the harbor in Santa Barbara, California, United States. When completed In 1872, it became the longest deep-water Wharf between San Pedro and San Francisco. Named for its builder, local lumberman John P. Stearns, the wharf served the passenger and freight shipping needs of California’s South Coast for over a quarter century. There are seventeen businesses on the Wharf: Three full service restaurants, a shellfish restaurant/market, a bait and tackle shop, an old fashioned candy store, wine tasting, a toy store, a shell shop, an ice cream parlor, a palm reader, a general store with clothing/souvenirs, and a marine museum with an interactive marine education facility. There is plenty to do, eat, and enjoy on the wharf all year long!
Chewbacca mask worn by Peter Mayhew in Star Wars. Enjoy Mark
Historic mission with a beautiful view from the Pacific
Oyster Rockefeller! #delicious
Every Friday 10-2 Pm #foodtime
Founded on December 4, 1786, the mission is the namesake of the city of Santa Barbara as well as of Santa Barbara County. The grounds occupy a rise between the Pacific Ocean and the Santa Ynez Mountains granting beautiful views in all directions. Mission Santa Barbara is the only mission to remain under the leadership of the Franciscan Friars since its founding, Relax on the lawn, take a tour of the inside and even explore the rose gardens on a warm summer day, #SantaBarbara #California #lifeatexpedia #StunningStructures
Alameda Park in Santa Barbara is the location for many city-wide celebrations like Summer Solstice and is one of the city's oldest parks. Occupying two blocks in the heart of downtown, it is home to a gazebo as well as the 8,000-square-foot Kids World playground and many rare trees. This view is looking southwest at Our Lady of Sorrows Roman Catholic Church across Anacapa Street, one of the oldest churches in California, dating back to 1782. #SantaBarbara #California #lifeatexpedia
Enjoy a taste of locally made wine at the Deep Sea Tasting Room on Stearns Wharf, Santa Barbara's Pier and the city's most visited landmark. #SantaBarbara #California #lifeatexpedia #wine #winetasting
Louisiana bread pudding souffle
A marshland next to a public beach. Situated about 100 miles north of Los Angeles, Santa Barbara, is being promoted as the "American Riviera" due to her Mediterranean-like climate.
What a great view for dinnet
Santa Barbara , my new fav in California . I was awed by the beauty of this particular secluded beach along the shoreline park . If you get a chance go spend some time at this place , there were hardly a couple of people here and it was sunset time and I enjoyed walking along the shoreline barefeet as the water gushing into Ur feet , what an experience. #santabarbara #hiking #secludedbeaches #beaches #weekendgetaway #pebbles #biking #sand #iphone6 #sunset #colors #peacheout #waterlust #discovery #mustdolist
The Marina at Santa Barbara #TroveOn #StunningStructures #FindingtheUniverse
Not a long drive from LA , good for a nice day getaway
Went sailing with some friends in Santa Barbara and stayed to watch the sunset. Took the scenic route on Pacific Coast Highway (PCH) - highly recommended if you're traveling in CA for the first time. #CALIfinds
Stearns Wharf has great restaurants & view.
Still don't know what to call this massive rock on Hendry's Beach. I've heard it called Proposal Rock before, but I'm not sure that's official! This is located a little north up the coast from Hendry's Beach and can make for some cool photos. #California #beach #beachbound #SantaBarbara #lifeatexpedia
Sunset #AquaTrove
You have to try these chocolates when you visit Santa Barbara.
Lots of history and beautiful gardens at the Mission. This isn't a whole day activity. We got up early and were back to the hotel before the rest of the family woke up!
Beautiful inside and outside view from church, one of 21 of Spanish churches on mission trail worth a stop. Follow mission bells on El Camino Real to see all of them. #WeekendGetaway #Architecture. #roadtrip #Colorful #StunningStructures #InStone
Stearn's Wharf in Santa Barbara has plenty of fun activities and shops for the young and the young at heart. Loved watching the morning fog over the ocean. #Blue
#settingsun #calmwaters #ombre #BeachBound
#sunsetview #clouds #serene #BeachBound
The West Beach area of the Santa Barbara waterfront has a lot of offer, but the beach itself is best for volleyball, kayaking, and boating. Because it’s so close to the harbor, swimming is not advised from the beach. Look for parking along Cabrillo Blvd, in the lot just east of the pier at Garden Street, or even on the pier. Laying in the sand, look back for a gorgeous view of the mountains over the red tile roof buildings. #SantaBarbara #California #beach #beachbound #lifeatexpedia
One of Santa Barbara's most popular parks, SHoreline Park stands on a bluff, overlooking the Pacific Ocean with views back towards west beach and the downtown waterfront. The park includes a playground, picnic area and a telescope situated next to a statue of a large concrete whale tail. Use this to spot some whales off the coast! #SantaBarbara #lifeatexpedia
It was a magic moment to see the sunset.
Perfect way to spend a sunday in Santa Barbara!
Old school theater now featuring Joe Bonamassa!
Best ice cream in Santa Barbara.
Mission Basilica de Santa Barbara. The Queen of all Mission churches. Visited 7 Basilicas on a two day road trip in Southern California last Holy Week.
#lafiesta #spanishfestival #streetfair #confetti #decoration #fun #streetfood #culture
Beautiful area to rent a house or cottage. Lots of pretty beaches, stores and restaurants with pretty people. #BeachBound #heart #californiacoastline #love
If there's one thing you do on your visit to Santa Barbara, you need to visit the top deck of the County Courthouse. This picture is only a section of the 360 degree views you'll experience of the entire city. The grounds also contain a collection of palms and specimen trees from more than 25 countries. #SantaBarbara #California #lifeatexpedia
Santa Barbara is very quaint! It is amazing to walk along the beach and the streets. This town is more than beautiful.
It is snowing in California!
Fountain in the old city
Strearns Wharf
When adventuring to the end of the wharf we found this.
Statue of Father Junipero Serra and an El Camino Real road market, outside the Mission.
View from Santa Barbara County Courthouse
We stopped here for a wine tasting.
The falling sun created a beautiful glow behind these palm trees
Stearns Wharf at sunset in Santa Barbara, California. #SantaBarbara #California #sunset #lifeatexpedia
2017 Spring stroll in Santa Barbara, CA
Sant Barbara. USA
Pretty awesome GIANT tree in Santa Barbara. The figs are flattened into the pavement and there is fig dust everywhere as well as the smell of sweet figs. Definitely stop by if you're in the area. You can see my mom very small in the right corner of this pic.
E Cabrillo Blvd is a perfect place for a long walk to break up the drive from LA to the Bay Area. Always perfect weather too! This was taken in late November.
View of the Pacific Ocean from the top of the Santa Barbara courthouse.
A gorgeous little coffee shop on a little hill that used to be a Shell station.
Walk on the beach celebrating my parents vow renewal
Arroyo Burro Beach, also known as Hendry's Beach by locals, has a reputation as a "dog beach", and is a popular location for dog owners to walk their pets off leash, though Arroyo Burro itself is actually on-leash (the off-leash area is just east below the Wilcox Property Douglas Family Preserve). Arrive early to secure a parking spot! This is a favorite place of ours to walk in the mornings with a cup of coffee. #SantaBarbara #California #Beach #beachbound #lifeatexpedia
A beautiful downtown with wine tasting rooms.
Serenity place.
Santa Barbara. USA
Beach side walk in Santa Barbara
Perfect mix: Pacific Ocean Beautiful Mountains Wineries Factories
My goal is to visit all the missions along the California coast. Here is the old Santa Barbara Mission (1786). Highly recommend the tour! $9 for adults.
2011 Spring Break trip to Santa Barbara.
Get an overview of this hotelMotel with free parking, walk to Santa Barbara Museum of Art
Situated in Santa Barbara, this motel is within a 10-minute walk of Santa Barbara Symphony Orchestra and Santa Barbara Museum of Art. Santa Barbara County Courthouse and Presidio Santa Barbara are also within 1 mi (2 km).
Along with free use of bicycles, this motel has free self parking and free WiFi in public areas.
All 16 rooms offer free WiFi, iPod docks, and LED TVs with cable channels. Hair dryers, desks, and free toiletries are among the other amenities that guests will find.
1620 State Street Santa Barbara CA 93101
Motel Presidio
ABQ LCH
BHB PWM
EIN BRS
SAL SMF
Vejle Tickets
Sir Albert Hotel Amsterdam Flevoland
Pet Friendly Hotels Hondo

value: This website is an online travel agency owned by Expedia Group, an American online travel shopping company based in Seattle.


text:
Jitendra Deshpande on Scribd
Published by People FollowedEh So 19oct SynopsisSudhir GoelPeriodic TableVishal BorikarReport this userHelp us keep Scribd spam free.Thank you for reporting this user.Block this userChoose who you interact with on Scribd.Unblock this user
Jitendra DeshpandeUploads0Readcasts0Reads0Followers32Following32Recent ActivityLOAD MOREENDRecent ActivityAboutAbout ScribdTeamBlogJoin our team!Contact UsPremiumPremium ReaderScribd StoreAdvertise with usGet startedAdChoicesSupportHelpFAQPressPartnersDevelopers / APILegalTermsPrivacyCopyright© Copyright 2013 Scribd Inc.Language:Choose the language in which you want to experience Scribd:English中文EspañolالعربيةPortuguês日本語DeutschFrançaisTurkceРусский языкTiếng việtJęzyk polskiBahasa indonesiaUse your Facebook login and see what your friends are reading and sharing.Other login optionsLogin with FacebookSign up without Facebookemail address (required)create username (required)password (required)

value: This website is an American e-book and audiobook subscription service that includes one million titles.


text:
Books is action packed scary
This book will put you on edge of your mind thinking what’s going to happen next. Could it be possible as so many love pork. Makes you wonder if something a cultural would do to erase humanity, probably yes as the world is full of hate. Zombies probably not same goes for the water. People are gullible. Story tells you we were fooled. Great book onto the next.

value: This website is an American online audiobook and podcast service that allows users to purchase and stream audiobooks and other forms of spoken word content. This content can be purchased individually or under a subscription model where the user receives "credits" that can be redeemed for content monthly and receive access to a curated on-demand library of content.