|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Movement commands through 4diac [message #1774227 is a reply to message #1774215] |
Wed, 11 October 2017 20:12 |
|
have you tried to use 4diac's monitoring feature to see the interface values? If you get the bind error messages as shown in above it means that there is already a forte running. Here it would be good to check that no other forte instance is running in the background.
|
|
|
|
|
|
|
|
|
|
|
Re: Movement commands through 4diac [message #1774846 is a reply to message #1774760] |
Fri, 20 October 2017 13:35 |
Sofia Syrianidou Messages: 22 Registered: August 2017 |
Junior Member |
|
|
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.
|
|
|
Re: Movement commands through 4diac [message #1775036 is a reply to message #1774846] |
Mon, 23 October 2017 21:26 |
Sofia Syrianidou Messages: 22 Registered: August 2017 |
Junior Member |
|
|
I did a full format on my pc, installed every package I could remember, my ros model is moving on Gazebo simulation. 4diac is ok, but I can't build forte. I get the error
"reapp_msgs/ExecuteAction.h: No such file or directory"
Did I forget to install something?
EDIT: I had forgotten to install ros-indigo-reapp-msgs
[Updated on: Tue, 24 October 2017 08:23] Report message to a moderator
|
|
|
|
|
Re: Movement commands through 4diac [message #1775159 is a reply to message #1775156] |
Wed, 25 October 2017 13:47 |
Ben Schneider Messages: 25 Registered: February 2017 |
Junior Member |
|
|
Hi,
you might be able to solve this issue
Quote: 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 ...
by sourcing your ROS workspace.
Can you show me your .bashrc file?
What does
show?
You can also remove the "ifs" that check the ROS distro and the OS version in forte's main.
Regards,
Ben
[Updated on: Wed, 25 October 2017 13:57] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10104 seconds