|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Movement commands through 4diac [message #1774846 is a reply to message #1774760] |
Fri, 20 October 2017 09:35   |
Eclipse User |
|
|
|
This is giving me a headache... So I tried to do exactly as you described, but that changed nothing. Then I tried to change the main() like this
int main(int argc, char *arg[]){
checkEndianess();
std::string rosdistro = "indigo";
if (rosdistro == (std::string)std::getenv("ROS_DISTRO")){
DEVLOG_INFO("path to forte.exe: %s \n", arg[0]);
ros::init(argc, arg, "ROS_Functionblocks_in_FORTE");
}
if(argc <= 1){ //! Default Value (localhost:61499)
createDev("localhost:61499");
}
but i got an error
"terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid"
and then I tried to just skip the if statement, because I really have ros indigo installed, but I got this error
"INFO: T#notime: path to forte.exe: /home/sofia/org.eclipse.4diac.forte/bin/posix/src/forte
[31m [1508502037.873067018]: ROS_MASTER_URI is not defined in the environment. Either type the following or (preferrably) add this to your ~/.bashrc file in order set up your local machine as a ROS master:
export ROS_MASTER_URI=http://localhost:11311
then, type 'roscore' in another shell to actually launch the master program.[0m"
even though I have edited my ~/.bashrc file, as I should have.
So now, after I red every similar error that was ever posted on the internet, I will try to install ros, gazebo etc to another computer to see if there is something wrong with my installation. Thank you for your help.
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08608 seconds